Searched refs:arg_info (Results 1 - 23 of 23) 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/ext/com_dotnet/
H A Dcom_com.c499 if (f->arg_info) {
501 if (f->arg_info[nargs - i - 1].pass_by_reference) {
510 if (f->arg_info[nargs - i - 1].pass_by_reference) {
554 if (f && f->arg_info) {
557 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;
302 f.arg_info = ecalloc(bindptr.lpfuncdesc->cParams, sizeof(zend_arg_info));
305 f.arg_info[i].allow_null = 1;
307 f.arg_info[i].pass_by_reference = 1;
403 f.arg_info = NULL; \
/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/pdo/
H A Dpdo_dbh.c1300 if (funcs->arg_info) {
1301 zend_internal_function_info *info = (zend_internal_function_info*)funcs->arg_info;
1303 ifunc->arg_info = (zend_internal_arg_info*)funcs->arg_info + 1;
1313 if (funcs->arg_info[funcs->num_args].is_variadic) {
1319 ifunc->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/Zend/
H A Dzend_closures.c188 /* TODO: return ZEND_INTERNAL_FUNCTION, but arg_info representation is suitable for ZEND_USER_FUNCTION ??? */
344 struct _zend_arg_info *arg_info = closure->func.common.arg_info; local
364 if (arg_info &&
378 if (arg_info->name) {
380 arg_info->pass_by_reference ? "&" : "",
381 arg_info->name->val);
384 arg_info->pass_by_reference ? "&" : "",
390 arg_info++;
H A Dzend_compile.h278 /* arg_info for internal functions */
288 /* arg_info for user functions */
300 * arg_info array to define properties of internal functions.
321 zend_arg_info *arg_info; member in struct:_zend_op_array
371 zend_internal_arg_info *arg_info; member in struct:_zend_internal_function
391 zend_arg_info *arg_info; member in struct:_zend_function::__anon8
870 return UNEXPECTED((zf->common.arg_info[arg_num].pass_by_reference & mask) != 0);
H A Dzend_execute.c81 NULL, /* arg_info */
722 cur_arg_info = &zf->internal_function.arg_info[arg_num-1];
724 cur_arg_info = &zf->internal_function.arg_info[zf->internal_function.num_args];
763 cur_arg_info = &zf->common.arg_info[arg_num-1];
765 cur_arg_info = &zf->common.arg_info[zf->common.num_args];
804 cur_arg_info = &zf->common.arg_info[arg_num-1];
806 cur_arg_info = &zf->common.arg_info[zf->common.num_args];
890 zend_arg_info *ret_info = zf->common.arg_info - 1;
929 zend_arg_info *ret_info = zf->common.arg_info - 1;
961 zend_arg_info *ret_info = zf->common.arg_info
[all...]
H A Dzend_opcode.c70 op_array->arg_info = NULL;
385 if (op_array->arg_info) {
387 zend_arg_info *arg_info = op_array->arg_info; local
391 arg_info--;
398 if (arg_info[i].name) {
399 zend_string_release(arg_info[i].name);
401 if (arg_info[i].class_name) {
402 zend_string_release(arg_info[i].class_name);
405 efree(arg_info);
[all...]
H A Dzend_API.c2169 if (ptr->arg_info) {
2170 zend_internal_function_info *info = (zend_internal_function_info*)ptr->arg_info;
2172 internal_function->arg_info = (zend_internal_arg_info*)ptr->arg_info+1;
2183 if (ptr->arg_info[ptr->num_args].is_variadic) {
2199 internal_function->arg_info = NULL;
2245 if (reg_function->common.arg_info && reg_function->common.num_args) {
2248 if (reg_function->common.arg_info[i].class_name ||
2249 reg_function->common.arg_info[i].type_hint) {
2772 func->arg_info
[all...]
H A Dzend_API.h38 const struct _zend_internal_arg_info *arg_info; member in struct:_zend_function_entry
71 #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
73 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
74 #define ZEND_RAW_NAMED_FE(zend_name, name, arg_info) ZEND_RAW_FENTRY(#zend_name, name, arg_info, 0)
76 #define ZEND_NAMED_FE(zend_name, name, arg_info) ZEND_FENTR
[all...]
H A Dzend_object_handlers.c1028 call_user_call->arg_info = NULL;
1173 callstatic_user_call->arg_info = NULL;
H A Dzend_vm_def.h3651 zend_arg_info *ret_info = EX(func)->common.arg_info - 1;
H A Dzend_vm_execute.h7041 zend_arg_info *ret_info = EX(func)->common.arg_info - 1;
12110 zend_arg_info *ret_info = EX(func)->common.arg_info - 1;
17516 zend_arg_info *ret_info = EX(func)->common.arg_info - 1;
23120 zend_arg_info *ret_info = EX(func)->common.arg_info - 1;
32095 zend_arg_info *ret_info = EX(func)->common.arg_info - 1;
[all...]
H A Dzend_compile.c1973 zend_emit_return_type_check(NULL, CG(active_op_array)->arg_info - 1);
3435 zend_emit_return_type_check(expr_ast ? &expr_node : NULL, CG(active_op_array)->arg_info - 1);
4106 /* Use op_array->arg_info[-1] for return type hinting */
4161 zend_arg_info *arg_info; local
4212 arg_info = &arg_infos[i];
4213 arg_info->name = zend_string_copy(name);
4214 arg_info->pass_by_reference = is_ref;
4215 arg_info->is_variadic = is_variadic;
4216 arg_info->type_hint = 0;
4217 arg_info
[all...]
H A Dzend_inheritance.c258 /* If it's a user function then arg_info == NULL means we don't have any parameters but
260 * functions because extensions don't always define arg_info.
262 if (!proto || (!proto->common.arg_info && proto->common.type != ZEND_USER_FUNCTION)) {
313 zend_arg_info *fe_arg_info = &fe->common.arg_info[i];
317 proto_arg_info = &proto->common.arg_info[i];
319 proto_arg_info = &proto->common.arg_info[proto->common.num_args];
340 if (!zend_do_perform_type_hint_check(fe, fe->common.arg_info - 1, proto, proto->common.arg_info - 1)) {
348 static void zend_append_type_hint(smart_str *str, const zend_function *fptr, zend_arg_info *arg_info, int return_hint) /* {{{ */ argument
350 if (arg_info
402 zend_arg_info *arg_info = fptr->common.arg_info; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_frame.c133 arginfo = func->common.arg_info;
/PHP_TRUNK/ext/opcache/
H A Dzend_persist.c485 if (op_array->arg_info) {
486 zend_arg_info *arg_info = op_array->arg_info; local
490 arg_info--;
494 arg_info = zend_shared_alloc_get_xlat_entry(arg_info);
495 ZEND_ASSERT(arg_info != NULL);
502 zend_accel_store(arg_info, sizeof(zend_arg_info) * num_args);
504 if (arg_info[i].name) {
505 zend_accel_store_interned_string(arg_info[
[all...]
H A Dzend_persist_calc.c198 if (op_array->arg_info) {
199 zend_arg_info *arg_info = op_array->arg_info; local
208 arg_info--;
211 ADD_DUP_SIZE(op_array->arg_info, sizeof(zend_arg_info) * num_args);
212 ADD_DUP_SIZE(arg_info, sizeof(zend_arg_info) * num_args);
214 if (arg_info[i].name) {
215 ADD_INTERNED_STRING(arg_info[i].name, 1);
217 if (arg_info[i].class_name) {
218 ADD_INTERNED_STRING(arg_info[
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c197 struct _zend_arg_info *arg_info; member in struct:_parameter_reference
642 static void _parameter_string(string *str, zend_function *fptr, struct _zend_arg_info *arg_info, uint32_t offset, uint32_t required, char* indent) argument
650 if (arg_info->class_name) {
653 ((zend_internal_arg_info*)arg_info)->class_name :
654 arg_info->class_name->val);
655 if (arg_info->allow_null) {
658 } else if (arg_info->type_hint) {
659 string_printf(str, "%s ", zend_get_type_by_const(arg_info->type_hint));
660 if (arg_info->allow_null) {
664 if (arg_info
720 struct _zend_arg_info *arg_info = fptr->common.arg_info; local
1202 reflection_parameter_factory(zend_function *fptr, zval *closure_object, struct _zend_arg_info *arg_info, uint32_t offset, uint32_t required, zval *object) argument
2037 struct _zend_arg_info *arg_info; local
2052 reflection_parameter_factory(_copy_function(fptr), Z_ISUNDEF(intern->obj)? NULL : &intern->obj, arg_info, i, fptr->common.required_num_args, &parameter); local
2126 struct _zend_arg_info *arg_info; local
[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/soap/
H A Dsoap.c670 fe.arg_info = NULL;

Completed in 129 milliseconds