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()
4178 uint32_t first_extra_arg = op_array->num_args; in zend_copy_extra_args()
4179 uint32_t num_args = EX_NUM_ARGS(); in zend_copy_extra_args() local
4196 src = EX_VAR_NUM(num_args - 1); in zend_copy_extra_args()
4198 count = num_args - first_extra_arg; in zend_copy_extra_args()
4236 uint32_t first_extra_arg, num_args; in i_init_func_execute_data() local
4248 first_extra_arg = op_array->num_args; in i_init_func_execute_data()
4249 num_args = EX_NUM_ARGS(); in i_init_func_execute_data()
4250 if (UNEXPECTED(num_args > first_extra_arg)) { in i_init_func_execute_data()
4257 opline += num_args; in i_init_func_execute_data()
4259 EX(opline) += num_args; in i_init_func_execute_data()
4264 zend_init_cvs(num_args, op_array->last_var EXECUTE_DATA_CC); in i_init_func_execute_data()
4450 uint32_t num_args; in zend_unfinished_calls_gc() local
4468 num_args = ZEND_CALL_NUM_ARGS(call); in zend_unfinished_calls_gc()
4487 num_args = 0; in zend_unfinished_calls_gc()
4504 num_args = opline->op2.num; in zend_unfinished_calls_gc()
4552 if (EXPECTED(num_args > 0)) { in zend_unfinished_calls_gc()
4557 } while (--num_args); in zend_unfinished_calls_gc()
4824 zval *end = zv + (EX_NUM_ARGS() - op_array->num_args); in zend_unfinished_execution_gc_ex()
4898 …end_execute_data *zend_init_dynamic_call_string(zend_string *function, uint32_t num_args) /* {{{ */ in zend_init_dynamic_call_string() argument
4974 fbc, num_args, called_scope); in zend_init_dynamic_call_string()
4978 …end_execute_data *zend_init_dynamic_call_object(zend_object *function, uint32_t num_args) /* {{{ */ in zend_init_dynamic_call_object() argument
5018 fbc, num_args, object_or_called_scope); in zend_init_dynamic_call_object()
5022 … zend_execute_data *zend_init_dynamic_call_array(zend_array *function, uint32_t num_args) /* {{{ */ in zend_init_dynamic_call_array() argument
5107 fbc, num_args, object_or_called_scope); in zend_init_dynamic_call_array()
5295 uint32_t num_args = fbc->common.num_args; in zend_get_arg_offset_by_name() local
5298 for (uint32_t i = 0; i < num_args; i++) { in zend_get_arg_offset_by_name()
5307 ZEND_ASSERT(num_args == 0 || fbc->internal_function.arg_info); in zend_get_arg_offset_by_name()
5308 for (uint32_t i = 0; i < num_args; i++) { in zend_get_arg_offset_by_name()
5321 *(uintptr_t *)(cache_slot + 1) = fbc->common.num_args; in zend_get_arg_offset_by_name()
5322 return fbc->common.num_args; in zend_get_arg_offset_by_name()
5340 if (UNEXPECTED(arg_offset == fbc->common.num_args)) { in zend_handle_named_arg()
5411 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); in zend_handle_undef_args() local
5412 for (uint32_t i = 0; i < num_args; i++) { in zend_handle_undef_args()
5469 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); in zend_handle_undef_args() local
5470 for (uint32_t i = 0; i < num_args; i++) { in zend_handle_undef_args()
5520 …(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
5530 …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()
5534 zend_vm_init_call_frame(call, call_info, func, num_args, object_or_called_scope); in _zend_vm_stack_push_call_frame_ex()
5539 …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
5541 uint32_t used_stack = zend_vm_calc_used_stack(num_args, func); in _zend_vm_stack_push_call_frame()
5544 func, num_args, object_or_called_scope); in _zend_vm_stack_push_call_frame()