| /PHP_5_5/Zend/ |
| H A D | zend_globals.h | 57 /* excpt.h on Digital Unix 4.0 defines function_table */ 58 #undef function_table macro 94 HashTable *function_table; /* function symbol table */ member in struct:_zend_compiler_globals 190 HashTable *function_table; /* function symbol table */ member in struct:_zend_executor_globals
|
| H A D | zend_opcode.c | 162 zend_hash_apply(&ce->function_table, (apply_func_t) zend_cleanup_function_data_full TSRMLS_CC); 299 zend_hash_destroy(&ce->function_table); 333 zend_hash_destroy(&ce->function_table); 730 zend_hash_apply(&class_entry->function_table, (apply_func_t) pass_two TSRMLS_CC);
|
| H A D | zend.c | 40 # define GLOBAL_FUNCTION_TABLE CG(function_table) 514 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); 515 zend_hash_init_ex(compiler_globals->function_table, 100, NULL, ZEND_FUNCTION_DTOR, 1, 0); 516 zend_hash_copy(compiler_globals->function_table, global_function_table, NULL, &tmp_func, sizeof(zend_function)); 542 if (compiler_globals->function_table != GLOBAL_FUNCTION_TABLE) { 543 zend_hash_destroy(compiler_globals->function_table); 544 free(compiler_globals->function_table); 731 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); 734 *compiler_globals->function_table = *GLOBAL_FUNCTION_TABLE; 787 *GLOBAL_FUNCTION_TABLE = *compiler_globals->function_table; [all...] |
| H A D | zend_interfaces.c | 40 HashTable *function_table; local 48 /*fci.function_table = NULL; will be read form zend_class_entry of object if needed */ 61 fci.function_table = !object_pp ? EG(function_table) : NULL; 71 function_table = &obj_ce->function_table; 73 function_table = EG(function_table); 76 if (zend_hash_find(function_table, function_name, function_name_len+1, (void **) &fcic.function_handler) == FAILURE) {
|
| H A D | zend_API.c | 2027 ZEND_API int zend_register_functions(zend_class_entry *scope, const zend_function_entry *functions, HashTable *function_table, int type TSRMLS_DC) /* {{{ */ argument 2033 HashTable *target_function_table = function_table; 2048 target_function_table = CG(function_table); 2288 ZEND_API void zend_unregister_functions(const zend_function_entry *functions, int count, HashTable *function_table TSRMLS_DC) /* {{{ */ 2292 HashTable *target_function_table = function_table; 2295 target_function_table = CG(function_table); 2504 zend_register_functions(class_entry, class_entry->info.internal.builtin_functions, &class_entry->function_table, MODULE_PERSISTENT TSRMLS_CC); 2626 if (zend_hash_del(CG(function_table), function_name, function_name_length+1)==FAILURE) { 2630 return zend_register_functions(NULL, disabled_function, CG(function_table), MODULE_PERSISTENT TSRMLS_CC); 2664 zend_hash_clean(&((*disabled_class)->function_table)); 4002 HashTable *function_table; local [all...] |
| H A D | zend_execute_API.c | 150 EG(function_table) = CG(function_table); 285 zend_hash_apply(EG(function_table), (apply_func_t) zend_cleanup_function_data_full TSRMLS_CC); 288 zend_hash_reverse_apply(EG(function_table), (apply_func_t) zend_cleanup_function_data TSRMLS_CC); 301 zend_hash_reverse_apply(EG(function_table), (apply_func_t) clean_non_persistent_function_full TSRMLS_CC); 304 zend_hash_reverse_apply(EG(function_table), (apply_func_t) clean_non_persistent_function TSRMLS_CC); 687 int call_user_function(HashTable *function_table, zval **object_pp, zval *function_name, zval *retval_ptr, zend_uint param_count, zval *params[] TSRMLS_DC) /* {{{ */ argument 702 ex_retval = call_user_function_ex(function_table, object_pp, function_name, &local_retval_ptr, param_count, params_array, 1, NULL TSRMLS_CC); 715 int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *function_name, zval **retval_ptr_ptr, zend_uint param_count, zval **params[], int no_separation, HashTable *symbol_table TSRMLS_DC) /* {{{ */ argument 720 fci.function_table [all...] |
| H A D | zend_builtin_functions.c | 1067 zend_hash_internal_pointer_reset_ex(&ce->function_table, &pos); 1069 while (zend_hash_get_current_data_ex(&ce->function_table, (void **) &mptr, &pos) == SUCCESS) { 1082 if (zend_hash_get_current_key_ex(&ce->function_table, &key, &key_len, &num_index, 0, &pos) != HASH_KEY_IS_STRING) { 1104 zend_hash_move_forward_ex(&ce->function_table, &pos); 1135 if (zend_hash_exists(&ce->function_table, lcname, method_len+1)) { 1370 retval = (zend_hash_find(EG(function_table), name, name_len+1, (void **)&func) == SUCCESS); 1755 zend_hash_apply_with_arguments(EG(function_table) TSRMLS_CC, (apply_func_args_t) copy_function_name, 2, internal, user); 1834 if (zend_hash_find(EG(function_table), LAMBDA_TEMP_FUNCNAME, sizeof(LAMBDA_TEMP_FUNCNAME), (void **) &func)==FAILURE) { 1846 } while (zend_hash_add(EG(function_table), function_name, function_name_length+1, &new_function, sizeof(zend_function), NULL)==FAILURE); 1847 zend_hash_del(EG(function_table), LAMBDA_TEMP_FUNCNAM [all...] |
| /PHP_5_5/ext/com_dotnet/ |
| H A D | com_wrapper.c | 295 if (SUCCESS == call_user_function_ex(EG(function_table), &disp->object, *name, 500 zend_hash_internal_pointer_reset_ex(&Z_OBJCE_P(disp->object)->function_table, &pos); 502 zend_hash_get_current_key_ex(&Z_OBJCE_P(disp->object)->function_table,
|
| /PHP_5_5/ext/filter/ |
| H A D | callback_filter.c | 39 status = call_user_function_ex(EG(function_table), NULL, option_array, &retval_ptr, 1, args, 0, NULL TSRMLS_CC);
|
| /PHP_5_5/ext/pdo_sqlite/ |
| H A D | sqlite_driver.c | 329 fc->fci.function_table = EG(function_table); 493 collation->fc.fci.function_table = EG(function_table);
|
| /PHP_5_5/ext/readline/ |
| H A D | readline.c | 485 if (call_user_function(CG(function_table), NULL, _readline_completion, &_readline_array, 3, params TSRMLS_CC) == SUCCESS) { 555 call_user_function(CG(function_table), NULL, _prepped_callback, &dummy, 1, params TSRMLS_CC);
|
| H A D | readline_cli.c | 543 retval = cli_completion_generator_func(lc_text, textlen, &cli_completion_state, pce ? &(*pce)->function_table : EG(function_table) TSRMLS_CC);
|
| /PHP_5_5/ext/session/ |
| H A D | mod_user.c | 53 if (call_user_function(EG(function_table), NULL, func, retval, argc, argv TSRMLS_CC) == FAILURE) {
|
| /PHP_5_5/ext/spl/ |
| H A D | php_spl.c | 585 zend_hash_find(EG(function_table), "spl_autoload", sizeof("spl_autoload"), (void **) &spl_func_ptr); 618 zend_hash_find(EG(function_table), "spl_autoload_call", sizeof("spl_autoload_call"), (void **) &EG(autoload_func)); 620 zend_hash_find(EG(function_table), "spl_autoload", sizeof("spl_autoload"), (void **) &EG(autoload_func)); 690 zend_hash_find(EG(function_table), "spl_autoload", sizeof("spl_autoload"), (void **) &spl_func_ptr); 715 if (zend_hash_find(EG(function_table), ZEND_AUTOLOAD_FUNC_NAME, sizeof(ZEND_AUTOLOAD_FUNC_NAME), (void **) &fptr) == SUCCESS) { 723 zend_hash_find(EG(function_table), "spl_autoload_call", sizeof("spl_autoload_call"), (void **) &fptr);
|
| H A D | spl_fixedarray.c | 270 zend_hash_find(&class_type->function_table, "rewind", sizeof("rewind"), (void **) &class_type->iterator_funcs.zf_rewind); 271 zend_hash_find(&class_type->function_table, "valid", sizeof("valid"), (void **) &class_type->iterator_funcs.zf_valid); 272 zend_hash_find(&class_type->function_table, "key", sizeof("key"), (void **) &class_type->iterator_funcs.zf_key); 273 zend_hash_find(&class_type->function_table, "current", sizeof("current"), (void **) &class_type->iterator_funcs.zf_current); 274 zend_hash_find(&class_type->function_table, "next", sizeof("next"), (void **) &class_type->iterator_funcs.zf_next); 293 zend_hash_find(&class_type->function_table, "offsetget", sizeof("offsetget"), (void **) &intern->fptr_offset_get); 297 zend_hash_find(&class_type->function_table, "offsetset", sizeof("offsetset"), (void **) &intern->fptr_offset_set); 301 zend_hash_find(&class_type->function_table, "offsetexists", sizeof("offsetexists"), (void **) &intern->fptr_offset_has); 305 zend_hash_find(&class_type->function_table, "offsetunset", sizeof("offsetunset"), (void **) &intern->fptr_offset_del); 309 zend_hash_find(&class_type->function_table, "coun [all...] |
| /PHP_5_5/ext/standard/ |
| H A D | assert.c | 222 call_user_function(CG(function_table), NULL, ASSERTG(callback), retval, 3, args TSRMLS_CC); 230 call_user_function(CG(function_table), NULL, ASSERTG(callback), retval, 4, args TSRMLS_CC);
|
| H A D | var_unserializer.re | 395 zend_hash_exists(&Z_OBJCE_PP(rval)->function_table, "__wakeup", sizeof("__wakeup"))) { 399 call_user_function_ex(CG(function_table), rval, &fname, &retval_ptr, 0, 0, 1, NULL TSRMLS_CC); 717 if (call_user_function_ex(CG(function_table), NULL, user_func, &retval_ptr, 1, args, 0, NULL TSRMLS_CC) != SUCCESS) {
|
| /PHP_5_5/sapi/apache_hooks/ |
| H A D | sapi_apache.c | 102 call_user_function_ex(EG(function_table), &class, method, ret, 0, NULL, 0, NULL TSRMLS_CC);
|
| /PHP_5_5/sapi/milter/ |
| H A D | php_milter.c | 156 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 0, NULL TSRMLS_CC); 227 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC); 261 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC); 301 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC); 341 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC); 380 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 2, param TSRMLS_CC); 412 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 0, NULL TSRMLS_CC); 446 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC); 477 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 0, NULL TSRMLS_CC); 506 status = call_user_function(CG(function_table), NUL [all...] |
| /PHP_5_5/ext/opcache/ |
| H A D | zend_persist_calc.c | 239 ADD_SIZE(zend_hash_persist_calc(&ce->function_table, (int (*)(void* TSRMLS_DC)) zend_persist_op_array_calc, sizeof(zend_op_array) TSRMLS_CC)); 335 ADD_SIZE(zend_hash_persist_calc(&new_persistent_script->function_table, (int (*)(void* TSRMLS_DC)) zend_persist_op_array_calc, sizeof(zend_op_array) TSRMLS_CC));
|
| H A D | ZendAccelerator.c | 391 p = CG(function_table)->pListHead; 427 q = ce->function_table.pListHead; 1351 orig_function_table = CG(function_table); 1356 CG(function_table) = &ZCG(function_table); 1382 CG(function_table) = orig_function_table; 1389 zend_accel_free_user_functions(&ZCG(function_table) TSRMLS_CC); 1400 zend_accel_move_user_functions(&ZCG(function_table), &new_persistent_script->function_table TSRMLS_CC); 2110 /* check if ZCG(function_table) was [all...] |
| H A D | ZendAccelerator.h | 179 HashTable function_table; member in struct:_zend_persistent_script 238 /* copy of CG(function_table) used for compilation scripts into cache */ 240 HashTable function_table; member in struct:_zend_accel_globals
|
| H A D | zend_accelerator_util_funcs.c | 70 ce->function_table.pDestructor = (dtor_func_t) zend_accel_destroy_zend_function; 79 zend_hash_init(&persistent_script->function_table, 100, NULL, (dtor_func_t) zend_accel_destroy_zend_function, 0); 92 persistent_script->function_table.pDestructor = (dtor_func_t)zend_accel_destroy_zend_function; 95 persistent_script->function_table.pDestructor = NULL; 99 zend_hash_destroy(&persistent_script->function_table); 129 HashTable *function_table = va_arg(args, HashTable *); local 136 zend_hash_quick_update(function_table, hash_key->arKey, hash_key->nKeyLength, hash_key->h, function, sizeof(zend_function), NULL); 156 static int copy_internal_function(zend_function *function, HashTable *function_table TSRMLS_DC) 159 zend_hash_update(function_table, function->common.function_name, strlen(function->common.function_name) + 1, function, sizeof(zend_function), NULL); 166 zend_hash_apply_with_argument(CG(function_table), (apply_func_arg_ [all...] |
| /PHP_5_5/ext/reflection/ |
| H A D | php_reflection.c | 493 if (&ce->function_table) { 495 count = zend_hash_num_elements(&ce->function_table); 500 zend_hash_internal_pointer_reset_ex(&ce->function_table, &pos); 502 while (zend_hash_get_current_data_ex(&ce->function_table, (void **) &mptr, &pos) == SUCCESS) { 508 zend_hash_move_forward_ex(&ce->function_table, &pos); 518 zend_hash_internal_pointer_reset_ex(&ce->function_table, &pos); 520 while (zend_hash_get_current_data_ex(&ce->function_table, (void **) &mptr, &pos) == SUCCESS) { 527 zend_hash_move_forward_ex(&ce->function_table, &pos); 592 if (&ce->function_table) { 593 count = zend_hash_num_elements(&ce->function_table) [all...] |
| /PHP_5_5/ext/soap/ |
| H A D | soap.c | 917 fci.function_table = &Z_OBJCE_P(getThis())->function_table; 1348 ft = &(Z_OBJCE_P(service->soap_object)->function_table); 1350 ft = &service->soap_class.ce->function_table; 1352 ft = EG(function_table); 1423 if (zend_hash_find(EG(function_table), key, key_len+1, (void**)&f) == FAILURE) { 1445 if (zend_hash_find(EG(function_table), key, key_len+1, (void**)&f) == FAILURE) { 1490 HashTable *function_table; local 1530 if (call_user_function(EG(function_table), NULL, &readfile, &readfile_ret, 1, ¶m TSRMLS_CC) == FAILURE) { 1580 zend_hash_exists(EG(function_table), "gzinflat [all...] |