Home
last modified time | relevance | path

Searched refs:arg_count (Results 1 – 12 of 12) sorted by relevance

/PHP-7.0/sapi/apache2handler/
H A Dphp_functions.c259 int arg_count = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
262 …if (zend_parse_parameters(arg_count, "ss|b", &variable, &variable_len, &string_val, &string_val_le… in PHP_FUNCTION()
269 if (arg_count == 3) { in PHP_FUNCTION()
294 int arg_count = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
298 if (zend_parse_parameters(arg_count, "s|b", &variable, &variable_len, &walk_to_top) == FAILURE) { in PHP_FUNCTION()
305 if (arg_count == 2) { in PHP_FUNCTION()
/PHP-7.0/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp372 int arg_count = zend_hash_num_elements(args); in umsg_format_helper() local
387 fargs.resize(arg_count); in umsg_format_helper()
388 farg_names.resize(arg_count); in umsg_format_helper()
615 fargs.empty() ? NULL : &fargs[0], arg_count, resultStr, err.code); in umsg_format_helper()
/PHP-7.0/ext/standard/
H A Dbasic_functions.h260 int arg_count; member
H A Dbasic_functions.c123 int arg_count; member
4883 for (i = 0; i < shutdown_function_entry->arg_count; i++) {
4895 for (i = 0; i < tick_function_entry->arg_count; i++) {
4924 shutdown_function_entry->arg_count - 1,
4945 tick_fe->arg_count - 1,
5035 shutdown_function_entry.arg_count = ZEND_NUM_ARGS();
5037 if (shutdown_function_entry.arg_count < 1) {
5659 tick_fe.arg_count = ZEND_NUM_ARGS();
5661 if (tick_fe.arg_count < 1) {
5693 for (i = 0; i < tick_fe.arg_count; i++) {
[all …]
/PHP-7.0/Zend/
H A Dzend_builtin_functions.c464 uint32_t arg_count, first_extra_arg; in ZEND_FUNCTION() local
484 arg_count = ZEND_CALL_NUM_ARGS(ex); in ZEND_FUNCTION()
486 if (requested_offset >= arg_count) { in ZEND_FUNCTION()
509 uint32_t arg_count, first_extra_arg; in ZEND_FUNCTION() local
518 arg_count = ZEND_CALL_NUM_ARGS(ex); in ZEND_FUNCTION()
520 array_init_size(return_value, arg_count); in ZEND_FUNCTION()
521 if (arg_count) { in ZEND_FUNCTION()
527 if (arg_count > first_extra_arg) { in ZEND_FUNCTION()
544 while (i < arg_count) { in ZEND_FUNCTION()
559 Z_ARRVAL_P(return_value)->nNumOfElements = arg_count; in ZEND_FUNCTION()
H A Dzend_API.c50 int arg_count; in zend_get_parameters() local
55 arg_count = ZEND_CALL_NUM_ARGS(EG(current_execute_data)); in zend_get_parameters()
57 if (param_count>arg_count) { in zend_get_parameters()
85 int arg_count; in zend_get_parameters_ex() local
92 if (param_count>arg_count) { in zend_get_parameters_ex()
111 int arg_count; in _zend_get_parameters_array_ex() local
116 if (param_count>arg_count) { in _zend_get_parameters_array_ex()
133 int arg_count; in zend_copy_parameters_array() local
138 if (param_count>arg_count) { in zend_copy_parameters_array()
810 int arg_count; in zend_parse_va_args() local
[all …]
H A Dzend_compile.c2727 uint32_t arg_count = 0; /* number of arguments not including unpacks */ in zend_compile_args() local
2744 opline->op2.num = arg_count; in zend_compile_args()
2745 opline->result.var = (uint32_t)(zend_intptr_t)ZEND_CALL_ARG(NULL, arg_count); in zend_compile_args()
2754 arg_count++; in zend_compile_args()
2835 return arg_count; in zend_compile_args()
2868 uint32_t arg_count; in zend_compile_call_common() local
2873 arg_count = zend_compile_args(args_ast, fbc); in zend_compile_call_common()
2876 opline->extended_value = arg_count; in zend_compile_call_common()
2879 opline->op1.num = zend_vm_calc_used_stack(arg_count, fbc); in zend_compile_call_common()
H A Dzend_vm_def.h4808 uint32_t arg_count = EX_NUM_ARGS();
4815 if (arg_num <= arg_count) {
4818 array_init_size(params, arg_count - arg_num + 1);
4828 } while (++arg_num <= arg_count);
4834 } while (++arg_num <= arg_count);
H A Dzend_vm_execute.h1204 uint32_t arg_count = EX_NUM_ARGS(); local
1211 if (arg_num <= arg_count) {
1214 array_init_size(params, arg_count - arg_num + 1);
1224 } while (++arg_num <= arg_count);
1230 } while (++arg_num <= arg_count);
/PHP-7.0/ext/soap/
H A Dsoap.c2639 int arg_count, argument
2739 …request = serialize_function_call(this_ptr, fn, NULL, fnb->input.ns, real_args, arg_count, soap_ve…
2777 …request = serialize_function_call(this_ptr, NULL, function, call_uri, real_args, arg_count, soap_v…
2879 int arg_count; local
2945 arg_count = zend_hash_num_elements(Z_ARRVAL_P(args));
2947 if (arg_count > 0) {
2948 real_args = safe_emalloc(sizeof(zval), arg_count, 0);
2960 if (arg_count > 0) {
4296 for (i = 0;i < arg_count;i++) {
4317 if (n > arg_count) {
[all …]
/PHP-7.0/ext/spl/
H A Dspl_iterators.c1394 int arg_count; in spl_dual_it_call_method() local
1409 arg_count = (zend_ulong) *p; in spl_dual_it_call_method()
1411 func_params = safe_emalloc(sizeof(zval **), arg_count, 0); in spl_dual_it_call_method()
1414 while (arg_count-- > 0) { in spl_dual_it_call_method()
1415 func_params[current] = (zval **) p - (arg_count-current); in spl_dual_it_call_method()
1418 arg_count = current; /* restore */ in spl_dual_it_call_method()
1420 …if (call_user_function_ex(EG(function_table), NULL, &func, &retval, arg_count, func_params, 0, NUL… in spl_dual_it_call_method()
/PHP-7.0/ext/session/
H A Dsession.c1947 shutdown_function_entry.arg_count = 1;
2448 shutdown_function_entry.arg_count = 1;

Completed in 241 milliseconds