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

/PHP_TRUNK/
H A Dserver-tests.php624 foreach ($this->xargs as $arg=>$arg_info) {
625 $usage .= sprintf(" -%s %-12s %s\n",$arg,$arg_info[1],$arg_info[3]);
703 foreach ($this->xargs as $arg=>$arg_info) {
704 if ($arg_info[0]) {
706 $this->conf[$arg_info[0]]=$arg_info[2];
708 $this->setEnvConfigVar($arg_info[0]);
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_handlers.c250 if (f->arg_info) {
251 efree(f->arg_info);
284 f.arg_info = NULL;
309 f.arg_info = ecalloc(bindptr.lpfuncdesc->cParams, sizeof(zend_arg_info));
312 f.arg_info[i].allow_null = 1;
314 f.arg_info[i].pass_by_reference = 1;
414 f.arg_info = NULL; \
H A Dcom_com.c475 if (!f || f->arg_info == NULL) {
499 if (f->arg_info[nargs - i - 1].pass_by_reference) {
508 if (f->arg_info[nargs - i - 1].pass_by_reference) {
554 if (f && f->arg_info[nargs - i - 1].pass_by_reference) {
/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/zip/
H A Dphp_zip.h78 #define ZIPARCHIVE_ME(name, arg_info, flags) {#name, c_ziparchive_ ##name, arg_info,(zend_uint) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
/PHP_TRUNK/Zend/
H A Dzend_API.h38 const struct _zend_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, (zend_uint) (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, (zend_uint) (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_API.c2084 if (ptr->arg_info) {
2085 zend_internal_function_info *info = (zend_internal_function_info*)ptr->arg_info;
2087 internal_function->arg_info = (zend_arg_info*)ptr->arg_info+1;
2098 if (ptr->arg_info[ptr->num_args].is_variadic) {
2102 internal_function->arg_info = NULL;
2145 if (reg_function->common.arg_info && reg_function->common.num_args) {
2148 if (reg_function->common.arg_info[i].class_name ||
2149 reg_function->common.arg_info[i].type_hint) {
2886 fcc->function_handler->internal_function.arg_info
[all...]
H A Dzend_object_handlers.c1025 call_user_call->arg_info = NULL;
1165 callstatic_user_call->arg_info = NULL;
H A Dzend_closures.c318 struct _zend_arg_info *arg_info = closure->func.common.arg_info; local
340 if (arg_info) {
349 if (arg_info->name) {
351 arg_info->pass_by_reference ? "&" : "",
352 arg_info->name);
355 arg_info->pass_by_reference ? "&" : "",
362 arg_info++;
H A Dzend_compile.c1916 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];
3217 /* If it's a user function then arg_info == NULL means we don't have any parameters but
3219 * functions because extensions don't always define arg_info.
3221 if (!proto || (!proto->common.arg_info && proto->common.type != ZEND_USER_FUNCTION)) {
3267 zend_arg_info *fe_arg_info = &fe->common.arg_info[i];
3271 proto_arg_info = &proto->common.arg_info[i];
3273 proto_arg_info = &proto->common.arg_info[proto->common.num_args-1];
3378 if (fptr->common.arg_info) {
3380 zend_arg_info *arg_info = fptr->common.arg_info; local
[all...]
H A Dzend_execute.c617 if (!zf->common.arg_info) {
622 cur_arg_info = &zf->common.arg_info[arg_num-1];
624 cur_arg_info = &zf->common.arg_info[zf->common.num_args-1];
H A Dzend_compile.h248 * arg_info array to define properties of internal functions.
276 zend_arg_info *arg_info; member in struct:_zend_op_array
333 zend_arg_info *arg_info; member in struct:_zend_internal_function
353 zend_arg_info *arg_info; member in struct:_zend_function::__anon2
841 ((zf)->common.arg_info && \
843 ? ((zf)->common.arg_info[arg_num-1].pass_by_reference & (m)) \
845 ? ((zf)->common.arg_info[(zf)->common.num_args-1].pass_by_reference & (m)) : 0))
H A Dzend_opcode.c81 op_array->arg_info = NULL;
404 if (op_array->arg_info) {
406 str_efree(op_array->arg_info[i].name);
407 if (op_array->arg_info[i].class_name) {
408 str_efree(op_array->arg_info[i].class_name);
411 efree(op_array->arg_info);
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c1309 if (funcs->arg_info) {
1310 zend_internal_function_info *info = (zend_internal_function_info*)funcs->arg_info;
1312 ifunc->arg_info = (zend_arg_info*)funcs->arg_info + 1;
1322 if (funcs->arg_info[funcs->num_args].is_variadic) {
1326 ifunc->arg_info = NULL;
/PHP_TRUNK/ext/opcache/
H A Dzend_persist_calc.c207 if (op_array->arg_info &&
208 !zend_shared_alloc_get_xlat_entry(op_array->arg_info)) {
211 ADD_DUP_SIZE(op_array->arg_info, sizeof(zend_arg_info) * op_array->num_args);
213 if (op_array->arg_info[i].name) {
214 ADD_INTERNED_STRING(op_array->arg_info[i].name, op_array->arg_info[i].name_len + 1);
216 if (op_array->arg_info[i].class_name) {
217 ADD_INTERNED_STRING(op_array->arg_info[i].class_name, op_array->arg_info[i].class_name_len + 1);
H A Dzend_persist.c392 if (op_array->arg_info) {
394 if ((new_ptr = zend_shared_alloc_get_xlat_entry(op_array->arg_info))) {
395 op_array->arg_info = new_ptr;
399 zend_accel_store(op_array->arg_info, sizeof(zend_arg_info) * op_array->num_args);
401 if (op_array->arg_info[i].name) {
402 zend_accel_store_interned_string(op_array->arg_info[i].name, op_array->arg_info[i].name_len + 1);
404 if (op_array->arg_info[i].class_name) {
405 zend_accel_store_interned_string(op_array->arg_info[i].class_name, op_array->arg_info[
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_frame.c135 const zend_arg_info *arginfo = func ? func->common.arg_info : NULL;
/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.c641 fe.arg_info = NULL;
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c193 struct _zend_arg_info *arg_info; member in struct:_parameter_reference
696 static void _parameter_string(string *str, zend_function *fptr, struct _zend_arg_info *arg_info, zend_uint offset, zend_uint required, char* indent TSRMLS_DC) argument
704 if (arg_info->class_name) {
705 string_printf(str, "%s ", arg_info->class_name);
706 if (arg_info->allow_null) {
709 } else if (arg_info->type_hint) {
710 string_printf(str, "%s ", zend_get_type_by_const(arg_info->type_hint));
711 if (arg_info->allow_null) {
715 if (arg_info->pass_by_reference) {
718 if (arg_info
776 struct _zend_arg_info *arg_info = fptr->common.arg_info; local
1242 reflection_parameter_factory(zend_function *fptr, zval *closure_object, struct _zend_arg_info *arg_info, zend_uint offset, zend_uint required, zval *object TSRMLS_DC) argument
2066 struct _zend_arg_info *arg_info; local
2078 reflection_parameter_factory(_copy_function(fptr TSRMLS_CC), intern->obj, arg_info, i, fptr->common.required_num_args, parameter TSRMLS_CC); local
2152 struct _zend_arg_info *arg_info; local
[all...]

Completed in 132 milliseconds