Searched defs:num_args (Results 1 - 25 of 35) sorted by relevance

12

/PHP_TRUNK/Zend/
H A Dzend_extensions.c205 static void zend_extension_message_dispatcher(const zend_extension *extension, int num_args, va_list args) argument
210 if (!extension->message_handler || num_args!=2) {
H A Dzend_llist.c241 ZEND_API void zend_llist_apply_with_arguments(zend_llist *l, llist_apply_with_args_func_t func, int num_args, ...) argument
246 va_start(args, num_args);
248 func(element->data, num_args, args);
H A Dzend_ts_hash.c161 ZEND_API void zend_ts_hash_apply_with_arguments(TsHashTable *ht, apply_func_args_t apply_func, int num_args, ...) argument
165 va_start(args, num_args);
167 zend_hash_apply_with_arguments(TS_HASH(ht), apply_func, num_args, args); local
H A Dzend_API.h39 uint32_t num_args; member in struct:_zend_function_entry
259 ZEND_API int zend_parse_parameters(int num_args, const char *type_spec, ...);
260 ZEND_API int zend_parse_parameters_ex(int flags, int num_args, const char *type_spec, ...);
263 ZEND_API int zend_parse_method_parameters(int num_args, zval *this_ptr, const char *type_spec, ...);
264 ZEND_API int zend_parse_method_parameters_ex(int flags, int num_args, zval *this_ptr, const char *type_spec, ...);
704 ZEND_API void zend_wrong_paramers_count_error(int num_args, int min_num_args, int max_num_args);
H A Dzend_inheritance.c301 uint32_t i, num_args; local
327 || proto->common.num_args > fe->common.num_args) {
346 num_args = proto->common.num_args;
348 num_args++;
349 if (fe->common.num_args >= proto->common.num_args) {
350 num_args = fe->common.num_args;
443 uint32_t i, num_args, required; local
[all...]
H A Dzend_generators.c214 static int copy_closure_static_var(zval *var, int num_args, va_list args, zend_hash_key *key) /* {{{ */ argument
H A Dzend_closures.c365 (closure->func.common.num_args ||
367 uint32_t i, num_args, required = closure->func.common.required_num_args; local
371 num_args = closure->func.common.num_args;
373 num_args++;
375 for (i = 0; i < num_args; i++) {
H A Dzend_variables.c293 ZEND_API int zval_copy_static_var(zval *p, int num_args, va_list args, zend_hash_key *key) /* {{{ */ argument
H A Dzend_hash.c1329 ZEND_API void zend_hash_apply_with_arguments(HashTable *ht, apply_func_args_t apply_func, int num_args, ...) argument
1345 va_start(args, num_args);
1349 result = apply_func(&p->val, num_args, args, &hash_key);
H A Dzend_execute.h147 static zend_always_inline zend_execute_data *zend_vm_stack_push_call_frame_ex(uint32_t used_stack, uint32_t call_info, zend_function *func, uint32_t num_args, zend_class_entry *called_scope, zend_object *object, zend_execute_data *prev) argument
154 ZEND_CALL_NUM_ARGS(call) = num_args;
160 static zend_always_inline uint32_t zend_vm_calc_used_stack(uint32_t num_args, zend_function *func) argument
162 uint32_t used_stack = ZEND_CALL_FRAME_SLOT + num_args;
165 used_stack += func->op_array.last_var + func->op_array.T - MIN(func->op_array.num_args, num_args);
170 static zend_always_inline zend_execute_data *zend_vm_stack_push_call_frame(uint32_t call_info, zend_function *func, uint32_t num_args, zend_class_entry *called_scope, zend_object *object, zend_execute_data *prev) argument
172 uint32_t used_stack = zend_vm_calc_used_stack(num_args, func);
175 func, num_args, called_scope, object, prev);
182 zval *p = end + (ZEND_CALL_NUM_ARGS(call) - call->func->op_array.num_args);
192 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); local
[all...]
H A Dzend_opcode.c71 op_array->num_args = 0;
373 int32_t num_args = op_array->num_args; local
379 num_args++;
382 num_args++;
384 for (i = 0 ; i < num_args; i++) {
H A Dzend_builtin_functions.c455 first_extra_arg = ex->func->op_array.num_args;
483 first_extra_arg = ex->func->op_array.num_args;
1769 static int copy_class_or_interface_name(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1838 static int copy_function_name(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
2171 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); local
2173 array_init_size(arg_array, num_args);
2174 if (num_args) {
2181 uint32_t first_extra_arg = call->func->op_array.num_args;
2195 while (i < num_args) {
H A Dzend_execute.c78 0, /* num_args */
616 if (EXPECTED(arg_num <= zf->internal_function.num_args)) {
619 cur_arg_info = &zf->internal_function.arg_info[zf->internal_function.num_args];
661 if (EXPECTED(arg_num <= zf->common.num_args)) {
664 cur_arg_info = &zf->common.arg_info[zf->common.num_args];
706 if (EXPECTED(arg_num <= zf->common.num_args)) {
709 cur_arg_info = &zf->common.arg_info[zf->common.num_args];
1731 * | VAR[op_array->num_args-1] = ARG[N] |
1744 uint32_t first_extra_arg, num_args; local
1752 first_extra_arg = op_array->num_args;
1851 uint32_t first_extra_arg, num_args; local
1933 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); local
[all...]
H A Dzend_vm_def.h2971 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); variable
2974 for (i = 0; i < num_args; ++i) {
3095 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); variable
3098 for (i = 0; i < num_args; ++i) {
/PHP_TRUNK/ext/standard/
H A Dpack.c115 int num_args, i; local
125 if (zend_parse_parameters(ZEND_NUM_ARGS(), "+", &argv, &num_args) == FAILURE) {
182 if (currentarg >= num_args) {
232 arg = num_args - currentarg;
237 if (currentarg > num_args) {
256 if (currentarg < num_args) {
257 php_error_docref(NULL, E_WARNING, "%d arguments unused", (num_args - currentarg));
H A Dbrowscap.c347 static int browser_reg_compare(zval *browser, int num_args, va_list args, zend_hash_key *key) /* {{{ */ argument
H A Dbasic_functions.c4527 static int add_config_entry_cb(zval *entry, int num_args, va_list args, zend_hash_key *hash_key) argument
5203 static int php_ini_get_option(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c766 static int make_callable_ex(pdo_stmt_t *stmt, zval *callable, zend_fcall_info * fci, zend_fcall_info_cache * fcc, int num_args) /* {{{ */ argument
784 fci->param_count = num_args; /* probably less */
785 fci->params = safe_emalloc(sizeof(zval), num_args, 0);
/PHP_TRUNK/ext/interbase/
H A Dibase_events.c128 int num_args; local
140 if (zend_parse_parameters(ZEND_NUM_ARGS(), "+", &args, &num_args) == FAILURE) {
271 int link_res_id, num_args; local
280 if (zend_parse_parameters(ZEND_NUM_ARGS(), "+", &args, &num_args) == FAILURE) {
/PHP_TRUNK/ext/wddx/
H A Dwddx.c1105 int num_args, i; local
1109 if (zend_parse_parameters(ZEND_NUM_ARGS(), "+", &args, &num_args) == FAILURE) {
1118 for (i=0; i<num_args; i++) {
1214 int num_args, i; local
1219 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r+", &packet_id, &args, &num_args) == FAILURE) {
1227 for (i=0; i<num_args; i++) {
/PHP_TRUNK/ext/session/
H A Dsession.c1799 int i, num_args, argc = ZEND_NUM_ARGS(); local
1913 if (zend_parse_parameters(argc, "+", &args, &num_args) == FAILURE) {
/PHP_TRUNK/ext/opcache/
H A Dzend_persist_calc.c203 uint32_t num_args = op_array->num_args; local
206 num_args = op_array->num_args;
208 num_args++;
212 num_args++;
214 ADD_DUP_SIZE(op_array->arg_info, sizeof(zend_arg_info) * num_args);
215 ADD_DUP_SIZE(arg_info, sizeof(zend_arg_info) * num_args);
216 for (i = 0; i < num_args; i++) {
H A Dzend_persist.c489 uint32_t num_args = op_array->num_args; local
493 num_args++;
502 num_args++;
504 zend_accel_store(arg_info, sizeof(zend_arg_info) * num_args);
505 for (i = 0; i < num_args; i++) {
H A Dzend_accelerator_util_funcs.c123 static int move_user_function(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) argument
127 (void)num_args; /* keep the compiler happy */
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c2073 int num_args = pass_num_args + (arg2 ? 2 : 1); local
2075 zval *params = (zval*)safe_emalloc(num_args, sizeof(zval), 0);
2094 fci.param_count = num_args;

Completed in 64 milliseconds

12