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

12

/PHP_TRUNK/Zend/
H A Dzend_variables.c306 ZEND_API int zval_copy_static_var(zval *p TSRMLS_DC, int num_args, va_list args, zend_hash_key *key) /* {{{ */ argument
H A Dzend_generators.c213 static int copy_closure_static_var(zval *var TSRMLS_DC, int num_args, va_list args, zend_hash_key *key) /* {{{ */ argument
H A Dzend_extensions.c205 static void zend_extension_message_dispatcher(const zend_extension *extension, int num_args, va_list args TSRMLS_DC) argument
210 if (!extension->message_handler || num_args!=2) {
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 TSRMLS_DC, const char *type_spec, ...);
253 ZEND_API int zend_parse_parameters_ex(int flags, int num_args TSRMLS_DC, const char *type_spec, ...);
256 ZEND_API int zend_parse_method_parameters(int num_args TSRMLS_DC, zval *this_ptr, const char *type_spec, ...);
257 ZEND_API int zend_parse_method_parameters_ex(int flags, int num_args TSRMLS_DC, zval *this_ptr, const char *type_spec, ...);
715 ZEND_API void zend_wrong_paramers_count_error(int num_args, int min_num_args, int max_num_args TSRMLS_DC);
732 int _num_args = EG(current_execute_data)->num_args; \
H A Dzend_llist.c233 ZEND_API void zend_llist_apply_with_arguments(zend_llist *l, llist_apply_with_args_func_t func TSRMLS_DC, int num_args, ...) argument
238 va_start(args, num_args);
240 func(element->data, num_args, args TSRMLS_CC);
H A Dzend_ts_hash.c161 ZEND_API void zend_ts_hash_apply_with_arguments(TsHashTable *ht TSRMLS_DC, 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) TSRMLS_CC, apply_func, num_args, args);
H A Dzend_execute.h201 static zend_always_inline zend_execute_data *zend_vm_stack_push_call_frame(zend_function *func, uint32_t num_args, zend_uchar flags, zend_class_entry *called_scope, zend_object *object, zend_execute_data *prev TSRMLS_DC) argument
203 uint32_t used_stack = ZEND_CALL_FRAME_SLOT + num_args;
207 used_stack += func->op_array.last_var + func->op_array.T - MIN(func->op_array.num_args, num_args);
213 call->num_args = 0;
223 uint32_t first_extra_arg = call->func->op_array.num_args - ((call->func->common.fn_flags & ZEND_ACC_VARIADIC) != 0);
225 if (UNEXPECTED(call->num_args > first_extra_arg)) {
227 zval *p = end + (call->num_args - first_extra_arg);
237 uint32_t num_args = call->num_args; local
[all...]
H A Dzend_hash.c1076 ZEND_API void zend_hash_apply_with_arguments(HashTable *ht TSRMLS_DC, apply_func_args_t apply_func, int num_args, ...) argument
1091 va_start(args, num_args);
1095 result = apply_func(&p->val TSRMLS_CC, num_args, args, &hash_key);
H A Dzend_API.c54 arg_count = EG(current_execute_data)->num_args;
90 arg_count = EG(current_execute_data)->num_args;
114 arg_count = EG(current_execute_data)->num_args;
136 arg_count = EG(current_execute_data)->num_args;
305 ZEND_API void zend_wrong_paramers_count_error(int num_args, int min_num_args, int max_num_args TSRMLS_DC) /* {{{ */ argument
314 min_num_args == max_num_args ? "exactly" : num_args < min_num_args ? "at least" : "at most",
315 num_args < min_num_args ? min_num_args : max_num_args,
316 (num_args < min_num_args ? min_num_args : max_num_args) == 1 ? "" : "s",
317 num_args);
849 static int zend_parse_va_args(int num_args, cons argument
[all...]
H A Dzend_execute.c78 0, /* num_args */
567 if (EXPECTED(arg_num <= zf->common.num_args)) {
570 cur_arg_info = &zf->common.arg_info[zf->common.num_args-1];
616 if (EXPECTED(arg_num <= zf->common.num_args)) {
619 cur_arg_info = &zf->common.arg_info[zf->common.num_args-1];
1408 execute_data->func->internal_function.handler(execute_data->num_args, return_value TSRMLS_CC);
1453 * | VAR[op_array->num_args-1] = ARG[N] |
1466 uint32_t first_extra_arg, num_args; local
1479 first_extra_arg = op_array->num_args;
1483 num_args
1574 uint32_t first_extra_arg, num_args; local
1649 uint32_t num_args = call->num_args; local
[all...]
H A Dzend_builtin_functions.c406 RETURN_LONG(ex->num_args);
438 arg_count = ex->num_args;
445 first_extra_arg = ex->func->op_array.num_args;
449 if (requested_offset >= first_extra_arg && (ex->num_args > first_extra_arg)) {
472 arg_count = ex->num_args;
478 first_extra_arg = ex->func->op_array.num_args;
486 if (ex->num_args > first_extra_arg) {
1670 static int copy_class_or_interface_name(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1740 static int copy_function_name(zval *zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
2080 uint32_t num_args local
[all...]
H A Dzend_inheritance.c194 uint32_t i, num_args; local
220 || proto->common.num_args > fe->common.num_args) {
239 num_args = proto->common.num_args;
241 && fe->common.num_args > proto->common.num_args) {
242 num_args = fe->common.num_args;
245 for (i = 0; i < num_args;
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_util_funcs.c181 static int move_user_function(zval *zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
185 (void)num_args; /* keep the compiler happy */
/PHP_TRUNK/ext/interbase/
H A Dibase_events.c128 int num_args; local
140 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "+", &args, &num_args) == FAILURE) {
271 int link_res_id, num_args; local
280 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "+", &args, &num_args) == FAILURE) {
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c762 string_printf(str, "%s- Parameters [%d] {\n", indent, fptr->common.num_args);
763 for (i = 0; i < fptr->common.num_args; i++) {
952 static int _extension_ini_string(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
989 static int _extension_class_string(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1006 static int _extension_const_string(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1881 int result, num_args = 0; local
1890 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "*", &params, &num_args) == FAILURE) {
1900 fci.param_count = num_args;
2013 RETURN_LONG(fptr->common.num_args);
2046 for (i = 0; i < fptr->common.num_args;
2815 int result, num_args = 0; local
3729 _addmethod_va(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
3884 _addproperty(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
3905 _adddynproperty(zval *ptr TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
4183 int ret, i, num_args = 0; local
5244 _addconstant(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
5277 _addinientry(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
5315 add_extension_class(zval *zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
[all...]
/PHP_TRUNK/ext/session/
H A Dsession.c1768 int i, num_args, argc = ZEND_NUM_ARGS(); local
1857 if (zend_parse_parameters(argc TSRMLS_CC, "+", &args, &num_args) == FAILURE) {
/PHP_TRUNK/ext/soap/
H A Dsoap.c659 fe.num_args = 2;
1284 int num_args = 0; local
1291 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S*", &classname, &argv, &num_args) == FAILURE) {
1302 service->soap_class.argc = num_args;
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c2075 int num_args = pass_num_args + (arg2 ? 2 : 1); local
2077 zval *params = (zval*)safe_emalloc(num_args, sizeof(zval), 0);
2093 fci.param_count = num_args;
/PHP_TRUNK/ext/standard/
H A Darray.c1531 uint32_t num_args, i; local
1534 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "+", &args, &num_args) == FAILURE) {
H A Dbasic_functions.c4525 static int add_config_entry_cb(zval *entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
5225 static int php_ini_get_option(zval *zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
H A Dbrowscap.c348 static int browser_reg_compare(zval *browser TSRMLS_DC, int num_args, va_list args, zend_hash_key *key) /* {{{ */ argument
H A Dpack.c109 int num_args, i; local
119 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "+", &argv, &num_args) == FAILURE) {
176 if (currentarg >= num_args) {
216 arg = num_args - currentarg;
221 if (currentarg > num_args) {
240 if (currentarg < num_args) {
241 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%d arguments unused", (num_args - currentarg));
H A Dstring.c4188 int num_args, cat, i = 0; local
4192 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z+", &pcategory, &args, &num_args) == FAILURE) {
4286 if (++i >= num_args) break;
5130 int result, num_args = 0; local
5133 &args, &num_args) == FAILURE) {
5137 result = php_sscanf_internal(str, format, num_args, args, 0, return_value TSRMLS_CC);
/PHP_TRUNK/ext/wddx/
H A Dwddx.c1110 int num_args, i; local
1114 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "+", &args, &num_args) == FAILURE) {
1123 for (i=0; i<num_args; i++) {
1217 int num_args, i; local
1222 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r+", &packet_id, &args, &num_args) == FAILURE) {
1234 for (i=0; i<num_args; i++) {
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c644 static int sapi_cli_server_register_entry_cb(char **entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ { argument

Completed in 90 milliseconds

12