Searched defs:func (Results 1 - 25 of 56) sorted by relevance

123

/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregposix.c271 int (*func)(const unsigned char*, const unsigned char*,int,int*,regex_t*,void*); member in struct:__anon277
282 return (*warg->func)(name, name_end, ng, gs, warg->reg, warg->arg);
287 int (*func)(const unsigned char*, const unsigned char*,int,int*,regex_t*,void*),
292 warg.func = func;
/PHP_TRUNK/ext/sqlite3/
H A Dphp_sqlite3_structs.h59 zval func, step, fini; member in struct:_php_sqlite3_func
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_print.h35 PHPDBG_PRINT(func); variable
H A Dphpdbg_frame.c40 EG(scope) = PHPDBG_EX(func)->op_array.scope;
82 EG(scope) = PHPDBG_EX(func)->op_array.scope;
125 const zend_function *func = NULL; local
132 if ((func = phpdbg_get_function(Z_STRVAL_P(funcname), class ? Z_STRVAL_P(class) : NULL))) {
133 arginfo = func->common.arg_info;
137 m = func ? func->common.num_args : 0;
H A Dphpdbg_list.h33 PHPDBG_LIST(func); variable
/PHP_TRUNK/Zend/
H A Dzend_closures.c39 zend_function func; member in struct:_zend_closure
50 zend_function *func = EX(func); local
64 zend_string_release(func->internal_function.function_name);
65 efree(func);
88 if (closure->func.common.fn_flags & ZEND_ACC_STATIC) {
93 if (closure->func.type == ZEND_INTERNAL_FUNCTION) {
95 if ((closure->func.common.fn_flags & ZEND_ACC_STATIC) == 0 &&
96 !instanceof_function(Z_OBJCE_P(newthis), closure->func.common.scope)) {
97 zend_error(E_WARNING, "Cannot bind function %s::%s to object of class %s", closure->func
471 zend_create_closure(zval *res, zend_function *func, zend_class_entry *scope, zval *this_ptr) argument
[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) argument
150 call->func = func;
159 static zend_always_inline uint32_t zend_vm_calc_used_stack(uint32_t num_args, zend_function *func) argument
163 if (ZEND_USER_CODE(func->type)) {
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) argument
171 uint32_t used_stack = zend_vm_calc_used_stack(num_args, func);
[all...]
H A Dzend_execute_API.c234 zend_function *func; local
295 ZEND_HASH_FOREACH_PTR(EG(function_table), func) {
296 if (func->type == ZEND_USER_FUNCTION) {
297 zend_cleanup_op_array_data((zend_op_array *) func);
308 ZEND_HASH_REVERSE_FOREACH_PTR(EG(function_table), func) {
309 if (func->type != ZEND_USER_FUNCTION) {
312 zend_cleanup_op_array_data((zend_op_array *) func);
383 zend_function *func; local
392 func = EG(current_execute_data)->func;
415 zend_function *func; local
651 zend_function *func; local
[all...]
H A Dzend_llist.c165 ZEND_API void zend_llist_apply_with_del(zend_llist *l, int (*func)(void *data))
172 if (func(element->data)) {
180 ZEND_API void zend_llist_apply(zend_llist *l, llist_apply_func_t func) argument
185 func(element->data);
223 ZEND_API void zend_llist_apply_with_argument(zend_llist *l, llist_apply_with_arg_func_t func, void *arg) argument
228 func(element->data, arg);
233 ZEND_API void zend_llist_apply_with_arguments(zend_llist *l, llist_apply_with_args_func_t func, int num_args, ...) argument
240 func(element->data, num_args, args);
H A Dzend_opcode.c144 zend_function *func; local
146 ZEND_HASH_FOREACH_PTR(&ce->function_table, func) {
147 if (func->type == ZEND_USER_FUNCTION) {
148 zend_cleanup_op_array_data((zend_op_array *) func);
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_handlers.c253 ((zend_internal_function*)EX(func))->function_name,
261 union _zend_function *func; local
351 func = emalloc(sizeof(*fptr));
352 memcpy(func, fptr, sizeof(*fptr));
354 return func;
381 if (SUCCESS == php_com_do_invoke_byref(obj, (zend_internal_function*)EX(func), DISPATCH_METHOD|DISPATCH_PROPERTYGET, &v, nargs, args)) {
H A Dcom_typeinfo.c436 FUNCDESC *func; local
478 if (FAILED(ITypeInfo_GetFuncDesc(typeinfo, i, &func)))
481 isprop = (func->invkind & DISPATCH_PROPERTYGET || func->invkind & DISPATCH_PROPERTYPUT);
483 if (!isprop || lastid != func->memid) {
485 lastid = func->memid;
487 ITypeInfo_GetDocumentation(typeinfo, func->memid, &olename, NULL, NULL, NULL);
498 names = (BSTR*)safe_emalloc((func->cParams + 1), sizeof(BSTR), 0);
500 ITypeInfo_GetNames(typeinfo, func->memid, names, func
[all...]
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_sort.c263 collator_compare_func_t func; local
268 func = collator_numeric_compare_function;
272 func = collator_icu_compare_function;
277 func = collator_regular_compare_function;
281 return func;
/PHP_TRUNK/ext/intl/common/
H A Dcommon_date.cpp42 const char *func)
67 "that's too large", func);
98 "extracted from ext/date DateTimeZone not recognized", func, id);
110 intl_error *err, const char *func)
132 "object", func);
149 "initialized", func);
159 datetime, 1, NULL, func);
162 "time zone", func);
174 U_CFUNC double intl_zval_to_millis(zval *z, intl_error *err, const char *func) argument
194 "which would be required for it to be a valid date", func,
38 timezone_convert_datetimezone(int type, void *object, int is_datetime, intl_error *outside_error, const char *func) argument
109 intl_datetime_decompose(zval *z, double *millis, TimeZone **tz, intl_error *err, const char *func) argument
[all...]
/PHP_TRUNK/ext/intl/timezone/
H A Dtimezone_class.cpp63 const char *func, zval *ret)
72 spprintf(&message, 0, "%s: could not obtain TimeZone id", func);
93 spprintf(&message, 0, "%s: could not convert id to UTF-8", func);
104 "%s: DateTimeZone constructor threw exception", func);
133 const char *func)
152 "properly constructed", func);
162 spprintf(&message, 0, "%s: could not clone TimeZone", func);
177 outside_error, func);
186 "valid UTF-8 string", func);
196 spprintf(&message, 0, "%s: could not create time zone", func);
61 timezone_convert_to_datetimezone(const TimeZone *timeZone, intl_error *outside_error, const char *func, zval *ret) argument
131 timezone_process_timezone_argument(zval *zv_timezone, intl_error *outside_error, const char *func) argument
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_priv.h157 ps_field_fetch_func func; member in struct:st_mysqlnd_perm_bind
/PHP_TRUNK/ext/opcache/Optimizer/
H A Doptimize_func_calls.c37 zend_function *func; member in struct:_optimizer_call_info
60 zend_function *func; local
62 if ((func = zend_hash_find_ptr(&ctx->script->function_table,
64 call_stack[call].func = func;
78 if (call_stack[call].func && call_stack[call].opline) {
83 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func);
89 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func);
98 call_stack[call].func = NULL;
104 if (call_stack[call - 1].func) {
[all...]
H A Dpass1_5.c244 fake_execute_data.func = (zend_function*)op_array;
430 zend_internal_function *func; local
434 if ((func = zend_hash_str_find_ptr(EG(function_table), lc_name, Z_STRLEN(ZEND_OP1_LITERAL(send1_opline)))) != NULL &&
435 func->type == ZEND_INTERNAL_FUNCTION &&
436 func->module->type == MODULE_PERSISTENT) {
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_blacklist.c360 void zend_accel_blacklist_apply(zend_blacklist *blacklist, blacklist_apply_func_arg_t func, void *argument) argument
365 func(&blacklist->entries[i], argument);
/PHP_TRUNK/ext/pcntl/
H A Dphp_signal.c28 Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all) argument
33 act.sa_handler = func;
61 Sigfunc *php_signal(int signo, Sigfunc *func, int restart) argument
63 return php_signal4(signo, func, restart, 0);
/PHP_TRUNK/ext/pdo_sqlite/
H A Dphp_pdo_sqlite_int.h41 zval func, step, fini; member in struct:pdo_sqlite_func
/PHP_TRUNK/ext/session/
H A Dmod_user.c50 static void ps_call_handler(zval *func, int argc, zval *argv, zval *retval) argument
53 if (call_user_function(EG(function_table), NULL, func, retval, argc, argv) == FAILURE) {
/PHP_TRUNK/ext/spl/
H A Dspl_engine.h35 zend_function *func = pce->constructor; local
38 zend_call_method(retval, pce, &func, func->common.function_name->val, func->common.function_name->len, NULL, 1, arg1, NULL);
46 zend_function *func = pce->constructor; local
49 zend_call_method(retval, pce, &func, func->common.function_name->val, func->common.function_name->len, NULL, 2, arg1, arg2);
57 zend_function *func = pce->constructor; local
66 ZVAL_STR(&fci.function_name, func
[all...]
/PHP_TRUNK/main/
H A Dphp_ticks.c49 PHPAPI void php_add_tick_function(void (*func)(int)) argument
51 zend_llist_add_element(&PG(tick_functions), (void *)&func);
54 PHPAPI void php_remove_tick_function(void (*func)(int)) argument
56 zend_llist_del_element(&PG(tick_functions), (void *)func,
62 void (*func)(int);
64 memcpy(&func, data, sizeof(void(*)(int)));
65 func(*((int *)arg));
/PHP_TRUNK/main/streams/
H A Dphp_stream_context.h46 php_stream_notification_func func; member in struct:_php_stream_notifier

Completed in 19 milliseconds

123