Searched defs:arg_count (Results 1 - 11 of 11) sorted by relevance

/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) {
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.h260 int arg_count; member in struct:_php_shutdown_function_entry
H A Dbasic_functions.c123 int arg_count; member in struct:_user_tick_function_entry
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,
5037 shutdown_function_entry.arg_count = ZEND_NUM_ARGS();
5039 if (shutdown_function_entry.arg_count < 1) {
5043 shutdown_function_entry.arguments = (zval *) safe_emalloc(sizeof(zval), shutdown_function_entry.arg_count, 0);
5045 if (zend_get_parameters_array(ZEND_NUM_ARGS(), shutdown_function_entry.arg_count, shutdown_function_entry.arguments) == FAILURE) {
5065 for (i = 0; i < shutdown_function_entry.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/spl/
H A Dspl_iterators.c1387 int arg_count; local
1402 arg_count = (zend_ulong) *p;
1404 func_params = safe_emalloc(sizeof(zval **), arg_count, 0);
1407 while (arg_count-- > 0) {
1408 func_params[current] = (zval **) p - (arg_count-current);
1411 arg_count = current; /* restore */
1413 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/Zend/
H A Dzend_builtin_functions.c441 uint32_t arg_count, first_extra_arg; local
461 arg_count = ZEND_CALL_NUM_ARGS(ex);
463 if (requested_offset >= arg_count) {
484 uint32_t arg_count, first_extra_arg; local
493 arg_count = ZEND_CALL_NUM_ARGS(ex);
495 array_init_size(return_value, arg_count);
496 if (arg_count) {
502 if (arg_count > first_extra_arg) {
513 while (i < arg_count) {
H A Dzend_compile.c2670 uint32_t arg_count = 0; /* number of arguments not including unpacks */ local
2687 opline->op2.num = arg_count;
2688 opline->result.var = (uint32_t)(zend_intptr_t)ZEND_CALL_ARG(NULL, arg_count);
2697 arg_count++;
2769 return arg_count;
2802 uint32_t arg_count; local
2807 arg_count = zend_compile_args(args_ast, fbc);
2810 opline->extended_value = arg_count;
2813 opline->op1.num = zend_vm_calc_used_stack(arg_count, fbc);
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
810 int arg_count; local
[all...]
H A Dzend_vm_def.h4738 uint32_t arg_count = EX_NUM_ARGS(); variable
4745 if (arg_num <= arg_count) {
4748 array_init_size(params, arg_count - arg_num + 1);
4758 } while (++arg_num <= arg_count);
4764 } while (++arg_num <= arg_count);
H A Dzend_vm_execute.h1223 uint32_t arg_count = EX_NUM_ARGS(); local
1230 if (arg_num <= arg_count) {
1233 array_init_size(params, arg_count - arg_num + 1);
1243 } while (++arg_num <= arg_count);
1249 } while (++arg_num <= arg_count);
[all...]
/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);
2632 int arg_count,
2732 request = serialize_function_call(this_ptr, fn, NULL, fnb->input.ns, real_args, arg_count, soap_version, soap_headers);
2735 request = serialize_function_call(this_ptr, fn, NULL, sdl->target_ns, real_args, arg_count, soap_version, soap_headers);
2770 request = serialize_function_call(this_ptr, NULL, function, call_uri, real_args, arg_count, soap_version, soap_headers);
2872 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
2628 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
4208 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...]

Completed in 105 milliseconds