/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_bp.c | 438 HashTable class_breaks, *class_table; in phpdbg_set_breakpoint_method() local 456 if (!zend_hash_str_exists(class_table, func_lcname, func_len)) { in phpdbg_set_breakpoint_method() 471 PHPDBG_BREAK_MAPPING(new_break.id, class_table); in phpdbg_set_breakpoint_method() 643 HashTable class_breaks, *class_table; in phpdbg_set_breakpoint_method_opline() local 984 HashTable *class_table; in phpdbg_find_breakpoint_method() local 991 brake = zend_hash_find_ptr(class_table, lcname); in phpdbg_find_breakpoint_method() 1463 HashTable *class_table; in phpdbg_print_breakpoints() local 1467 ZEND_HASH_FOREACH_PTR(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD], class_table) { in phpdbg_print_breakpoints() 1470 ZEND_HASH_FOREACH_PTR(class_table, brake) { in phpdbg_print_breakpoints() 1549 HashTable *class_table, *method_table; in phpdbg_print_breakpoints() local [all …]
|
H A D | phpdbg_print.c | 270 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), rt_name, func) { in phpdbg_print_opcodes_function() 306 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), rt_name, ce) { in phpdbg_print_opcodes_method() 364 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), rt_name, ce) { in phpdbg_print_opcodes_class() 397 ZEND_HASH_FOREACH_PTR(EG(class_table), ce) { in phpdbg_print_opcodes()
|
H A D | phpdbg_info.c | 390 ZEND_HASH_FOREACH_PTR(EG(class_table), ce) { in PHPDBG_INFO()
|
H A D | phpdbg_utils.c | 401 *ce = zend_hash_str_find_ptr(EG(class_table), lc_name, lc_length); in phpdbg_safe_class_lookup()
|
H A D | phpdbg_prompt.c | 1137 phpdbg_writeln("info", "classes=\"%d\"", "Classes %d", zend_hash_num_elements(EG(class_table))); in PHPDBG_COMMAND() 1479 …phpdbg_writeln("clean", "classes=\"%d\"", "Classes %d", zend_hash_num_elements(EG(class_table))… in PHPDBG_COMMAND()
|
H A D | phpdbg.c | 599 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), name, ce) { in PHP_FUNCTION() 1078 zend_hash_num_elements(EG(class_table)), in phpdbg_welcome()
|
/PHP-8.0/ext/opcache/ |
H A D | zend_persist_calc.c | 533 static void zend_accel_persist_class_table_calc(HashTable *class_table) in zend_accel_persist_class_table_calc() argument 537 zend_hash_persist_calc(class_table); in zend_accel_persist_class_table_calc() 538 ZEND_HASH_FOREACH_BUCKET(class_table, p) { in zend_accel_persist_class_table_calc() 582 …if (new_persistent_script->script.class_table.nNumUsed != new_persistent_script->script.class_tabl… in zend_accel_script_persist_calc() 583 zend_hash_rehash(&new_persistent_script->script.class_table); in zend_accel_script_persist_calc() 585 zend_accel_persist_class_table_calc(&new_persistent_script->script.class_table); in zend_accel_script_persist_calc()
|
H A D | ZendAccelerator.c | 3292 if (EG(class_table)) { 3886 orig_dtor = EG(class_table)->pDestructor; 3887 EG(class_table)->pDestructor = NULL; 3936 EG(class_table)->nNumOfElements--; 3938 EG(class_table)->pDestructor = orig_dtor; 3939 zend_hash_rehash(EG(class_table)); 4337 Bucket *p = script->class_table.arData; 4340 zend_hash_extend(CG(class_table), 4341 CG(class_table)->nNumUsed + script->class_table.nNumUsed, 0); 4353 if (EG(class_table)) { [all …]
|
H A D | zend_accelerator_util_funcs.c | 57 zend_hash_init(&persistent_script->script.class_table, 0, NULL, ZEND_CLASS_DTOR, 0); in create_persistent_script() 68 persistent_script->script.class_table.nNumUsed = 0; in free_persistent_script() 74 zend_hash_destroy(&persistent_script->script.class_table); in free_persistent_script() 126 dst = &script->class_table; in zend_accel_move_user_classes() 777 if (zend_hash_num_elements(&persistent_script->script.class_table) > 0) { in zend_accel_load_script() 778 zend_accel_class_hash_copy_from_shm(CG(class_table), &persistent_script->script.class_table); in zend_accel_load_script() 806 if (zend_hash_num_elements(&persistent_script->script.class_table) > 0) { in zend_accel_load_script() 807 zend_accel_class_hash_copy(CG(class_table), &persistent_script->script.class_table); in zend_accel_load_script()
|
H A D | zend_persist.c | 1138 static void zend_accel_persist_class_table(HashTable *class_table) in zend_accel_persist_class_table() argument 1143 zend_hash_persist(class_table); in zend_accel_persist_class_table() 1144 ZEND_HASH_FOREACH_BUCKET(class_table, p) { in zend_accel_persist_class_table() 1149 ZEND_HASH_FOREACH_BUCKET(class_table, p) { in zend_accel_persist_class_table() 1211 zend_accel_persist_class_table(&script->script.class_table); in zend_accel_script_persist()
|
H A D | zend_accelerator_module.c | 658 if (zend_hash_num_elements(&ZCSG(preload_script)->script.class_table)) { 663 ZEND_HASH_FOREACH_STR_KEY_PTR(&ZCSG(preload_script)->script.class_table, key, ce) {
|
H A D | zend_file_cache.c | 899 …zend_file_cache_serialize_hash(&new_script->script.class_table, script, info, buf, zend_file_cache… 1636 zend_file_cache_unserialize_hash(&script->script.class_table,
|
/PHP-8.0/ext/opcache/Optimizer/ |
H A D | zend_optimizer.h | 90 HashTable class_table; member
|
H A D | escape_analysis.c | 153 zend_class_entry *ce = script ? zend_hash_find_ptr(&script->class_table, lcname) : NULL; in get_class_entry() 158 ce = zend_hash_find_ptr(CG(class_table), lcname); in get_class_entry()
|
H A D | zend_optimizer.c | 772 if (script && (ce = zend_hash_find_ptr(&script->class_table, class_name))) { in get_class_entry_from_op1() 774 } else if ((ce = zend_hash_find_ptr(EG(class_table), class_name))) { in get_class_entry_from_op1() 1388 ZEND_HASH_FOREACH_STR_KEY_PTR(&script->class_table, key, ce) { in zend_foreach_op_array() 1538 ZEND_HASH_FOREACH_STR_KEY_PTR(&script->class_table, key, ce) { in zend_optimize_script()
|
H A D | pass1.c | 242 if ((ce = zend_hash_find_ptr(EG(class_table), in zend_optimizer_pass1()
|
H A D | zend_ssa.c | 531 zend_class_entry *ce = script ? zend_hash_find_ptr(&script->class_table, lcname) : NULL; in place_essa_pis() 533 ce = zend_hash_find_ptr(CG(class_table), lcname); in place_essa_pis()
|
/PHP-8.0/Zend/ |
H A D | zend_globals.h | 78 HashTable *class_table; /* class table */ member 157 HashTable *class_table; /* class table */ member
|
H A D | zend.c | 57 # define GLOBAL_CLASS_TABLE CG(class_table) 667 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor() 704 if (compiler_globals->class_table != GLOBAL_CLASS_TABLE) { in compiler_globals_dtor() 705 zend_hash_destroy(compiler_globals->class_table); in compiler_globals_dtor() 706 free(compiler_globals->class_table); in compiler_globals_dtor() 925 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in zend_startup() 928 *compiler_globals->class_table = *GLOBAL_CLASS_TABLE; in zend_startup() 1006 ZEND_HASH_FOREACH_PTR(CG(class_table), ce) { in zend_resolve_property_types() 1053 *GLOBAL_CLASS_TABLE = *compiler_globals->class_table; in zend_post_startup() 1063 free(compiler_globals->class_table); in zend_post_startup() [all …]
|
H A D | zend_execute_API.c | 142 EG(class_table) = CG(class_table); in init_executor() 186 EG(persistent_classes_count) = EG(class_table)->nNumUsed; in init_executor() 296 ZEND_HASH_REVERSE_FOREACH_VAL(EG(class_table), zv) { in shutdown_executor() 355 zend_hash_discard(EG(class_table), EG(persistent_classes_count)); in shutdown_executor() 363 zend_hash_reverse_apply(EG(class_table), clean_non_persistent_class_full); in shutdown_executor() 387 ZEND_HASH_REVERSE_FOREACH_STR_KEY_VAL(EG(class_table), key, zv) { in shutdown_executor() 1052 zv = zend_hash_find(EG(class_table), lc_name); in zend_lookup_class_ex()
|
H A D | zend_compile.c | 1108 zv = zend_hash_find_ex(EG(class_table), Z_STR_P(rtd_key), 1); in do_bind_class() 1111 ce = zend_hash_find_ptr(EG(class_table), Z_STR_P(lcname)); in do_bind_class() 1120 zv = zend_hash_find_ex(EG(class_table), Z_STR_P(rtd_key), 1); in do_bind_class() 1141 zv = zend_hash_find(EG(class_table), Z_STR_P(lcname)); in do_bind_class() 1350 zval *zv = zend_hash_find_ex(EG(class_table), Z_STR_P(lcname + 1), 1); in zend_do_delayed_early_binding() 1625 ce = zend_hash_find_ptr_lc(CG(class_table), ce->parent_name); in zend_verify_ct_const_access() 1645 zend_class_entry *ce = zend_hash_find_ptr_lc(CG(class_table), class_name); in zend_try_ct_eval_class_const() 4497 ce = zend_hash_find_ptr(CG(class_table), lcname); in zend_compile_static_call() 7365 } while (zend_hash_exists(CG(class_table), lcname)); in zend_compile_class_decl() 7467 if (!zend_hash_add_ptr(CG(class_table), lcname, ce)) { in zend_compile_class_decl() [all …]
|
H A D | zend_API.c | 1974 ZEND_HASH_FOREACH_PTR(CG(class_table), ce) { in zend_collect_module_handlers() 1987 ZEND_HASH_FOREACH_PTR(CG(class_table), ce) { in zend_collect_module_handlers() 2614 zend_hash_apply_with_argument(EG(class_table), clean_module_class, (void *) &module_number); in clean_module_classes() 2781 zend_hash_update_ptr(CG(class_table), lowercase_name, class_entry); in do_register_internal_class() 2873 ret = zend_hash_add(CG(class_table), lcname, &zv); in zend_register_class_alias_ex() 2989 disabled_class = zend_hash_find_ptr(CG(class_table), key); in zend_disable_class()
|
H A D | zend_builtin_functions.c | 1035 ce = zend_hash_find_ptr(EG(class_table), lcname); in class_exists_impl() 1299 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), key, ce) { in get_declared_class_impl()
|
/PHP-8.0/ext/spl/ |
H A D | php_spl.c | 65 ce = zend_hash_find_ptr(EG(class_table), lc_name); in spl_find_ce_by_name() 291 return zend_hash_exists(EG(class_table), lc_name); in spl_autoload() 445 zend_class_entry *ce = zend_hash_find_ptr(EG(class_table), lc_name); in spl_perform_autoload()
|
/PHP-8.0/ext/readline/ |
H A D | readline_cli.c | 483 char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&ce); in cli_completion_generator_class()
|