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

12

/PHP_TRUNK/Zend/
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_builtin_functions.c457 first_extra_arg = ex->func->op_array.num_args;
486 first_extra_arg = ex->func->op_array.num_args;
1801 static int copy_class_or_interface_name(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1870 static int copy_function_name(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
2203 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); local
2205 array_init_size(arg_array, num_args);
2206 if (num_args) {
2213 uint32_t first_extra_arg = call->func->op_array.num_args;
2227 while (i < num_args) {
H A Dzend_hash.c1476 ZEND_API void ZEND_FASTCALL zend_hash_apply_with_arguments(HashTable *ht, apply_func_args_t apply_func, int num_args, ...) argument
1492 va_start(args, num_args);
1496 result = apply_func(&p->val, num_args, args, &hash_key);
H A Dzend_variables.c269 ZEND_API int zval_copy_static_var(zval *p, int num_args, va_list args, zend_hash_key *key) /* {{{ */ argument
H A Dzend_extensions.c203 static void zend_extension_message_dispatcher(const zend_extension *extension, int num_args, va_list args) argument
208 if (!extension->message_handler || num_args!=2) {
H A Dzend_execute.h170 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) argument
188 ZEND_CALL_NUM_ARGS(call) = num_args;
193 static zend_always_inline uint32_t zend_vm_calc_used_stack(uint32_t num_args, zend_function *func) argument
195 uint32_t used_stack = ZEND_CALL_FRAME_SLOT + num_args;
198 used_stack += func->op_array.last_var + func->op_array.T - MIN(func->op_array.num_args, num_args);
203 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) argument
205 uint32_t used_stack = zend_vm_calc_used_stack(num_args, func);
208 func, num_args, called_scope, object);
215 zval *p = end + (ZEND_CALL_NUM_ARGS(call) - call->func->op_array.num_args);
238 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); local
[all...]
H A Dzend_closures.c404 (closure->func.common.num_args ||
406 uint32_t i, num_args, required = closure->func.common.required_num_args; local
410 num_args = closure->func.common.num_args;
412 num_args++;
414 for (i = 0; i < num_args; i++) {
H A Dzend_inheritance.c256 uint32_t i, num_args; local
282 || proto->common.num_args > fe->common.num_args) {
301 num_args = proto->common.num_args;
303 num_args++;
304 if (fe->common.num_args >= proto->common.num_args) {
305 num_args = fe->common.num_args;
408 uint32_t i, num_args, required; local
[all...]
H A Dzend_execute.c81 0, /* num_args */
704 if (EXPECTED(arg_num <= zf->internal_function.num_args)) {
707 cur_arg_info = &zf->internal_function.arg_info[zf->internal_function.num_args];
745 if (EXPECTED(arg_num <= zf->common.num_args)) {
748 cur_arg_info = &zf->common.arg_info[zf->common.num_args];
819 if (EXPECTED(arg_num <= zf->common.num_args)) {
822 cur_arg_info = &zf->common.arg_info[zf->common.num_args];
2069 * | VAR[op_array->num_args-1] = ARG[N] |
2082 uint32_t first_extra_arg, num_args; local
2090 first_extra_arg = op_array->num_args;
2191 uint32_t first_extra_arg, num_args; local
2274 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); local
[all...]
H A Dzend_opcode.c74 op_array->num_args = 0;
401 int32_t num_args = op_array->num_args; local
407 num_args++;
410 num_args++;
412 for (i = 0 ; i < num_args; i++) {
H A Dzend_vm_def.h3609 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); variable
3612 for (i = 0; i < num_args; ++i) {
3731 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); variable
3734 for (i = 0; i < num_args; ++i) {
7821 uint32_t num_args = EX_NUM_ARGS(); variable
7826 zend_hash_init(args, num_args, NULL, ZVAL_PTR_DTOR, 0);
7827 if (num_args) {
7829 zval *end = p + num_args;
7875 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); variable
7880 for (i = 0; i < num_args;
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c768 static int make_callable_ex(pdo_stmt_t *stmt, zval *callable, zend_fcall_info * fci, zend_fcall_info_cache * fcc, int num_args) /* {{{ */ argument
786 fci->param_count = num_args; /* probably less */
787 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/sapi/cli/
H A Dphp_cli_server.c593 static int sapi_cli_server_register_entry_cb(char **entry, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ { argument
/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 Darray.c1549 uint32_t num_args, i; local
1552 if (zend_parse_parameters(ZEND_NUM_ARGS(), "+", &args, &num_args) == FAILURE) {
H A Dbasic_functions.c4559 static int add_config_entry_cb(zval *entry, int num_args, va_list args, zend_hash_key *hash_key) argument
5262 static int php_ini_get_option(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
H A Dbrowscap.c342 static int browser_reg_compare(zval *browser, int num_args, va_list args, zend_hash_key *key) /* {{{ */ argument
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c741 uint32_t i, num_args, required = fptr->common.required_num_args; local
747 num_args = fptr->common.num_args;
749 num_args++;
752 string_printf(str, "%s- Parameters [%d] {\n", indent, num_args);
753 for (i = 0; i < num_args; i++) {
956 static int _extension_ini_string(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
993 static int _extension_class_string(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1013 static int _extension_const_string(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1922 int result, num_args local
2050 uint32_t num_args; local
2084 uint32_t i, num_args; local
2344 uint32_t num_args; local
3179 int result, num_args = 0; local
4154 _addmethod_va(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
4309 _addproperty(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
4330 _adddynproperty(zval *ptr, int num_args, va_list args, zend_hash_key *hash_key) argument
4627 int ret, i, num_args = 0; local
5694 _addconstant(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
5727 _addinientry(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
5765 add_extension_class(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) argument
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_persist_calc.c210 uint32_t num_args = op_array->num_args; local
213 num_args = op_array->num_args;
215 num_args++;
219 num_args++;
221 ADD_DUP_SIZE(arg_info, sizeof(zend_arg_info) * num_args);
222 for (i = 0; i < num_args; i++) {
H A Dzend_persist.c561 uint32_t num_args = op_array->num_args; local
565 num_args++;
574 num_args++;
576 zend_accel_store(arg_info, sizeof(zend_arg_info) * num_args);
577 for (i = 0; i < num_args; i++) {
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c2064 int num_args = pass_num_args + (arg2 ? 2 : 1); local
2066 zval *params = (zval*)safe_emalloc(num_args, sizeof(zval), 0);
2085 fci.param_count = num_args;
/PHP_TRUNK/ext/wddx/
H A Dwddx.c1098 int num_args, i; local
1102 if (zend_parse_parameters(ZEND_NUM_ARGS(), "+", &args, &num_args) == FAILURE) {
1111 for (i=0; i<num_args; i++) {
1207 int num_args, i; local
1212 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r+", &packet_id, &args, &num_args) == FAILURE) {
1220 for (i=0; i<num_args; i++) {
/PHP_TRUNK/ext/session/
H A Dsession.c1800 int i, num_args, argc = ZEND_NUM_ARGS(); local
1914 if (zend_parse_parameters(argc, "+", &args, &num_args) == FAILURE) {

Completed in 92 milliseconds

12