Searched refs:num_args (Results 1 - 25 of 55) sorted by relevance

123

/PHP-7.3/Zend/
H A Dzend_execute.h175 static zend_always_inline void zend_vm_init_call_frame(zend_execute_data *call, uint32_t call_info, zend_function *func, uint32_t num_args, zend_class_entry *called_scope, zend_object *object) argument
185 ZEND_CALL_NUM_ARGS(call) = num_args;
188 static zend_always_inline zend_execute_data *zend_vm_stack_push_call_frame_ex(uint32_t used_stack, uint32_t call_info, zend_function *func, uint32_t num_args, zend_class_entry *called_scope, zend_object *object) argument
197 zend_vm_init_call_frame(call, call_info | ZEND_CALL_ALLOCATED, func, num_args, called_scope, object);
201 zend_vm_init_call_frame(call, call_info, func, num_args, called_scope, object);
206 static zend_always_inline uint32_t zend_vm_calc_used_stack(uint32_t num_args, zend_function *func) argument
208 uint32_t used_stack = ZEND_CALL_FRAME_SLOT + num_args;
211 used_stack += func->op_array.last_var + func->op_array.T - MIN(func->op_array.num_args, num_args);
216 static zend_always_inline zend_execute_data *zend_vm_stack_push_call_frame(uint32_t call_info, zend_function *func, uint32_t num_args, zend_class_entr argument
251 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); local
[all...]
H A Dzend_llist.h31 typedef void (*llist_apply_with_args_func_t)(void *data, int num_args, va_list args);
59 ZEND_API void zend_llist_apply_with_arguments(zend_llist *l, llist_apply_with_args_func_t func, int num_args, ...);
H A Dzend_API.c174 int num_args = ZEND_CALL_NUM_ARGS(EG(current_execute_data)); local
187 num_args);
194 int num_args = ZEND_CALL_NUM_ARGS(EG(current_execute_data)); local
207 num_args);
214 int num_args = ZEND_CALL_NUM_ARGS(EG(current_execute_data)); local
224 min_num_args == max_num_args ? "exactly" : num_args < min_num_args ? "at least" : "at most",
225 num_args < min_num_args ? min_num_args : max_num_args,
226 (num_args < min_num_args ? min_num_args : max_num_args) == 1 ? "" : "s",
227 num_args);
233 int num_args local
869 zend_parse_va_args(int num_args, const char *type_spec, va_list *va, int flags) argument
1006 zend_parse_parameters_ex(int flags, int num_args, const char *type_spec, ...) argument
1019 zend_parse_parameters(int num_args, const char *type_spec, ...) argument
1033 zend_parse_parameters_throw(int num_args, const char *type_spec, ...) argument
1047 zend_parse_method_parameters(int num_args, zval *this_ptr, const char *type_spec, ...) argument
1087 zend_parse_method_parameters_ex(int flags, int num_args, zval *this_ptr, const char *type_spec, ...) argument
2308 uint32_t num_args = reg_function->common.num_args + 1; local
[all...]
H A Dzend_opcode.c68 op_array->num_args = 0;
121 uint32_t num_args = function->common.num_args + 1; local
125 num_args++;
127 for (i = 0 ; i < num_args; i++) {
401 uint32_t num_args = op_array->num_args; local
406 num_args++;
409 num_args++;
411 for (i = 0 ; i < num_args;
[all...]
H A Dzend_llist.c239 ZEND_API void zend_llist_apply_with_arguments(zend_llist *l, llist_apply_with_args_func_t func, int num_args, ...) argument
244 va_start(args, num_args);
246 func(element->data, num_args, args);
H A Dzend_ts_hash.c171 ZEND_API void zend_ts_hash_apply_with_arguments(TsHashTable *ht, apply_func_args_t apply_func, int num_args, ...) argument
175 va_start(args, num_args);
177 zend_hash_apply_with_arguments(TS_HASH(ht), apply_func, num_args, args); local
H A Dzend_extensions.c230 static void zend_extension_message_dispatcher(const zend_extension *extension, int num_args, va_list args) argument
235 if (!extension->message_handler || num_args!=2) {
H A Dzend_inheritance.c281 uint32_t i, num_args; local
307 || proto->common.num_args > fe->common.num_args) {
326 num_args = proto->common.num_args;
328 num_args++;
329 if (fe->common.num_args >= proto->common.num_args) {
330 num_args = fe->common.num_args;
455 uint32_t i, num_args, required; local
[all...]
H A Dzend_compile.h399 uint32_t num_args; member in struct:_zend_op_array
447 uint32_t num_args; member in struct:_zend_internal_function
470 uint32_t num_args; member in struct:_zend_function::__anon16
491 zval This; /* this + call_info + num_args */
546 (call)->This.u2.num_args
926 if (UNEXPECTED(arg_num >= zf->common.num_args)) {
930 arg_num = zf->common.num_args;
H A Dzend_closures.c527 (closure->func.common.num_args ||
529 uint32_t i, num_args, required = closure->func.common.required_num_args; local
533 num_args = closure->func.common.num_args;
535 num_args++;
537 for (i = 0; i < num_args; i++) {
H A Dzend_execute.c126 0, /* num_args */
949 if (EXPECTED(arg_num <= zf->common.num_args)) {
952 cur_arg_info = &zf->common.arg_info[zf->common.num_args];
969 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); local
973 for (i = 0; i < num_args; ++i) {
997 EX(func)->common.required_num_args == EX(func)->common.num_args ? "exactly" : "at least",
1005 EX(func)->common.required_num_args == EX(func)->common.num_args ? "exactly" : "at least",
2402 * | VAR[op_array->num_args-1] = ARG[N] |
2416 uint32_t first_extra_arg = op_array->num_args;
2417 uint32_t num_args local
2474 uint32_t first_extra_arg, num_args; local
2922 zend_init_dynamic_call_string(zend_string *function, uint32_t num_args) argument
3000 zend_init_dynamic_call_object(zval *function, uint32_t num_args) argument
3035 zend_init_dynamic_call_array(zend_array *function, uint32_t num_args) argument
[all...]
/PHP-7.3/ext/opcache/Optimizer/
H A Dzend_call_graph.h44 int num_args; member in struct:_zend_call_info
55 int num_args; /* (-1 - unknown) */ member in struct:_zend_func_info
H A Doptimize_func_calls.c99 && func->op_array.opcodes[func->op_array.num_args].opcode == ZEND_RETURN) {
101 zend_op *ret_opline = func->op_array.opcodes + func->op_array.num_args;
104 uint32_t i, num_args = func->op_array.num_args; local
105 num_args += (func->op_array.fn_flags & ZEND_ACC_VARIADIC) != 0;
114 for (i = 0; i < num_args; i++) {
122 if (fcall->extended_value < func->op_array.num_args) {
131 } while (i < func->op_array.num_args);
H A Dzend_call_graph.c47 func_info->num_args = -1;
107 call_info->num_args = opline->extended_value;
171 call_info->num_args = -1;
290 for (i = 0; i < call->num_args; i++) {
H A Dsccp.c753 zval *result, zend_string *name, uint32_t num_args, zval **args) {
759 if (num_args == 0) {
769 } else if (num_args == 1) {
856 } else if (num_args == 2) {
909 for (i = 0; i < num_args; i++) {
959 } else if (num_args == 3) {
974 for (i = 0; i < num_args; i++) {
1008 execute_data = safe_emalloc(num_args, sizeof(zval), ZEND_CALL_FRAME_SLOT * sizeof(zval));
1014 EX_NUM_ARGS() = num_args;
1015 for (i = 0; i < num_args;
752 ct_eval_func_call( zval *result, zend_string *name, uint32_t num_args, zval **args) argument
[all...]
H A Ddce.c464 && ssa->vars[ssa_op->op1_def].var < op_array->num_args) {
468 && ssa->vars[ssa_op->op2_def].var < op_array->num_args) {
472 && ssa->vars[ssa_op->result_def].var < op_array->num_args) {
H A Dzend_dump.c895 op_array->num_args);
896 if (func_info && func_info->num_args >= 0) {
897 fprintf(stderr, "/%d", func_info->num_args);
953 if (func_info && func_info->num_args > 0) {
956 for (j = 0; j < MIN(op_array->num_args, func_info->num_args ); j++) {
/PHP-7.3/ext/opcache/
H A Dzend_persist_calc.c204 uint32_t num_args = op_array->num_args; local
207 num_args = op_array->num_args;
209 num_args++;
213 num_args++;
215 ADD_DUP_SIZE(arg_info, sizeof(zend_arg_info) * num_args);
216 for (i = 0; i < num_args; i++) {
H A Dzend_persist.c533 uint32_t num_args = op_array->num_args; local
537 num_args++;
546 num_args++;
548 zend_accel_store(arg_info, sizeof(zend_arg_info) * num_args);
549 for (i = 0; i < num_args; i++) {
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_frame.c37 if (i < func->common.num_args) {
58 uint32_t i = 0, first_extra_arg = op_array->num_args, num_args = ZEND_CALL_NUM_ARGS(ex); local
75 while (i < num_args) {
214 m = func ? func->common.num_args : 0;
/PHP-7.3/ext/interbase/
H A Dibase_events.c131 int num_args; local
143 if (zend_parse_parameters(ZEND_NUM_ARGS(), "+", &args, &num_args) == FAILURE) {
271 int num_args; local
281 if (zend_parse_parameters(ZEND_NUM_ARGS(), "+", &args, &num_args) == FAILURE) {
/PHP-7.3/ext/zend_test/
H A Dtest.c148 fptr->num_args = 1;
164 fptr->num_args = 1;
/PHP-7.3/ext/standard/
H A Dpack.c231 int num_args = 0; local
244 Z_PARAM_VARIADIC('*', argv, num_args)
292 if (currentarg >= num_args) {
343 arg = num_args - currentarg;
350 if (currentarg > num_args) {
370 if (currentarg < num_args) {
371 php_error_docref(NULL, E_WARNING, "%d arguments unused", (num_args - currentarg));
/PHP-7.3/ext/reflection/
H A Dphp_reflection.c655 uint32_t i, num_args, num_required = fptr->common.required_num_args; local
661 num_args = fptr->common.num_args;
663 num_args++;
666 smart_str_append_printf(str, "%s- Parameters [%d] {\n", indent, num_args);
667 for (i = 0; i < num_args; i++) {
864 static int _extension_ini_string(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
901 static int _extension_class_string(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
921 static int _extension_const_string(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1841 int result, num_args local
1974 uint32_t num_args; local
2006 uint32_t i, num_args; local
2271 uint32_t num_args; local
4164 _addmethod_va(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
4323 _addproperty(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
4347 _adddynproperty(zval *ptr, int num_args, va_list args, zend_hash_key *hash_key) argument
4689 int ret, i, num_args = 0; local
5722 _addconstant(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
5755 _addinientry(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
5793 add_extension_class(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) argument
[all...]
/PHP-7.3/ext/com_dotnet/
H A Dcom_handlers.c279 f.num_args = 0;
314 f.num_args = bindptr.lpfuncdesc->cParams;
406 f.num_args = 0; \

Completed in 77 milliseconds

123