Lines Matching refs:num_args

1259 	ZEND_ASSERT(arg_num <= zf->common.num_args);  in zend_verify_recv_arg_type()
1286 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); in zend_verify_internal_arg_types() local
1289 for (i = 0; i < num_args; ++i) { in zend_verify_internal_arg_types()
1291 if (EXPECTED(i < fbc->common.num_args)) { in zend_verify_internal_arg_types()
1294 cur_arg_info = &fbc->common.arg_info[fbc->common.num_args]; in zend_verify_internal_arg_types()
1324 if (fbc->common.num_args < ZEND_CALL_NUM_ARGS(call) in zend_internal_call_should_throw()
1422 EX(func)->common.required_num_args == EX(func)->common.num_args ? "exactly" : "at least", in zend_missing_arg_error()
1430 EX(func)->common.required_num_args == EX(func)->common.num_args ? "exactly" : "at least", in zend_missing_arg_error()
1594 uint8_t num_args = ZEND_FLF_NUM_ARGS(opline->opcode); in zend_frameless_observed_call() local
1598 …tack_push_call_frame_ex(zend_vm_calc_used_stack(num_args, fbc), ZEND_CALL_NESTED_FUNCTION, fbc, nu… in zend_frameless_observed_call()
1601 switch (num_args) { in zend_frameless_observed_call()
4135 uint32_t first_extra_arg = op_array->num_args; in zend_copy_extra_args()
4136 uint32_t num_args = EX_NUM_ARGS(); in zend_copy_extra_args() local
4153 src = EX_VAR_NUM(num_args - 1); in zend_copy_extra_args()
4155 count = num_args - first_extra_arg; in zend_copy_extra_args()
4193 uint32_t first_extra_arg, num_args; in i_init_func_execute_data() local
4205 first_extra_arg = op_array->num_args; in i_init_func_execute_data()
4206 num_args = EX_NUM_ARGS(); in i_init_func_execute_data()
4207 if (UNEXPECTED(num_args > first_extra_arg)) { in i_init_func_execute_data()
4214 opline += num_args; in i_init_func_execute_data()
4216 EX(opline) += num_args; in i_init_func_execute_data()
4221 zend_init_cvs(num_args, op_array->last_var EXECUTE_DATA_CC); in i_init_func_execute_data()
4407 uint32_t num_args; in zend_unfinished_calls_gc() local
4425 num_args = ZEND_CALL_NUM_ARGS(call); in zend_unfinished_calls_gc()
4444 num_args = 0; in zend_unfinished_calls_gc()
4461 num_args = opline->op2.num; in zend_unfinished_calls_gc()
4509 if (EXPECTED(num_args > 0)) { in zend_unfinished_calls_gc()
4514 } while (--num_args); in zend_unfinished_calls_gc()
4781 zval *end = zv + (EX_NUM_ARGS() - op_array->num_args); in zend_unfinished_execution_gc_ex()
4855 …end_execute_data *zend_init_dynamic_call_string(zend_string *function, uint32_t num_args) /* {{{ */ in zend_init_dynamic_call_string() argument
4931 fbc, num_args, called_scope); in zend_init_dynamic_call_string()
4935 …end_execute_data *zend_init_dynamic_call_object(zend_object *function, uint32_t num_args) /* {{{ */ in zend_init_dynamic_call_object() argument
4975 fbc, num_args, object_or_called_scope); in zend_init_dynamic_call_object()
4979 … zend_execute_data *zend_init_dynamic_call_array(zend_array *function, uint32_t num_args) /* {{{ */ in zend_init_dynamic_call_array() argument
5064 fbc, num_args, object_or_called_scope); in zend_init_dynamic_call_array()
5252 uint32_t num_args = fbc->common.num_args; in zend_get_arg_offset_by_name() local
5255 for (uint32_t i = 0; i < num_args; i++) { in zend_get_arg_offset_by_name()
5264 for (uint32_t i = 0; i < num_args; i++) { in zend_get_arg_offset_by_name()
5277 *(uintptr_t *)(cache_slot + 1) = fbc->common.num_args; in zend_get_arg_offset_by_name()
5278 return fbc->common.num_args; in zend_get_arg_offset_by_name()
5296 if (UNEXPECTED(arg_offset == fbc->common.num_args)) { in zend_handle_named_arg()
5367 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); in zend_handle_undef_args() local
5368 for (uint32_t i = 0; i < num_args; i++) { in zend_handle_undef_args()
5425 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); in zend_handle_undef_args() local
5426 for (uint32_t i = 0; i < num_args; i++) { in zend_handle_undef_args()
5476 …(uint32_t used_stack, uint32_t call_info, zend_function *func, uint32_t num_args, void *object_or_… in _zend_vm_stack_push_call_frame_ex() argument
5486 …zend_vm_init_call_frame(call, call_info | ZEND_CALL_ALLOCATED, func, num_args, object_or_called_sc… in _zend_vm_stack_push_call_frame_ex()
5490 zend_vm_init_call_frame(call, call_info, func, num_args, object_or_called_scope); in _zend_vm_stack_push_call_frame_ex()
5495 …stack_push_call_frame(uint32_t call_info, zend_function *func, uint32_t num_args, void *object_or_… in _zend_vm_stack_push_call_frame() argument
5497 uint32_t used_stack = zend_vm_calc_used_stack(num_args, func); in _zend_vm_stack_push_call_frame()
5500 func, num_args, object_or_called_scope); in _zend_vm_stack_push_call_frame()