/PHP-7.2/Zend/ |
H A D | zend_execute.h | 177 ZEND_CALL_NUM_ARGS(call) = num_args; in zend_vm_init_call_frame() 193 zend_vm_init_call_frame(call, call_info, func, num_args, called_scope, object); in zend_vm_stack_push_call_frame_ex() 198 static zend_always_inline uint32_t zend_vm_calc_used_stack(uint32_t num_args, zend_function *func) in zend_vm_calc_used_stack() argument 200 uint32_t used_stack = ZEND_CALL_FRAME_SLOT + num_args; in zend_vm_calc_used_stack() 203 used_stack += func->op_array.last_var + func->op_array.T - MIN(func->op_array.num_args, num_args); in zend_vm_calc_used_stack() 210 uint32_t used_stack = zend_vm_calc_used_stack(num_args, func); in zend_vm_stack_push_call_frame() 213 func, num_args, called_scope, object); in zend_vm_stack_push_call_frame() 220 zval *p = end + (ZEND_CALL_NUM_ARGS(call) - call->func->op_array.num_args); in zend_vm_stack_free_extra_args_ex() 243 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); in zend_vm_stack_free_args() local 245 if (EXPECTED(num_args > 0)) { in zend_vm_stack_free_args() [all …]
|
H A D | zend_opcode.c | 75 op_array->num_args = 0; in init_op_array() 117 uint32_t num_args = function->common.num_args + 1; in destroy_zend_function() local 121 num_args++; in destroy_zend_function() 123 for (i = 0 ; i < num_args; i++) { in destroy_zend_function() 150 uint32_t num_args = function->common.num_args + 1; in zend_function_dtor() local 154 num_args++; in zend_function_dtor() 156 for (i = 0 ; i < num_args; i++) { in zend_function_dtor() 432 uint32_t num_args = op_array->num_args; in destroy_op_array() local 437 num_args++; in destroy_op_array() 440 num_args++; in destroy_op_array() [all …]
|
H A D | zend_llist.h | 33 typedef void (*llist_apply_with_args_func_t)(void *data, int num_args, va_list args); 61 …nd_llist_apply_with_arguments(zend_llist *l, llist_apply_with_args_func_t func, int num_args, ...);
|
H A D | zend_API.c | 249 num_args); in zend_wrong_parameters_count_error() 903 if (num_args < min_num_args || (num_args > max_num_args && max_num_args >= 0)) { in zend_parse_va_args() 915 num_args); in zend_parse_va_args() 922 if (num_args > arg_count) { in zend_parse_va_args() 928 while (num_args-- > 0) { in zend_parse_va_args() 945 num_args += 1 - num_varargs; in zend_parse_va_args() 2208 internal_function->num_args = ptr->num_args; in zend_register_functions() 2221 internal_function->num_args--; in zend_register_functions() 2299 uint32_t num_args = reg_function->common.num_args + 1; in zend_register_functions() local 2304 num_args++; in zend_register_functions() [all …]
|
H A D | zend_inheritance.c | 266 uint32_t i, num_args; in zend_do_perform_implementation_check() local 292 || proto->common.num_args > fe->common.num_args) { in zend_do_perform_implementation_check() 311 num_args = proto->common.num_args; in zend_do_perform_implementation_check() 313 num_args++; in zend_do_perform_implementation_check() 314 if (fe->common.num_args >= proto->common.num_args) { in zend_do_perform_implementation_check() 315 num_args = fe->common.num_args; in zend_do_perform_implementation_check() 317 num_args++; in zend_do_perform_implementation_check() 450 num_args = fptr->common.num_args; in zend_get_function_declaration() 452 num_args++; in zend_get_function_declaration() 454 for (i = 0; i < num_args;) { in zend_get_function_declaration() [all …]
|
H A D | zend_llist.c | 241 …end_llist_apply_with_arguments(zend_llist *l, llist_apply_with_args_func_t func, int num_args, ...) in zend_llist_apply_with_arguments() argument 246 va_start(args, num_args); in zend_llist_apply_with_arguments() 248 func(element->data, num_args, args); in zend_llist_apply_with_arguments()
|
H A D | zend_ts_hash.c | 161 …zend_ts_hash_apply_with_arguments(TsHashTable *ht, apply_func_args_t apply_func, int num_args, ...) in zend_ts_hash_apply_with_arguments() argument 165 va_start(args, num_args); in zend_ts_hash_apply_with_arguments() 167 zend_hash_apply_with_arguments(TS_HASH(ht), apply_func, num_args, args); in zend_ts_hash_apply_with_arguments()
|
H A D | zend_extensions.c | 240 static void zend_extension_message_dispatcher(const zend_extension *extension, int num_args, va_lis… in zend_extension_message_dispatcher() argument 245 if (!extension->message_handler || num_args!=2) { in zend_extension_message_dispatcher()
|
H A D | zend_closures.c | 521 (closure->func.common.num_args || in zend_closure_get_debug_info() 523 uint32_t i, num_args, required = closure->func.common.required_num_args; in zend_closure_get_debug_info() local 527 num_args = closure->func.common.num_args; in zend_closure_get_debug_info() 529 num_args++; in zend_closure_get_debug_info() 531 for (i = 0; i < num_args; i++) { in zend_closure_get_debug_info()
|
H A D | zend_compile.h | 371 uint32_t num_args; member 423 uint32_t num_args; member 446 uint32_t num_args; member 516 (call)->This.u2.num_args 923 if (UNEXPECTED(arg_num >= zf->common.num_args)) { in zend_check_arg_send_type() 927 arg_num = zf->common.num_args; in zend_check_arg_send_type()
|
H A D | zend_execute.c | 897 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); in zend_verify_internal_arg_types() local 901 for (i = 0; i < num_args; ++i) { in zend_verify_internal_arg_types() 2158 uint32_t first_extra_arg, num_args; in i_init_func_execute_data() local 2166 first_extra_arg = op_array->num_args; in i_init_func_execute_data() 2167 num_args = EX_NUM_ARGS(); in i_init_func_execute_data() 2180 src = end + (num_args - first_extra_arg); in i_init_func_execute_data() 2200 EX(opline) += num_args; in i_init_func_execute_data() 2205 zval *var = EX_VAR_NUM(num_args); in i_init_func_execute_data() 2629 fbc, num_args, called_scope, NULL); in zend_init_dynamic_call_string() 2665 fbc, num_args, called_scope, object); in zend_init_dynamic_call_object() [all …]
|
/PHP-7.2/ext/opcache/Optimizer/ |
H A D | optimize_func_calls.c | 98 && func->op_array.opcodes[func->op_array.num_args].opcode == ZEND_RETURN) { in zend_try_inline_call() 100 zend_op *ret_opline = func->op_array.opcodes + func->op_array.num_args; in zend_try_inline_call() 103 uint32_t i, num_args = func->op_array.num_args; in zend_try_inline_call() local 104 num_args += (func->op_array.fn_flags & ZEND_ACC_VARIADIC) != 0; in zend_try_inline_call() 113 for (i = 0; i < num_args; i++) { in zend_try_inline_call() 121 if (fcall->extended_value < func->op_array.num_args) { in zend_try_inline_call() 130 } while (i < func->op_array.num_args); in zend_try_inline_call()
|
H A D | zend_call_graph.h | 44 int num_args; member 55 int num_args; /* (-1 - unknown) */ member
|
H A D | zend_call_graph.c | 49 func_info->num_args = -1; in zend_op_array_collect() 109 call_info->num_args = opline->extended_value; in zend_analyze_calls() 172 call_info->num_args = -1; in zend_analyze_calls() 285 for (i = 0; i < call->num_args; i++) { in zend_build_call_map()
|
H A D | sccp.c | 592 if (num_args == 0) { in ct_eval_func_call() 602 } else if (num_args == 1) { in ct_eval_func_call() 689 } else if (num_args == 2) { in ct_eval_func_call() 742 for (i = 0; i < num_args; i++) { in ct_eval_func_call() 792 } else if (num_args == 3) { in ct_eval_func_call() 807 for (i = 0; i < num_args; i++) { in ct_eval_func_call() 847 EX_NUM_ARGS() = num_args; in ct_eval_func_call() 848 for (i = 0; i < num_args; i++) { in ct_eval_func_call() 852 for (i = 0; i < num_args; i++) { in ct_eval_func_call() 1258 if (call->num_args > 3) { in sccp_visit_instr() [all …]
|
H A D | zend_func_info.c | 62 if (call_info->caller_init_opline->extended_value == (uint32_t)call_info->num_args && in zend_strlen_info() 63 call_info->num_args == 1) { in zend_strlen_info() 80 } else if (call_info->num_args != -1) { in zend_strlen_info() 91 call_info->num_args == 1) { in zend_dechex_info() 93 } else if (call_info->num_args != -1) { in zend_dechex_info() 104 (call_info->num_args == 2 || call_info->num_args == 3)) { in zend_range_info() 111 if (call_info->num_args == 3) { in zend_range_info() 137 call_info->num_args == 1) { in zend_is_type_info() 147 call_info->num_args == 2) { in zend_l_ss_info() 172 call_info->num_args == 3) { in zend_lb_ssn_info() [all …]
|
/PHP-7.2/ext/opcache/ |
H A D | zend_persist_calc.c | 212 uint32_t num_args = op_array->num_args; in zend_persist_op_array_calc_ex() local 215 num_args = op_array->num_args; in zend_persist_op_array_calc_ex() 217 num_args++; in zend_persist_op_array_calc_ex() 221 num_args++; in zend_persist_op_array_calc_ex() 223 ADD_DUP_SIZE(arg_info, sizeof(zend_arg_info) * num_args); in zend_persist_op_array_calc_ex() 224 for (i = 0; i < num_args; i++) { in zend_persist_op_array_calc_ex()
|
H A D | zend_persist.c | 506 uint32_t num_args = op_array->num_args; in zend_persist_op_array_ex() local 510 num_args++; in zend_persist_op_array_ex() 519 num_args++; in zend_persist_op_array_ex() 521 zend_accel_store(arg_info, sizeof(zend_arg_info) * num_args); in zend_persist_op_array_ex() 522 for (i = 0; i < num_args; i++) { in zend_persist_op_array_ex()
|
/PHP-7.2/sapi/phpdbg/ |
H A D | phpdbg_frame.c | 37 if (i < func->common.num_args) { in ZEND_EXTERN_MODULE_GLOBALS() 58 uint32_t i = 0, first_extra_arg = op_array->num_args, num_args = ZEND_CALL_NUM_ARGS(ex); in phpdbg_compile_stackframe() local 75 while (i < num_args) { in phpdbg_compile_stackframe() 214 m = func ? func->common.num_args : 0; in phpdbg_dump_prototype()
|
/PHP-7.2/ext/interbase/ |
H A D | ibase_events.c | 131 int num_args; in PHP_FUNCTION() local 143 if (zend_parse_parameters(ZEND_NUM_ARGS(), "+", &args, &num_args) == FAILURE) { in PHP_FUNCTION() 271 int num_args; in PHP_FUNCTION() local 281 if (zend_parse_parameters(ZEND_NUM_ARGS(), "+", &args, &num_args) == FAILURE) { in PHP_FUNCTION()
|
/PHP-7.2/ext/standard/ |
H A D | pack.c | 232 int num_args = 0; in PHP_FUNCTION() local 245 Z_PARAM_VARIADIC('*', argv, num_args) in PHP_FUNCTION() 293 if (currentarg >= num_args) { in PHP_FUNCTION() 344 arg = num_args - currentarg; in PHP_FUNCTION() 351 if (currentarg > num_args) { in PHP_FUNCTION() 371 if (currentarg < num_args) { in PHP_FUNCTION() 372 php_error_docref(NULL, E_WARNING, "%d arguments unused", (num_args - currentarg)); in PHP_FUNCTION()
|
/PHP-7.2/ext/zend_test/ |
H A D | test.c | 139 fptr->num_args = 1; in zend_test_class_method_get() 155 fptr->num_args = 1; in zend_test_class_static_method_get()
|
/PHP-7.2/ext/reflection/ |
H A D | php_reflection.c | 694 num_args = fptr->common.num_args; in _function_parameter_string() 696 num_args++; in _function_parameter_string() 2013 uint32_t num_args; in ZEND_METHOD() local 2018 num_args = fptr->common.num_args; in ZEND_METHOD() 2020 num_args++; in ZEND_METHOD() 2047 uint32_t i, num_args; in ZEND_METHOD() local 2054 num_args = fptr->common.num_args; in ZEND_METHOD() 2056 num_args++; in ZEND_METHOD() 2310 uint32_t num_args; in ZEND_METHOD() local 2407 num_args = fptr->common.num_args; in ZEND_METHOD() [all …]
|
/PHP-7.2/ext/com_dotnet/ |
H A D | com_handlers.c | 283 f.num_args = 0; in com_method_get() 318 f.num_args = bindptr.lpfuncdesc->cParams; in com_method_get() 410 f.num_args = 0; \ in com_constructor_get()
|
/PHP-7.2/ext/wddx/ |
H A D | wddx.c | 1160 int num_args, i; in PHP_FUNCTION() local 1164 if (zend_parse_parameters(ZEND_NUM_ARGS(), "+", &args, &num_args) == FAILURE) { in PHP_FUNCTION() 1173 for (i=0; i<num_args; i++) { in PHP_FUNCTION() 1269 int num_args, i; in PHP_FUNCTION() local 1274 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r+", &packet_id, &args, &num_args) == FAILURE) { in PHP_FUNCTION() 1282 for (i=0; i<num_args; i++) { in PHP_FUNCTION()
|