Searched refs:function_table (Results 1 - 25 of 83) sorted by relevance

1234

/PHP_TRUNK/ext/spl/
H A Dphp_spl.c569 spl_func_ptr = zend_hash_str_find_ptr(EG(function_table), "spl_autoload", sizeof("spl_autoload") - 1);
603 EG(autoload_func) = zend_hash_str_find_ptr(EG(function_table), "spl_autoload_call", sizeof("spl_autoload_call") - 1);
605 EG(autoload_func) = zend_hash_str_find_ptr(EG(function_table), "spl_autoload", sizeof("spl_autoload") - 1);
674 spl_func_ptr = zend_hash_str_find_ptr(EG(function_table), "spl_autoload", sizeof("spl_autoload") - 1);
698 if ((fptr = zend_hash_str_find_ptr(EG(function_table), ZEND_AUTOLOAD_FUNC_NAME, sizeof(ZEND_AUTOLOAD_FUNC_NAME) - 1))) {
706 fptr = zend_hash_str_find_ptr(EG(function_table), "spl_autoload_call", sizeof("spl_autoload_call") - 1);
H A Dspl_engine.h65 fci.function_table = &pce->function_table;
H A Dspl_fixedarray.c260 class_type->iterator_funcs.zf_rewind = zend_hash_str_find_ptr(&class_type->function_table, "rewind", sizeof("rewind") - 1);
261 class_type->iterator_funcs.zf_valid = zend_hash_str_find_ptr(&class_type->function_table, "valid", sizeof("valid") - 1);
262 class_type->iterator_funcs.zf_key = zend_hash_str_find_ptr(&class_type->function_table, "key", sizeof("key") - 1);
263 class_type->iterator_funcs.zf_current = zend_hash_str_find_ptr(&class_type->function_table, "current", sizeof("current") - 1);
264 class_type->iterator_funcs.zf_next = zend_hash_str_find_ptr(&class_type->function_table, "next", sizeof("next") - 1);
283 intern->fptr_offset_get = zend_hash_str_find_ptr(&class_type->function_table, "offsetget", sizeof("offsetget") - 1);
287 intern->fptr_offset_set = zend_hash_str_find_ptr(&class_type->function_table, "offsetset", sizeof("offsetset") - 1);
291 intern->fptr_offset_has = zend_hash_str_find_ptr(&class_type->function_table, "offsetexists", sizeof("offsetexists") - 1);
295 intern->fptr_offset_del = zend_hash_str_find_ptr(&class_type->function_table, "offsetunset", sizeof("offsetunset") - 1);
299 intern->fptr_count = zend_hash_str_find_ptr(&class_type->function_table, "coun
[all...]
H A Dspl_array.c232 intern->fptr_offset_get = zend_hash_str_find_ptr(&class_type->function_table, "offsetget", sizeof("offsetget") - 1);
236 intern->fptr_offset_set = zend_hash_str_find_ptr(&class_type->function_table, "offsetset", sizeof("offsetset") - 1);
240 intern->fptr_offset_has = zend_hash_str_find_ptr(&class_type->function_table, "offsetexists", sizeof("offsetexists") - 1);
244 intern->fptr_offset_del = zend_hash_str_find_ptr(&class_type->function_table, "offsetunset", sizeof("offsetunset") - 1);
248 intern->fptr_count = zend_hash_str_find_ptr(&class_type->function_table, "count", sizeof("count") - 1);
257 class_type->iterator_funcs.zf_rewind = zend_hash_str_find_ptr(&class_type->function_table, "rewind", sizeof("rewind") - 1);
258 class_type->iterator_funcs.zf_valid = zend_hash_str_find_ptr(&class_type->function_table, "valid", sizeof("valid") - 1);
259 class_type->iterator_funcs.zf_key = zend_hash_str_find_ptr(&class_type->function_table, "key", sizeof("key") - 1);
260 class_type->iterator_funcs.zf_current = zend_hash_str_find_ptr(&class_type->function_table, "current", sizeof("current") - 1);
261 class_type->iterator_funcs.zf_next = zend_hash_str_find_ptr(&class_type->function_table, "nex
[all...]
/PHP_TRUNK/Zend/
H A Dzend_interfaces.c39 HashTable *function_table; local
51 /*fci.function_table = NULL; will be read form zend_class_entry of object if needed */
63 fci.function_table = !object ? EG(function_table) : NULL;
74 function_table = &obj_ce->function_table;
76 function_table = EG(function_table);
79 if ((fcic.function_handler = zend_hash_find_ptr(function_table, Z_STR(fci.function_name))) == NULL) {
H A Dzend_globals.h58 /* excpt.h on Digital Unix 4.0 defines function_table */
59 #undef function_table macro
84 HashTable *function_table; /* function symbol table */ member in struct:_zend_compiler_globals
169 HashTable *function_table; /* function symbol table */ member in struct:_zend_executor_globals
H A Dzend_inheritance.c120 if ((function = zend_hash_str_find_ptr(&ce->parent->function_table, ZEND_CONSTRUCTOR_FUNC_NAME, sizeof(ZEND_CONSTRUCTOR_FUNC_NAME)-1)) != NULL) {
135 zend_hash_str_update_ptr(&ce->function_table, ZEND_CONSTRUCTOR_FUNC_NAME, sizeof(ZEND_CONSTRUCTOR_FUNC_NAME)-1, new_function);
143 if (!zend_hash_exists(&ce->function_table, lc_class_name)) {
145 if (!zend_hash_exists(&ce->function_table, lc_parent_class_name) &&
146 (function = zend_hash_find_ptr(&ce->parent->function_table, lc_parent_class_name)) != NULL) {
162 zend_hash_update_ptr(&ce->function_table, lc_parent_class_name, new_function);
904 ZEND_HASH_FOREACH_STR_KEY_PTR(&parent_ce->function_table, key, func) {
905 if (do_inherit_method_check(&ce->function_table, func, key, ce)) {
907 zend_hash_add_new_ptr(&ce->function_table, key, new_func);
992 ZEND_HASH_FOREACH_STR_KEY_PTR(&iface->function_table, ke
[all...]
H A Dzend_API.c1933 ZEND_API int zend_register_functions(zend_class_entry *scope, const zend_function_entry *functions, HashTable *function_table, int type) /* {{{ */ argument
1939 HashTable *target_function_table = function_table;
1954 target_function_table = CG(function_table);
2240 ZEND_API void zend_unregister_functions(const zend_function_entry *functions, int count, HashTable *function_table) /* {{{ */ argument
2244 HashTable *target_function_table = function_table;
2249 target_function_table = CG(function_table);
2469 zend_register_functions(class_entry, class_entry->info.internal.builtin_functions, &class_entry->function_table, MODULE_PERSISTENT);
2585 if ((func = zend_hash_str_find_ptr(CG(function_table), function_name, function_name_length))) {
2629 zend_hash_clean(&disabled_class->function_table);
2741 if (EXPECTED((fcc->function_handler = zend_hash_find_ptr(EG(function_table), lmnam
3914 HashTable *function_table; local
[all...]
H A Dzend.c41 # define GLOBAL_FUNCTION_TABLE CG(function_table)
408 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable));
409 zend_hash_init_ex(compiler_globals->function_table, 1024, NULL, ZEND_FUNCTION_DTOR, 1, 0);
410 zend_hash_copy(compiler_globals->function_table, global_function_table, function_copy_ctor);
440 if (compiler_globals->function_table != GLOBAL_FUNCTION_TABLE) {
441 zend_hash_destroy(compiler_globals->function_table);
442 free(compiler_globals->function_table);
658 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable));
661 *compiler_globals->function_table = *GLOBAL_FUNCTION_TABLE;
713 *GLOBAL_FUNCTION_TABLE = *compiler_globals->function_table;
[all...]
H A Dzend_execute_API.c146 EG(function_table) = CG(function_table);
298 ZEND_HASH_FOREACH_PTR(EG(function_table), func) {
311 ZEND_HASH_REVERSE_FOREACH_PTR(EG(function_table), func) {
342 zend_hash_reverse_apply(EG(function_table), clean_non_persistent_function_full);
345 zend_hash_reverse_apply(EG(function_table), clean_non_persistent_function);
630 int call_user_function(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[]) /* {{{ */ argument
632 return call_user_function_ex(function_table, object, function_name, retval_ptr, param_count, params, 1, NULL);
636 int call_user_function_ex(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation, zend_array *symbol_table) /* {{{ */ argument
641 fci.function_table
[all...]
/PHP_TRUNK/ext/filter/
H A Dcallback_filter.c38 status = call_user_function_ex(EG(function_table), NULL, option_array, &retval, 1, args, 0, NULL);
/PHP_TRUNK/ext/standard/
H A Dassert.c216 call_user_function(CG(function_table), NULL, &ASSERTG(callback), &retval, 3, args);
223 call_user_function(CG(function_table), NULL, &ASSERTG(callback), &retval, 4, args);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_list.c90 if ((function = zend_hash_str_find_ptr(&ce->function_table, lcname, strlen(lcname)))) {
195 HashTable *func_table = EG(function_table);
206 func_table = &EG(scope)->function_table;
211 } else if (!EG(function_table)) {
212 phpdbg_error("inactive", "type=\"function_table\"", "No function table loaded");
215 func_table = EG(function_table);
H A Dphpdbg_print.c167 zend_hash_num_elements(&ce->function_table));
171 if (zend_hash_num_elements(&ce->function_table)) {
174 ZEND_HASH_FOREACH_PTR(&ce->function_table, method) {
196 if ((fbc = zend_hash_find_ptr(&ce->function_table, lcname))) {
217 HashTable *func_table = EG(function_table);
228 func_table = &EG(scope)->function_table;
233 } else if (!EG(function_table)) {
234 phpdbg_error("inactive", "type=\"function_table\"", "No function table loaded");
237 func_table = EG(function_table);
H A Dphpdbg_prompt.c115 fci.function_table = &PHPDBG_G(registered);
557 fci.function_table = &EG(exception)->ce->function_table;
804 phpdbg_writeln("print", "functions=\"%d\"", "Functions %d", zend_hash_num_elements(EG(function_table)));
1108 if ((function = zend_hash_str_find_ptr(EG(function_table), lcname, lcname_len))) {
1148 phpdbg_writeln("clean", "functions=\"%d\"", "Functions %d", zend_hash_num_elements(EG(function_table)));
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_wrapper.c291 if (SUCCESS == call_user_function_ex(EG(function_table), &disp->object, name,
497 zend_hash_internal_pointer_reset_ex(&Z_OBJCE(disp->object)->function_table, &pos);
499 zend_hash_get_current_key_ex(&Z_OBJCE(disp->object)->function_table,
510 zend_hash_move_forward_ex(&Z_OBJCE(disp->object)->function_table, &pos);
/PHP_TRUNK/ext/pdo_sqlite/
H A Dsqlite_driver.c329 fc->fci.function_table = EG(function_table);
480 collation->fc.fci.function_table = EG(function_table);
/PHP_TRUNK/ext/session/
H A Dmod_user.c33 if (call_user_function(EG(function_table), NULL, func, retval, argc, argv) == FAILURE) {
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.h158 HashTable function_table; member in struct:_zend_persistent_script
221 /* copy of CG(function_table) used for compilation scripts into cache */
223 HashTable function_table; member in struct:_zend_accel_globals
H A Dzend_accelerator_util_funcs.c69 ce->function_table.pDestructor = zend_accel_destroy_zend_function;
78 zend_hash_init(&persistent_script->function_table, 128, NULL, ZEND_FUNCTION_DTOR, 0);
91 persistent_script->function_table.pDestructor = zend_accel_destroy_zend_function;
94 persistent_script->function_table.pDestructor = NULL;
98 zend_hash_destroy(&persistent_script->function_table);
126 HashTable *function_table = va_arg(args, HashTable *); local
130 zend_hash_update_ptr(function_table, hash_key->key, function);
146 static int copy_internal_function(zval *zv, HashTable *function_table) argument
150 zend_hash_update_mem(function_table, function->function_name, function, sizeof(zend_internal_function));
157 zend_hash_apply_with_argument(CG(function_table), (apply_func_arg_
[all...]
H A DZendAccelerator.c384 for (idx = 0; idx < CG(function_table)->nNumUsed; idx++) {
385 p = CG(function_table)->arData + idx;
428 for (j = 0; j < ce->function_table.nNumUsed; j++) {
429 q = ce->function_table.arData + j;
1377 orig_function_table = CG(function_table);
1382 CG(function_table) = &ZCG(function_table);
1402 CG(function_table) = orig_function_table;
1409 zend_accel_free_user_functions(&ZCG(function_table));
1420 zend_accel_move_user_functions(&ZCG(function_table),
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c476 if (&ce->function_table) {
478 count = zend_hash_num_elements(&ce->function_table);
482 ZEND_HASH_FOREACH_PTR(&ce->function_table, mptr) {
496 ZEND_HASH_FOREACH_PTR(&ce->function_table, mptr) {
552 if (&ce->function_table) {
553 count = zend_hash_num_elements(&ce->function_table) - count_static_funcs;
562 ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->function_table, key, mptr) {
803 if ((overwrites = zend_hash_find_ptr(&fptr->common.scope->parent->function_table, lc_name)) != NULL) {
1085 ZEND_HASH_FOREACH_PTR(CG(function_table), fptr) {
1359 fci.function_table
[all...]
/PHP_TRUNK/ext/opcache/Optimizer/
H A Doptimize_func_calls.c62 if ((func = zend_hash_find_ptr(&ctx->script->function_table,
H A Dzend_optimizer.c556 &ctx->script->function_table,
580 for (idx = 0; idx < script->function_table.nNumUsed; idx++) {
581 p = script->function_table.arData + idx;
591 for (j = 0; j < ce->function_table.nNumUsed; j++) {
592 q = ce->function_table.arData + j;
599 if ((orig_op_array = zend_hash_find_ptr(&op_array->scope->function_table, q->key)) != NULL) {
611 for (idx = 0; idx < script->function_table.nNumUsed; idx++) {
612 p = script->function_table.arData + idx;
622 for (j = 0; j < ce->function_table.nNumUsed; j++) {
623 q = ce->function_table
[all...]
/PHP_TRUNK/ext/soap/
H A Dsoap.c956 fci.function_table = &Z_OBJCE_P(getThis())->function_table;
1370 ft = &(Z_OBJCE(service->soap_object)->function_table);
1372 ft = &service->soap_class.ce->function_table;
1374 ft = EG(function_table);
1436 if ((f = zend_hash_find_ptr(EG(function_table), key)) == NULL) {
1454 if ((f = zend_hash_find_ptr(EG(function_table), key)) == NULL) {
1498 HashTable *function_table; local
1534 if (call_user_function(EG(function_table), NULL, &readfile, &readfile_ret, 1, &param ) == FAILURE) {
1664 function_table
[all...]

Completed in 44 milliseconds

1234