Searched refs:arg_info (Results 1 - 24 of 24) sorted by relevance

/PHP_TRUNK/ext/spl/
H A Dspl_functions.h71 #define SPL_ME(class_name, function_name, arg_info, flags) \
72 PHP_ME( spl_ ## class_name, function_name, arg_info, flags)
74 #define SPL_ABSTRACT_ME(class_name, function_name, arg_info) \
75 ZEND_ABSTRACT_ME( spl_ ## class_name, function_name, arg_info)
80 #define SPL_MA(class_name, function_name, alias_class, alias_function, arg_info, flags) \
81 PHP_MALIAS(spl_ ## alias_class, function_name, alias_function, arg_info, flags)
/PHP_TRUNK/
H A Dserver-tests.php623 foreach ($this->xargs as $arg=>$arg_info) {
624 $usage .= sprintf(" -%s %-12s %s\n",$arg,$arg_info[1],$arg_info[3]);
702 foreach ($this->xargs as $arg=>$arg_info) {
703 if ($arg_info[0]) {
705 $this->conf[$arg_info[0]]=$arg_info[2];
707 $this->setEnvConfigVar($arg_info[0]);
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_com.c497 if (f->arg_info) {
499 if (f->arg_info[nargs - i - 1].pass_by_reference) {
508 if (f->arg_info[nargs - i - 1].pass_by_reference) {
552 if (f && f->arg_info) {
555 if (f->arg_info[nargs - i - 1].pass_by_reference) {
H A Dcom_handlers.c242 if (f->arg_info) {
243 efree(f->arg_info);
277 f.arg_info = NULL;
303 f.arg_info = ecalloc(bindptr.lpfuncdesc->cParams, sizeof(zend_arg_info));
306 f.arg_info[i].allow_null = 1;
308 f.arg_info[i].pass_by_reference = 1;
404 f.arg_info = NULL; \
/PHP_TRUNK/ext/zip/
H A Dphp_zip.h73 #define ZIPARCHIVE_ME(name, arg_info, flags) {#name, c_ziparchive_ ##name, arg_info,(uint32_t) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_frame.c133 arginfo = func->common.arg_info;
/PHP_TRUNK/ext/opcache/
H A Dzend_file_cache.c421 if (op_array->arg_info) {
423 SERIALIZE_PTR(op_array->arg_info);
424 p = op_array->arg_info;
970 if (op_array->arg_info) {
972 UNSERIALIZE_PTR(op_array->arg_info);
973 p = op_array->arg_info;
H A Dzend_persist.c587 if (op_array->arg_info) {
588 zend_arg_info *arg_info = op_array->arg_info; local
592 arg_info--;
596 arg_info = zend_shared_alloc_get_xlat_entry(arg_info);
597 ZEND_ASSERT(arg_info != NULL);
604 zend_accel_store(arg_info, sizeof(zend_arg_info) * num_args);
606 if (arg_info[i].name) {
607 zend_accel_store_interned_string(arg_info[
[all...]
H A Dzend_persist_calc.c211 if (op_array->arg_info) {
212 zend_arg_info *arg_info = op_array->arg_info; local
221 arg_info--;
224 ADD_DUP_SIZE(arg_info, sizeof(zend_arg_info) * num_args);
226 if (arg_info[i].name) {
227 ADD_INTERNED_STRING(arg_info[i].name, 1);
229 if (arg_info[i].class_name) {
230 ADD_INTERNED_STRING(arg_info[i].class_name, 1);
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dzend_optimizer.c384 zend_arg_info *ret_info = op_array->arg_info - 1;
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c201 struct _zend_arg_info *arg_info; member in struct:_parameter_reference
207 struct _zend_arg_info *arg_info; member in struct:_type_reference
660 static void _parameter_string(string *str, zend_function *fptr, struct _zend_arg_info *arg_info, uint32_t offset, uint32_t required, char* indent) argument
668 if (arg_info->class_name) {
672 ((zend_internal_arg_info*)arg_info)->class_name :
673 ZSTR_VAL(arg_info->class_name));
674 if (arg_info->allow_null) {
677 } else if (arg_info->type_hint) {
678 string_printf(str, "%s ", zend_get_type_by_const(arg_info->type_hint));
679 if (arg_info
740 struct _zend_arg_info *arg_info = fptr->common.arg_info; local
1223 reflection_parameter_factory(zend_function *fptr, zval *closure_object, struct _zend_arg_info *arg_info, uint32_t offset, uint32_t required, zval *object) argument
1258 reflection_type_factory(zend_function *fptr, zval *closure_object, struct _zend_arg_info *arg_info, zval *object) argument
2085 struct _zend_arg_info *arg_info; local
2100 reflection_parameter_factory(_copy_function(fptr), Z_ISUNDEF(intern->obj)? NULL : &intern->obj, arg_info, i, fptr->common.required_num_args, &parameter); local
2342 struct _zend_arg_info *arg_info; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_compile.c1139 if (!CG(active_op_array)->arg_info[-1].class_name) {
1141 zend_get_type_by_const(CG(active_op_array)->arg_info[-1].type_hint));
1143 if (!(ZSTR_LEN(CG(active_op_array)->arg_info[-1].class_name) == sizeof("Traversable")-1
1144 && zend_binary_strcasecmp(ZSTR_VAL(CG(active_op_array)->arg_info[-1].class_name), sizeof("Traversable")-1, "Traversable", sizeof("Traversable")-1) == 0) &&
1145 !(ZSTR_LEN(CG(active_op_array)->arg_info[-1].class_name) == sizeof("Iterator")-1
1146 && zend_binary_strcasecmp(ZSTR_VAL(CG(active_op_array)->arg_info[-1].class_name), sizeof("Iterator")-1, "Iterator", sizeof("Iterator")-1) == 0) &&
1147 !(ZSTR_LEN(CG(active_op_array)->arg_info[-1].class_name) == sizeof("Generator")-1
1148 && zend_binary_strcasecmp(ZSTR_VAL(CG(active_op_array)->arg_info[-1].class_name), sizeof("Generator")-1, "Generator", sizeof("Generator")-1) == 0)) {
1149 zend_error_noreturn(E_COMPILE_ERROR, msg, ZSTR_VAL(CG(active_op_array)->arg_info[-1].class_name));
2042 zend_emit_return_type_check(NULL, CG(active_op_array)->arg_info
4372 zend_compile_typename(zend_ast *ast, zend_arg_info *arg_info) argument
4439 zend_arg_info *arg_info; local
[all...]
H A Dzend_compile.h299 /* arg_info for internal functions */
309 /* arg_info for user functions */
321 * arg_info array to define properties of internal functions.
336 zend_uchar arg_flags[3]; /* bitset of arg_info.pass_by_reference */
343 zend_arg_info *arg_info; member in struct:_zend_op_array
387 zend_uchar arg_flags[3]; /* bitset of arg_info.pass_by_reference */
394 zend_internal_arg_info *arg_info; member in struct:_zend_internal_function
408 zend_uchar arg_flags[3]; /* bitset of arg_info.pass_by_reference */
415 zend_arg_info *arg_info; member in struct:_zend_function::__anon8
900 return UNEXPECTED((zf->common.arg_info[arg_nu
[all...]
H A Dzend_vm_def.h3862 zend_arg_info *ret_info = EX(func)->common.arg_info - 1;
H A Dzend_vm_execute.h7724 zend_arg_info *ret_info = EX(func)->common.arg_info - 1;
13533 zend_arg_info *ret_info = EX(func)->common.arg_info - 1;
19232 zend_arg_info *ret_info = EX(func)->common.arg_info - 1;
24925 zend_arg_info *ret_info = EX(func)->common.arg_info - 1;
[all...]
H A Dzend_inheritance.c254 /* If it's a user function then arg_info == NULL means we don't have any parameters but
256 * functions because extensions don't always define arg_info.
258 if (!proto || (!proto->common.arg_info && proto->common.type != ZEND_USER_FUNCTION)) {
309 zend_arg_info *fe_arg_info = &fe->common.arg_info[i];
313 proto_arg_info = &proto->common.arg_info[i];
315 proto_arg_info = &proto->common.arg_info[proto->common.num_args];
336 if (!zend_do_perform_type_hint_check(fe, fe->common.arg_info - 1, proto, proto->common.arg_info - 1)) {
344 static ZEND_COLD void zend_append_type_hint(smart_str *str, const zend_function *fptr, zend_arg_info *arg_info, int return_hint) /* {{{ */ argument
346 if (arg_info
405 zend_arg_info *arg_info = fptr->common.arg_info; local
[all...]
H A Dzend_API.h39 const struct _zend_internal_arg_info *arg_info; member in struct:_zend_function_entry
72 #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
74 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
75 #define ZEND_RAW_NAMED_FE(zend_name, name, arg_info) ZEND_RAW_FENTRY(#zend_name, name, arg_info, 0)
77 #define ZEND_NAMED_FE(zend_name, name, arg_info) ZEND_FENTR
[all...]
H A Dzend_execute.c84 NULL, /* arg_info */
702 cur_arg_info = &zf->internal_function.arg_info[arg_num-1];
704 cur_arg_info = &zf->internal_function.arg_info[zf->internal_function.num_args];
743 cur_arg_info = &zf->common.arg_info[arg_num-1];
745 cur_arg_info = &zf->common.arg_info[zf->common.num_args];
817 cur_arg_info = &zf->common.arg_info[arg_num-1];
819 cur_arg_info = &zf->common.arg_info[zf->common.num_args];
914 zend_arg_info *ret_info = zf->common.arg_info - 1;
953 zend_arg_info *ret_info = zf->common.arg_info - 1;
1009 zend_arg_info *ret_info = zf->common.arg_info
[all...]
H A Dzend_opcode.c74 op_array->arg_info = NULL;
397 if (op_array->arg_info) {
399 zend_arg_info *arg_info = op_array->arg_info; local
403 arg_info--;
410 if (arg_info[i].name) {
411 zend_string_release(arg_info[i].name);
413 if (arg_info[i].class_name) {
414 zend_string_release(arg_info[i].class_name);
417 efree(arg_info);
[all...]
H A Dzend_closures.c239 /* We return ZEND_INTERNAL_FUNCTION, but arg_info representation is the
394 struct _zend_arg_info *arg_info = closure->func.common.arg_info; local
413 if (arg_info &&
427 if (arg_info->name) {
429 arg_info->pass_by_reference ? "&" : "",
430 ZSTR_VAL(arg_info->name));
433 arg_info->pass_by_reference ? "&" : "",
439 arg_info++;
H A Dzend_API.c2184 if (ptr->arg_info) {
2185 zend_internal_function_info *info = (zend_internal_function_info*)ptr->arg_info;
2187 internal_function->arg_info = (zend_internal_arg_info*)ptr->arg_info+1;
2198 if (ptr->arg_info[ptr->num_args].is_variadic) {
2214 internal_function->arg_info = NULL;
2261 if (reg_function->common.arg_info && reg_function->common.num_args) {
2264 if (reg_function->common.arg_info[i].class_name ||
2265 reg_function->common.arg_info[i].type_hint) {
2788 func->arg_info
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c49 #define SXE_ME(func, arg_info, flags) PHP_ME(simplexml_element, func, arg_info, flags)
50 #define SXE_MALIAS(func, alias, arg_info, flags) PHP_MALIAS(simplexml_element, func, alias, arg_info, flags)
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c1308 if (funcs->arg_info) {
1309 zend_internal_function_info *info = (zend_internal_function_info*)funcs->arg_info;
1311 ifunc->arg_info = (zend_internal_arg_info*)funcs->arg_info + 1;
1321 if (funcs->arg_info[funcs->num_args].is_variadic) {
1327 ifunc->arg_info = NULL;
/PHP_TRUNK/ext/soap/
H A Dsoap.c669 fe.arg_info = NULL;

Completed in 186 milliseconds