Searched refs:num_args (Results 1 - 25 of 42) 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_ts_hash.c172 ZEND_API void zend_ts_hash_apply_with_arguments(TsHashTable *ht TSRMLS_DC, apply_func_args_t apply_func, int num_args, ...) argument
176 va_start(args, num_args);
178 zend_hash_apply_with_arguments(TS_HASH(ht) TSRMLS_CC, apply_func, num_args, args);
H A Dzend_variables.h48 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.h39 zend_uint num_args; member in struct:_zend_function_entry
257 ZEND_API int zend_parse_parameters(int num_args TSRMLS_DC, const char *type_spec, ...);
258 ZEND_API int zend_parse_parameters_ex(int flags, int num_args TSRMLS_DC, const char *type_spec, ...);
261 ZEND_API int zend_parse_method_parameters(int num_args TSRMLS_DC, zval *this_ptr, const char *type_spec, ...);
262 ZEND_API int zend_parse_method_parameters_ex(int flags, int num_args TSRMLS_DC, zval *this_ptr, const char *type_spec, ...);
H A Dzend_exceptions.c370 static int _build_trace_args(zval **arg TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
516 static int _build_trace_string(zval **frame TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
H A Dzend_variables.c197 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_API.c729 static int zend_parse_va_args(int num_args, const char *type_spec, va_list *va, int flags TSRMLS_DC) /* {{{ */ argument
811 if (num_args < min_num_args || (num_args > max_num_args && max_num_args > 0)) {
819 min_num_args == max_num_args ? "exactly" : num_args < min_num_args ? "at least" : "at most",
820 num_args < min_num_args ? min_num_args : max_num_args,
821 (num_args < min_num_args ? min_num_args : max_num_args) == 1 ? "" : "s",
822 num_args);
829 if (num_args > arg_count) {
836 while (num_args-- > 0) {
842 int num_varargs = num_args
1019 zend_merge_property(zval **value TSRMLS_DC, int num_args, va_list args, const zend_hash_key *hash_key) argument
[all...]
H A Dzend_hash.c682 ZEND_API void zend_hash_apply_with_arguments(HashTable *ht TSRMLS_DC, apply_func_args_t apply_func, int num_args, ...) argument
697 va_start(args, num_args);
701 result = apply_func(p->pData TSRMLS_CC, num_args, args, &hash_key);
H A Dzend_compile.c1850 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) {
1903 CG(active_op_array)->num_args++;
1907 opline->op1.num = CG(active_op_array)->num_args;
1913 CG(active_op_array)->required_num_args = CG(active_op_array)->num_args;
1916 CG(active_op_array)->arg_info = erealloc(CG(active_op_array)->arg_info, sizeof(zend_arg_info)*(CG(active_op_array)->num_args));
1917 cur_arg_info = &CG(active_op_array)->arg_info[CG(active_op_array)->num_args-1];
3215 zend_uint i, num_args; local
3241 || proto->common.num_args > fe->common.num_args) {
3260 num_args
3871 do_interface_constant_check(zval **val TSRMLS_DC, int num_args, va_list args, const zend_hash_key *key) argument
4095 zend_traits_copy_functions(zend_function *fn TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
[all...]
H A Dzend_compile.h274 zend_uint num_args; member in struct:_zend_op_array
331 zend_uint num_args; member in struct:_zend_internal_function
351 zend_uint num_args; member in struct:_zend_function::__anon2
842 (arg_num <= (zf)->common.num_args \
845 ? ((zf)->common.arg_info[(zf)->common.num_args-1].pass_by_reference & (m)) : 0))
H A Dzend_opcode.c82 op_array->num_args = 0;
405 for (i=0; i<op_array->num_args; i++) {
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_handlers.c283 f.num_args = 0;
318 f.num_args = bindptr.lpfuncdesc->cParams;
415 f.num_args = 0; \
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_bt.c53 mysqlnd_build_trace_args(zval **arg TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
150 mysqlnd_build_trace_string(zval **frame TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
/PHP_TRUNK/ext/standard/
H A Dbrowscap.c372 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) {
217 arg = num_args - currentarg;
222 if (currentarg > num_args) {
243 if (currentarg < num_args) {
244 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%d arguments unused", (num_args - currentarg));
H A Dvar.c38 static int php_array_element_dump(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
56 static int php_object_property_dump(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
189 static int zval_array_element_dump(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
213 static int zval_object_property_dump(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
344 static int php_array_element_export(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
381 static int php_object_element_export(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
/PHP_TRUNK/ext/wddx/
H A Dwddx.c1184 int num_args, i; local
1188 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "+", &args, &num_args) == FAILURE) {
1197 for (i=0; i<num_args; i++) {
1287 int num_args, i; local
1292 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r+", &packet_id, &args, &num_args) == FAILURE) {
1306 for (i=0; i<num_args; i++) {
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c1313 ifunc->num_args = funcs->num_args;
1315 ifunc->required_num_args = funcs->num_args;
1322 if (funcs->arg_info[funcs->num_args].is_variadic) {
1327 ifunc->num_args = 0;
/PHP_TRUNK/ext/interbase/
H A Dibase_events.c129 int num_args; local
141 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "+", &args, &num_args) == FAILURE) {
273 int link_res_id, num_args; local
282 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "+", &args, &num_args) == FAILURE) {
/PHP_TRUNK/ext/opcache/
H A Dzend_persist_calc.c211 ADD_DUP_SIZE(op_array->arg_info, sizeof(zend_arg_info) * op_array->num_args);
212 for (i = 0; i < op_array->num_args; i++) {
H A Dzend_persist.c399 zend_accel_store(op_array->arg_info, sizeof(zend_arg_info) * op_array->num_args);
400 for (i = 0; i < op_array->num_args; i++) {
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_frame.c136 int j = 0, m = func ? func->common.num_args : 0;
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c784 string_printf(str, "%s- Parameters [%d] {\n", indent, fptr->common.num_args);
785 for (i = 0; i < fptr->common.num_args; i++) {
974 static int _extension_ini_string(zend_ini_entry *ini_entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1010 static int _extension_class_string(zend_class_entry **pce TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1026 static int _extension_const_string(zend_constant *constant TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ argument
1905 int result, num_args = 0; local
1914 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "*", &params, &num_args) == FAILURE) {
1924 fci.param_count = num_args;
1936 if (num_args) {
2041 RETURN_LONG(fptr->common.num_args);
2849 int result, num_args = 0; local
3787 _addmethod_va(zend_function *mptr TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
3940 _addproperty(zend_property_info *pptr TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
3961 _adddynproperty(zval **pptr TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
4244 int num_args = 0; local
5322 _addconstant(zend_constant *constant TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
5357 _addinientry(zend_ini_entry *ini_entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
5391 add_extension_class(zend_class_entry **pce TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) argument
[all...]

Completed in 72 milliseconds

12