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 TSRMLS_DC) argument
210 if (!extension->message_handler || num_args!=2) {
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_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_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.h107 ZEND_API int zval_copy_static_var(zval *p TSRMLS_DC, int num_args, va_list args, zend_hash_key *key);
H A Dzend_variables.c311 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_builtin_functions.c445 first_extra_arg = ex->func->op_array.num_args;
478 first_extra_arg = ex->func->op_array.num_args;
1658 static int copy_class_or_interface_name(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1728 static int copy_function_name(zval *zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
2053 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); local
2055 array_init_size(arg_array, num_args);
2056 if (num_args) {
2061 uint32_t first_extra_arg = call->func->op_array.num_args;
2077 while (i < num_args) {
H A Dzend_opcode.c71 op_array->num_args = 0;
372 for (i=0; i<op_array->num_args; i++) {
H A Dzend_generators.c208 static int copy_closure_static_var(zval *var TSRMLS_DC, int num_args, va_list args, zend_hash_key *key) /* {{{ */ argument
H A Dzend_execute.c78 0, /* num_args */
622 if (EXPECTED(arg_num <= zf->internal_function.num_args)) {
625 cur_arg_info = &zf->internal_function.arg_info[zf->internal_function.num_args-1];
671 if (EXPECTED(arg_num <= zf->common.num_args)) {
674 cur_arg_info = &zf->common.arg_info[zf->common.num_args-1];
720 if (EXPECTED(arg_num <= zf->common.num_args)) {
723 cur_arg_info = &zf->common.arg_info[zf->common.num_args-1];
1607 * | VAR[op_array->num_args-1] = ARG[N] |
1620 uint32_t first_extra_arg, num_args; local
1628 first_extra_arg = op_array->num_args;
1720 uint32_t first_extra_arg, num_args; local
1796 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); local
[all...]
H A Dzend_inheritance.c218 uint32_t i, num_args; local
244 || proto->common.num_args > fe->common.num_args) {
263 num_args = proto->common.num_args;
265 && fe->common.num_args > proto->common.num_args) {
266 num_args = fe->common.num_args;
269 for (i = 0; i < num_args;
[all...]
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, ...);
698 ZEND_API void zend_wrong_paramers_count_error(int num_args, int min_num_args, int max_num_args TSRMLS_DC);
H A Dzend_API.c279 ZEND_API void zend_wrong_paramers_count_error(int num_args, int min_num_args, int max_num_args TSRMLS_DC) /* {{{ */ argument
288 min_num_args == max_num_args ? "exactly" : num_args < min_num_args ? "at least" : "at most",
289 num_args < min_num_args ? min_num_args : max_num_args,
290 (num_args < min_num_args ? min_num_args : max_num_args) == 1 ? "" : "s",
291 num_args);
827 static int zend_parse_va_args(int num_args, const char *type_spec, va_list *va, int flags TSRMLS_DC) /* {{{ */ argument
911 if (num_args < min_num_args || (num_args > max_num_args && max_num_args > 0)) {
919 min_num_args == max_num_args ? "exactly" : num_args < min_num_args ? "at least" : "at most",
920 num_args < min_num_arg
[all...]
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 TSRMLS_DC) 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 TSRMLS_DC) argument
171 uint32_t used_stack = zend_vm_calc_used_stack(num_args, func);
174 func, num_args, called_scope, object, prev TSRMLS_CC);
179 uint32_t first_extra_arg = call->func->op_array.num_args
193 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); local
[all...]
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::__anon2
433 (call)->This.u2.num_args
838 if (UNEXPECTED(arg_num > zf->common.num_args)) {
842 arg_num = zf->common.num_args;
/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/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.c115 int num_args, i; local
125 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "+", &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 TSRMLS_CC, E_WARNING, "%d arguments unused", (num_args - currentarg));
/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/wddx/
H A Dwddx.c1111 int num_args, i; local
1115 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "+", &args, &num_args) == FAILURE) {
1124 for (i=0; i<num_args; i++) {
1218 int num_args, i; local
1223 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r+", &packet_id, &args, &num_args) == FAILURE) {
1235 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/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.c424 zend_accel_store(op_array->arg_info, sizeof(zend_arg_info) * op_array->num_args);
425 for (i = 0; i < op_array->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) {
1318 ifunc->num_args = 0;
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c768 string_printf(str, "%s- Parameters [%d] {\n", indent, fptr->common.num_args);
769 for (i = 0; i < fptr->common.num_args; i++) {
958 static int _extension_ini_string(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
995 static int _extension_class_string(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1015 static int _extension_const_string(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1894 int result, num_args = 0; local
1903 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "*", &params, &num_args) == FAILURE) {
1913 fci.param_count = num_args;
2026 RETURN_LONG(fptr->common.num_args);
2059 for (i = 0; i < fptr->common.num_args;
2862 int result, num_args = 0; local
3773 _addmethod_va(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
3928 _addproperty(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
3949 _adddynproperty(zval *ptr TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
4232 int ret, i, num_args = 0; local
5293 _addconstant(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
5326 _addinientry(zval *el TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
5364 add_extension_class(zval *zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
[all...]

Completed in 51 milliseconds

12