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

12

/PHP_TRUNK/Zend/
H A Dzend_extensions.c197 static void zend_extension_message_dispatcher(const zend_extension *extension, int num_args, va_list args TSRMLS_DC) argument
202 if (!extension->message_handler || num_args!=2) {
H A Dzend_llist.c239 ZEND_API void zend_llist_apply_with_arguments(zend_llist *l, llist_apply_with_args_func_t func TSRMLS_DC, int num_args, ...) argument
244 va_start(args, num_args);
246 func(element->data, num_args, args TSRMLS_CC);
H A Dzend_llist.h33 typedef void (*llist_apply_with_args_func_t)(void *data, int num_args, va_list args TSRMLS_DC);
61 ZEND_API void zend_llist_apply_with_arguments(zend_llist *l, llist_apply_with_args_func_t func TSRMLS_DC, int num_args, ...);
H A Dzend_variables.h87 ZEND_API int zval_copy_static_var(zval *p TSRMLS_DC, int num_args, va_list args, zend_hash_key *key);
H A Dzend_API.c53 arg_count = EG(current_execute_data)->num_args;
89 arg_count = EG(current_execute_data)->num_args;
113 arg_count = EG(current_execute_data)->num_args;
135 arg_count = EG(current_execute_data)->num_args;
304 ZEND_API void zend_wrong_paramers_count_error(int num_args, int min_num_args, int max_num_args TSRMLS_DC) /* {{{ */ argument
313 min_num_args == max_num_args ? "exactly" : num_args < min_num_args ? "at least" : "at most",
314 num_args < min_num_args ? min_num_args : max_num_args,
315 (num_args < min_num_args ? min_num_args : max_num_args) == 1 ? "" : "s",
316 num_args);
909 static int zend_parse_va_args(int num_args, cons argument
[all...]
H A Dzend_API.h39 zend_uint 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_builtin_functions.c406 RETURN_INT(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) {
1693 static int copy_class_or_interface_name(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
1764 static int copy_function_name(zval *zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
2108 int num_args local
[all...]
H A Dzend_compile.c1819 if (name_len == sizeof(ZEND_AUTOLOAD_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_AUTOLOAD_FUNC_NAME, sizeof(ZEND_AUTOLOAD_FUNC_NAME)) && CG(active_op_array)->num_args != 1) {
1847 if (EX_VAR_TO_NUM(var.u.op.var) != CG(active_op_array)->num_args) {
1874 CG(active_op_array)->num_args++;
1878 opline->op1.num = CG(active_op_array)->num_args;
1884 CG(active_op_array)->required_num_args = CG(active_op_array)->num_args;
1887 CG(active_op_array)->arg_info = erealloc(CG(active_op_array)->arg_info, sizeof(zend_arg_info)*(CG(active_op_array)->num_args));
1888 cur_arg_info = &CG(active_op_array)->arg_info[CG(active_op_array)->num_args-1];
2542 static int zend_do_convert_call(zend_op *init_opline, zend_op *opline, zend_int_t num_args, zend_function **func_ptr TSRMLS_DC) /* {{{ */ argument
2559 opline->extended_value = num_args;
2571 opline->extended_value = num_args;
3591 zend_uint i, num_args; local
[all...]
H A Dzend_compile.h256 zend_uint num_args; member in struct:_zend_op_array
309 zend_uint num_args; member in struct:_zend_internal_function
329 zend_uint num_args; member in struct:_zend_function::__anon11
370 zend_uint num_args; member in struct:_zend_execute_data
819 (EXPECTED(arg_num <= (zf)->common.num_args) \
822 ((zf)->common.arg_info[(zf)->common.num_args-1].pass_by_reference & (m))))
H A Dzend_execute.c89 0, /* num_args */
587 if (EXPECTED(arg_num <= zf->common.num_args)) {
590 cur_arg_info = &zf->common.arg_info[zf->common.num_args-1];
636 if (EXPECTED(arg_num <= zf->common.num_args)) {
639 cur_arg_info = &zf->common.arg_info[zf->common.num_args-1];
1497 execute_data->func->internal_function.handler(execute_data->num_args, return_value TSRMLS_CC);
1542 * | VAR[op_array->num_args-1] = ARG[N] |
1568 EX(opline) += MIN(EX(num_args), op_array->required_num_args);
1572 first_extra_arg = op_array->num_args;
1577 if (UNEXPECTED(EX(num_args) > first_extra_ar
1586 int num_args = MIN(op_array->num_args, EX(num_args)); local
1677 int num_args = MIN(op_array->num_args, EX(num_args)); local
1721 zend_uint num_args = call->num_args; local
[all...]
H A Dzend_execute.h211 static zend_always_inline zend_execute_data *zend_vm_stack_push_call_frame(zend_function *func, zend_uint num_args, zend_uchar flags, zend_class_entry *called_scope, zend_object *object, zend_execute_data *prev TSRMLS_DC) argument
213 int used_stack = ZEND_CALL_FRAME_SLOT + num_args;
217 used_stack += func->op_array.last_var + func->op_array.T - MIN(func->op_array.num_args, num_args);
223 call->num_args = 0;
233 zend_uint first_extra_arg = call->func->op_array.num_args - ((call->func->common.fn_flags & ZEND_ACC_VARIADIC) != 0);
235 if (UNEXPECTED(call->num_args > first_extra_arg)) {
237 zval *p = end + (call->num_args - first_extra_arg);
247 zend_uint num_args = call->num_args; local
[all...]
H A Dzend_opcode.c78 op_array->num_args = 0;
376 for (i=0; i<op_array->num_args; i++) {
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_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_vm_def.h2677 for (i = 0; i < call->num_args; ++i) {
2702 fbc->internal_function.handler(call->num_args, ret TSRMLS_CC);
2760 call->object->handlers->call_method(fbc->common.function_name, call->object, call->num_args, EX_VAR(opline->result.var) TSRMLS_CC);
3007 EX(call)->num_args = opline->op2.num;
3029 EX(call)->num_args = opline->op2.num;
3047 EX(call)->num_args = opline->op2.num;
3087 EX(call)->num_args = opline->op2.num;
3096 EX(call)->num_args = opline->op2.num;
3118 EX(call)->num_args = opline->op2.num;
3152 EX(call)->num_args
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_persist_calc.c199 ADD_DUP_SIZE(op_array->arg_info, sizeof(zend_arg_info) * op_array->num_args);
200 for (i = 0; i < op_array->num_args; i++) {
H A Dzend_persist.c404 zend_accel_store(op_array->arg_info, sizeof(zend_arg_info) * op_array->num_args);
405 for (i = 0; i < op_array->num_args; i++) {
/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() 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/pdo/
H A Dpdo_dbh.c1306 ifunc->num_args = funcs->num_args;
1308 ifunc->required_num_args = funcs->num_args;
1315 if (funcs->arg_info[funcs->num_args].is_variadic) {
1320 ifunc->num_args = 0;
/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
1880 int result, num_args = 0; local
1889 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "*", &params, &num_args) == FAILURE) {
1899 fci.param_count = num_args;
2012 RETURN_INT(fptr->common.num_args);
2045 for (i = 0; i < fptr->common.num_args;
2814 int result, num_args = 0; local
3728 _addmethod_va(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
3883 _addproperty(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
3904 _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
5239 _addconstant(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
5272 _addinientry(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
5307 add_extension_class(zval *zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
[all...]
/PHP_TRUNK/ext/standard/
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));
/PHP_TRUNK/ext/wddx/
H A Dwddx.c1109 int num_args, i; local
1113 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "+", &args, &num_args) == FAILURE) {
1122 for (i=0; i<num_args; i++) {
1216 int num_args, i; local
1221 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r+", &packet_id, &args, &num_args) == FAILURE) {
1233 for (i=0; i<num_args; i++) {
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_frame.c136 int j = 0, m = func ? func->common.num_args : 0;

Completed in 66 milliseconds

12