Searched refs:num_args (Results 1 - 25 of 42) sorted by relevance

12

/PHP_TRUNK/ext/opcache/
H A Dzend_persist.c422 uint32_t i, num_args; local
424 num_args = op_array->num_args;
426 num_args++;
428 zend_accel_store(op_array->arg_info, sizeof(zend_arg_info) * num_args);
429 for (i = 0; i < num_args; i++) {
H A Dzend_persist_calc.c197 uint32_t i, num_args; local
199 num_args = op_array->num_args;
201 num_args++;
203 ADD_DUP_SIZE(op_array->arg_info, sizeof(zend_arg_info) * num_args);
204 for (i = 0; i < num_args; i++) {
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c1304 ifunc->num_args = funcs->num_args;
1306 ifunc->required_num_args = funcs->num_args;
1313 if (funcs->arg_info[funcs->num_args].is_variadic) {
1316 ifunc->num_args--;
1320 ifunc->num_args = 0;
/PHP_TRUNK/Zend/
H A Dzend_closures.c363 uint32_t i, num_args, required = closure->func.common.required_num_args; local
367 num_args = closure->func.common.num_args;
369 num_args++;
371 for (i = 0; i < num_args; i++) {
H A Dzend_compile.h308 uint32_t num_args; member in struct:_zend_op_array
358 uint32_t num_args; member in struct:_zend_internal_function
378 uint32_t num_args; member in struct:_zend_function::__anon11
434 (call)->This.u2.num_args
838 if (UNEXPECTED(arg_num >= zf->common.num_args)) {
842 arg_num = zf->common.num_args;
H A Dzend_execute.h146 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
153 ZEND_CALL_NUM_ARGS(call) = num_args;
159 static zend_always_inline uint32_t zend_vm_calc_used_stack(uint32_t num_args, zend_function *func) argument
161 uint32_t used_stack = ZEND_CALL_FRAME_SLOT + num_args;
164 used_stack += func->op_array.last_var + func->op_array.T - MIN(func->op_array.num_args, num_args);
169 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
171 uint32_t used_stack = zend_vm_calc_used_stack(num_args, func);
174 func, num_args, called_scope, object, prev);
181 zval *p = end + (ZEND_CALL_NUM_ARGS(call) - call->func->op_array.num_args);
191 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); local
[all...]
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_inheritance.c216 uint32_t i, num_args; local
242 || proto->common.num_args > fe->common.num_args) {
261 num_args = proto->common.num_args;
263 num_args++;
264 if (fe->common.num_args >= proto->common.num_args) {
265 num_args = fe->common.num_args;
386 uint32_t i, num_args, required; local
[all...]
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.h107 ZEND_API int zval_copy_static_var(zval *p, int num_args, va_list args, zend_hash_key *key);
H A Dzend_API.h39 uint32_t num_args; member in struct:_zend_function_entry
252 ZEND_API int zend_parse_parameters(int num_args, const char *type_spec, ...);
253 ZEND_API int zend_parse_parameters_ex(int flags, int num_args, const char *type_spec, ...);
256 ZEND_API int zend_parse_method_parameters(int num_args, zval *this_ptr, const char *type_spec, ...);
257 ZEND_API int zend_parse_method_parameters_ex(int flags, int num_args, zval *this_ptr, const char *type_spec, ...);
697 ZEND_API void zend_wrong_paramers_count_error(int num_args, int min_num_args, int max_num_args);
H A Dzend_API.c236 ZEND_API void zend_wrong_paramers_count_error(int num_args, int min_num_args, int max_num_args) /* {{{ */ argument
245 min_num_args == max_num_args ? "exactly" : num_args < min_num_args ? "at least" : "at most",
246 num_args < min_num_args ? min_num_args : max_num_args,
247 (num_args < min_num_args ? min_num_args : max_num_args) == 1 ? "" : "s",
248 num_args);
617 static int zend_parse_va_args(int num_args, const char *type_spec, va_list *va, int flags) /* {{{ */ argument
701 if (num_args < min_num_args || (num_args > max_num_args && max_num_args > 0)) {
709 min_num_args == max_num_args ? "exactly" : num_args < min_num_args ? "at least" : "at most",
710 num_args < min_num_arg
781 zend_parse_parameters_ex(int flags, int num_args, const char *type_spec, ...) argument
796 zend_parse_parameters(int num_args, const char *type_spec, ...) argument
811 zend_parse_method_parameters(int num_args, zval *this_ptr, const char *type_spec, ...) argument
852 zend_parse_method_parameters_ex(int flags, int num_args, zval *this_ptr, const char *type_spec, ...) argument
[all...]
H A Dzend_builtin_functions.c445 first_extra_arg = ex->func->op_array.num_args;
473 first_extra_arg = ex->func->op_array.num_args;
1758 static int copy_class_or_interface_name(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1827 static int copy_function_name(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
2152 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); local
2154 array_init_size(arg_array, num_args);
2155 if (num_args) {
2162 uint32_t first_extra_arg = call->func->op_array.num_args;
2176 while (i < num_args) {
H A Dzend_opcode.c71 op_array->num_args = 0;
370 uint32_t num_args = op_array->num_args; local
373 num_args++;
375 for (i = 0; i < num_args; i++) {
H A Dzend_variables.c307 ZEND_API int zval_copy_static_var(zval *p, int num_args, va_list args, zend_hash_key *key) /* {{{ */ argument
H A Dzend_execute.c78 0, /* num_args */
618 if (EXPECTED(arg_num <= zf->internal_function.num_args)) {
621 cur_arg_info = &zf->internal_function.arg_info[zf->internal_function.num_args];
663 if (EXPECTED(arg_num <= zf->common.num_args)) {
666 cur_arg_info = &zf->common.arg_info[zf->common.num_args];
708 if (EXPECTED(arg_num <= zf->common.num_args)) {
711 cur_arg_info = &zf->common.arg_info[zf->common.num_args];
1596 * | VAR[op_array->num_args-1] = ARG[N] |
1609 uint32_t first_extra_arg, num_args; local
1617 first_extra_arg = op_array->num_args;
1714 uint32_t first_extra_arg, num_args; local
1795 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); local
[all...]
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_handlers.c276 f.num_args = 0;
311 f.num_args = bindptr.lpfuncdesc->cParams;
404 f.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/standard/
H A Dbrowscap.c348 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/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++) {
1212 int num_args, i; local
1217 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r+", &packet_id, &args, &num_args) == FAILURE) {
1229 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/reflection/
H A Dphp_reflection.c754 uint32_t i, num_args, required = fptr->common.required_num_args; local
760 num_args = fptr->common.num_args;
762 num_args++;
765 string_printf(str, "%s- Parameters [%d] {\n", indent, num_args);
766 for (i = 0; i < num_args; i++) {
955 static int _extension_ini_string(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
992 static int _extension_class_string(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1012 static int _extension_const_string(zval *el, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1891 int result, num_args local
2019 uint32_t num_args; local
2053 uint32_t i, num_args; local
2145 uint32_t num_args; local
2874 int result, num_args = 0; local
3785 _addmethod_va(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
3940 _addproperty(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
3961 _adddynproperty(zval *ptr, int num_args, va_list args, zend_hash_key *hash_key) argument
4244 int ret, i, num_args = 0; local
5306 _addconstant(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
5339 _addinientry(zval *el, int num_args, va_list args, zend_hash_key *hash_key) argument
5377 add_extension_class(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) argument
[all...]

Completed in 45 milliseconds

12