Searched refs:num_args (Results 1 - 25 of 40) 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_llist.h33 typedef void (*llist_apply_with_args_func_t)(void *data, int num_args, va_list args);
61 ZEND_API void zend_llist_apply_with_arguments(zend_llist *l, llist_apply_with_args_func_t func, int num_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_variables.h108 ZEND_API int zval_copy_static_var(zval *p, int num_args, va_list args, zend_hash_key *key);
H A Dzend_variables.c277 ZEND_API int zval_copy_static_var(zval *p, int num_args, va_list args, zend_hash_key *key) /* {{{ */ argument
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;
401 uint32_t i, num_args, required; local
[all...]
H A Dzend_closures.c373 (closure->func.common.num_args ||
375 uint32_t i, num_args, required = closure->func.common.required_num_args; local
379 num_args = closure->func.common.num_args;
381 num_args++;
383 for (i = 0; i < num_args; i++) {
H A Dzend_execute.h156 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
169 ZEND_CALL_NUM_ARGS(call) = num_args;
174 static zend_always_inline uint32_t zend_vm_calc_used_stack(uint32_t num_args, zend_function *func) argument
176 uint32_t used_stack = ZEND_CALL_FRAME_SLOT + num_args;
179 used_stack += func->op_array.last_var + func->op_array.T - MIN(func->op_array.num_args, num_args);
184 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
186 uint32_t used_stack = zend_vm_calc_used_stack(num_args, func);
189 func, num_args, called_scope, object);
196 zval *p = end + (ZEND_CALL_NUM_ARGS(call) - call->func->op_array.num_args);
219 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); local
[all...]
H A Dzend_API.h39 uint32_t num_args; member in struct:_zend_function_entry
261 ZEND_API int zend_parse_parameters(int num_args, const char *type_spec, ...);
262 ZEND_API int zend_parse_parameters_ex(int flags, int num_args, const char *type_spec, ...);
263 ZEND_API int zend_parse_parameters_throw(int num_args, const char *type_spec, ...);
266 ZEND_API int zend_parse_method_parameters(int num_args, zval *this_ptr, const char *type_spec, ...);
267 ZEND_API int zend_parse_method_parameters_ex(int flags, int num_args, zval *this_ptr, const char *type_spec, ...);
708 ZEND_API void ZEND_FASTCALL zend_wrong_paramers_count_error(int num_args, int min_num_args, int max_num_args);
H A Dzend_API.c199 ZEND_API void ZEND_FASTCALL zend_wrong_paramers_count_error(int num_args, int min_num_args, int max_num_args) /* {{{ */ argument
208 min_num_args == max_num_args ? "exactly" : num_args < min_num_args ? "at least" : "at most",
209 num_args < min_num_args ? min_num_args : max_num_args,
210 (num_args < min_num_args ? min_num_args : max_num_args) == 1 ? "" : "s",
211 num_args);
808 static int zend_parse_va_args(int num_args, const char *type_spec, va_list *va, int flags) /* {{{ */ argument
878 if (num_args < min_num_args || (num_args > max_num_args && max_num_args > 0)) {
888 min_num_args == max_num_args ? "exactly" : num_args < min_num_args ? "at least" : "at most",
889 num_args < min_num_arg
960 zend_parse_parameters_ex(int flags, int num_args, const char *type_spec, ...) argument
975 zend_parse_parameters(int num_args, const char *type_spec, ...) argument
991 zend_parse_parameters_throw(int num_args, const char *type_spec, ...) argument
1007 zend_parse_method_parameters(int num_args, zval *this_ptr, const char *type_spec, ...) argument
1050 zend_parse_method_parameters_ex(int flags, int num_args, zval *this_ptr, const char *type_spec, ...) argument
[all...]
H A Dzend_builtin_functions.c456 first_extra_arg = ex->func->op_array.num_args;
484 first_extra_arg = ex->func->op_array.num_args;
1793 static int copy_class_or_interface_name(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1862 static int copy_function_name(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
2195 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); local
2197 array_init_size(arg_array, num_args);
2198 if (num_args) {
2205 uint32_t first_extra_arg = call->func->op_array.num_args;
2219 while (i < num_args) {
H A Dzend_compile.h334 uint32_t num_args; member in struct:_zend_op_array
385 uint32_t num_args; member in struct:_zend_internal_function
406 uint32_t num_args; member in struct:_zend_function::__anon2
472 (call)->This.u2.num_args
891 if (UNEXPECTED(arg_num >= zf->common.num_args)) {
895 arg_num = zf->common.num_args;
H A Dzend_execute.c80 0, /* num_args */
702 if (EXPECTED(arg_num <= zf->internal_function.num_args)) {
705 cur_arg_info = &zf->internal_function.arg_info[zf->internal_function.num_args];
743 if (EXPECTED(arg_num <= zf->common.num_args)) {
746 cur_arg_info = &zf->common.arg_info[zf->common.num_args];
789 if (EXPECTED(arg_num <= zf->common.num_args)) {
792 cur_arg_info = &zf->common.arg_info[zf->common.num_args];
1850 * | VAR[op_array->num_args-1] = ARG[N] |
1863 uint32_t first_extra_arg, num_args; local
1871 first_extra_arg = op_array->num_args;
1972 uint32_t first_extra_arg, num_args; local
2055 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); local
[all...]
H A Dzend_opcode.c74 op_array->num_args = 0;
395 int32_t num_args = op_array->num_args; local
401 num_args++;
404 num_args++;
406 for (i = 0 ; i < num_args; i++) {
/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/standard/
H A Dbrowscap.c347 static int browser_reg_compare(zval *browser, int num_args, va_list args, zend_hash_key *key) /* {{{ */ argument
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));
/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.c562 uint32_t num_args = op_array->num_args; local
566 num_args++;
575 num_args++;
577 zend_accel_store(arg_info, sizeof(zend_arg_info) * num_args);
578 for (i = 0; i < num_args; i++) {
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_frame.c137 m = func ? func->common.num_args : 0;
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_handlers.c276 f.num_args = 0;
312 f.num_args = bindptr.lpfuncdesc->cParams;
405 f.num_args = 0; \
/PHP_TRUNK/ext/wddx/
H A Dwddx.c1102 int num_args, i; local
1106 if (zend_parse_parameters(ZEND_NUM_ARGS(), "+", &args, &num_args) == FAILURE) {
1115 for (i=0; i<num_args; i++) {
1211 int num_args, i; local
1216 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r+", &packet_id, &args, &num_args) == FAILURE) {
1224 for (i=0; i<num_args; i++) {
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c725 uint32_t i, num_args, required = fptr->common.required_num_args; local
731 num_args = fptr->common.num_args;
733 num_args++;
736 string_printf(str, "%s- Parameters [%d] {\n", indent, num_args);
737 for (i = 0; i < num_args; i++) {
939 static int _extension_ini_string(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
976 static int _extension_class_string(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
996 static int _extension_const_string(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1883 int result, num_args local
2011 uint32_t num_args; local
2045 uint32_t i, num_args; local
2305 uint32_t num_args; local
3036 int result, num_args = 0; local
3971 _addmethod_va(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
4126 _addproperty(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
4147 _adddynproperty(zval *ptr, int num_args, va_list args, zend_hash_key *hash_key) argument
4444 int ret, i, num_args = 0; local
5510 _addconstant(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
5543 _addinientry(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
5581 add_extension_class(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) argument
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c1303 ifunc->num_args = funcs->num_args;
1305 ifunc->required_num_args = funcs->num_args;
1312 if (funcs->arg_info[funcs->num_args].is_variadic) {
1315 ifunc->num_args--;
1319 ifunc->num_args = 0;

Completed in 48 milliseconds

12