Searched refs:arg_count (Results 1 - 13 of 13) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_API.c48 int arg_count; local
53 arg_count = ZEND_CALL_NUM_ARGS(EG(current_execute_data));
55 if (param_count>arg_count) {
83 int arg_count; local
88 arg_count = ZEND_CALL_NUM_ARGS(EG(current_execute_data));
90 if (param_count>arg_count) {
109 int arg_count; local
112 arg_count = ZEND_CALL_NUM_ARGS(EG(current_execute_data));
114 if (param_count>arg_count) {
131 int arg_count; local
833 int arg_count; local
[all...]
H A Dzend_builtin_functions.c418 uint32_t arg_count, first_extra_arg; local
438 arg_count = ZEND_CALL_NUM_ARGS(ex);
440 if (requested_offset >= arg_count) {
463 uint32_t arg_count, first_extra_arg; local
472 arg_count = ZEND_CALL_NUM_ARGS(ex);
474 array_init_size(return_value, arg_count);
475 if (arg_count) {
501 while (i < arg_count) {
H A Dzend_compile.c2391 uint32_t arg_count = 0; /* number of arguments not including unpacks */ local
2408 opline->op2.num = arg_count;
2409 opline->result.var = (uint32_t)(zend_intptr_t)ZEND_CALL_ARG(NULL, arg_count);
2418 arg_count++;
2489 return arg_count;
2497 uint32_t arg_count; local
2502 arg_count = zend_compile_args(args_ast, fbc);
2505 opline->extended_value = arg_count;
2508 opline->op1.num = zend_vm_calc_used_stack(arg_count, fbc);
H A Dzend_vm_def.h3688 uint32_t arg_count = EX_NUM_ARGS(); variable
3695 if (arg_num <= arg_count) {
3698 array_init_size(params, arg_count - arg_num + 1);
3706 } while (++arg_num <= arg_count);
3712 } while (++arg_num <= arg_count);
H A Dzend_vm_execute.h998 uint32_t arg_count = EX_NUM_ARGS(); local
1005 if (arg_num <= arg_count) {
1008 array_init_size(params, arg_count - arg_num + 1);
1016 } while (++arg_num <= arg_count);
1022 } while (++arg_num <= arg_count);
[all...]
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp368 int arg_count = zend_hash_num_elements(args); local
383 fargs.resize(arg_count);
384 farg_names.resize(arg_count);
611 fargs.empty() ? NULL : &fargs[0], arg_count, resultStr, err.code);
/PHP_TRUNK/ext/session/
H A Dsession.c1804 shutdown_function_entry.arg_count = 1;
2143 shutdown_function_entry.arg_count = 1;
/PHP_TRUNK/ext/soap/
H A Dsoap.c64 static xmlDocPtr serialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_name, char *uri, zval *arguments, int arg_count, int version, HashTable *soap_headers);
2637 int arg_count,
2736 request = serialize_function_call(this_ptr, fn, NULL, fnb->input.ns, real_args, arg_count, soap_version, soap_headers);
2739 request = serialize_function_call(this_ptr, fn, NULL, sdl->target_ns, real_args, arg_count, soap_version, soap_headers);
2774 request = serialize_function_call(this_ptr, NULL, function, call_uri, real_args, arg_count, soap_version, soap_headers);
2870 int arg_count; local
2936 arg_count = zend_hash_num_elements(Z_ARRVAL_P(args));
2938 if (arg_count > 0) {
2939 real_args = safe_emalloc(sizeof(zval), arg_count, 0);
2949 do_soap_call(execute_data, this_ptr, function, function_len, arg_count, real_arg
2633 do_soap_call(zend_execute_data *execute_data, zval* this_ptr, char* function, size_t function_len, int arg_count, zval* real_args, zval* return_value, char* location, char* soap_action, char* call_uri, HashTable* soap_headers, zval* output_headers ) argument
4201 serialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_name, char *uri, zval *arguments, int arg_count, int version, HashTable *soap_headers) argument
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_iterators.c1378 int arg_count; local
1393 arg_count = (zend_ulong) *p;
1395 func_params = safe_emalloc(sizeof(zval **), arg_count, 0);
1398 while (arg_count-- > 0) {
1399 func_params[current] = (zval **) p - (arg_count-current);
1402 arg_count = current; /* restore */
1404 if (call_user_function_ex(EG(function_table), NULL, &func, &retval, arg_count, func_params, 0, NULL) == SUCCESS && Z_TYPE(retval) != IS_UNDEF) {
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c123 int arg_count; member in struct:_user_tick_function_entry
4840 for (i = 0; i < shutdown_function_entry->arg_count; i++) {
4852 for (i = 0; i < tick_function_entry->arg_count; i++) {
4881 shutdown_function_entry->arg_count - 1,
4902 tick_fe->arg_count - 1,
4998 shutdown_function_entry.arg_count = ZEND_NUM_ARGS();
5000 if (shutdown_function_entry.arg_count < 1) {
5004 shutdown_function_entry.arguments = (zval *) safe_emalloc(sizeof(zval), shutdown_function_entry.arg_count, 0);
5006 if (zend_get_parameters_array(ZEND_NUM_ARGS(), shutdown_function_entry.arg_count, shutdown_function_entry.arguments) == FAILURE) {
5026 for (i = 0; i < shutdown_function_entry.arg_count;
[all...]
H A Dbasic_functions.h259 int arg_count; member in struct:_php_shutdown_function_entry
/PHP_TRUNK/sapi/apache2filter/
H A Dphp_functions.c229 int arg_count = ZEND_NUM_ARGS(); local
231 if (zend_parse_parameters(arg_count, "ss|b", &variable, &variable_len, &string_val, &string_val_len, &walk_to_top) == FAILURE) {
237 if (arg_count == 3 && walk_to_top) {
257 int arg_count = ZEND_NUM_ARGS(); local
260 if (zend_parse_parameters(arg_count, "s|b", &variable, &variable_len, &walk_to_top) == FAILURE) {
266 if (arg_count == 2 && walk_to_top) {
/PHP_TRUNK/sapi/apache2handler/
H A Dphp_functions.c259 int arg_count = ZEND_NUM_ARGS(); local
262 if (zend_parse_parameters(arg_count, "ss|b", &variable, &variable_len, &string_val, &string_val_len, &walk_to_top) == FAILURE) {
269 if (arg_count == 3) {
294 int arg_count = ZEND_NUM_ARGS(); local
298 if (zend_parse_parameters(arg_count, "s|b", &variable, &variable_len, &walk_to_top) == FAILURE) {
305 if (arg_count == 2) {

Completed in 106 milliseconds