Home
last modified time | relevance | path

Searched refs:class_table (Results 1 – 25 of 32) sorted by relevance

12

/PHP-8.3/ext/opcache/
H A Dzend_accelerator_util_funcs.c48 zend_hash_init(&persistent_script->script.class_table, 0, NULL, ZEND_CLASS_DTOR, 0); in create_persistent_script()
59 persistent_script->script.class_table.nNumUsed = 0; in free_persistent_script()
65 zend_hash_destroy(&persistent_script->script.class_table); in free_persistent_script()
129 dst = &script->class_table; in zend_accel_move_user_classes()
355 zend_class_entry *ce = zend_hash_find_ex_ptr(EG(class_table), early_binding->lcname, 1); in zend_accel_do_delayed_early_binding()
357 zval *zv = zend_hash_find_known_hash(EG(class_table), early_binding->rtd_key); in zend_accel_do_delayed_early_binding()
361 ? zend_hash_find_ex_ptr(EG(class_table), early_binding->lc_parent_name, 1) in zend_accel_do_delayed_early_binding()
410 if (zend_hash_num_elements(&persistent_script->script.class_table) > 0) { in zend_accel_load_script()
412 zend_accel_class_hash_copy(CG(class_table), &persistent_script->script.class_table); in zend_accel_load_script()
414 zend_accel_class_hash_copy_notify(CG(class_table), &persistent_script->script.class_table); in zend_accel_load_script()
H A Dzend_persist_calc.c564 static void zend_accel_persist_class_table_calc(HashTable *class_table) in zend_accel_persist_class_table_calc() argument
568 zend_hash_persist_calc(class_table); in zend_accel_persist_class_table_calc()
569 ZEND_HASH_MAP_FOREACH_BUCKET(class_table, p) { in zend_accel_persist_class_table_calc()
619 …if (new_persistent_script->script.class_table.nNumUsed != new_persistent_script->script.class_tabl… in zend_accel_script_persist_calc()
620 zend_hash_rehash(&new_persistent_script->script.class_table); in zend_accel_script_persist_calc()
622 zend_accel_persist_class_table_calc(&new_persistent_script->script.class_table); in zend_accel_script_persist_calc()
H A DZendAccelerator.c667 ZEND_HASH_MAP_FOREACH_BUCKET(CG(class_table), p) { in accel_copy_permanent_strings()
1797 orig_class_count = EG(class_table)->nNumUsed; in opcache_compile_file()
1846 …zend_accel_move_user_classes(CG(class_table), CG(class_table)->nNumUsed - orig_class_count, &new_p… in opcache_compile_file()
3502 if (EG(class_table)) {
4289 Bucket *p = script->class_table.arData;
4290 Bucket *end = p + script->class_table.nNumUsed;
4292 zend_hash_extend(CG(class_table),
4293 CG(class_table)->nNumUsed + script->class_table.nNumUsed, 0);
4305 if (EG(class_table)) {
4492 preload_move_user_classes(CG(class_table), &script->script.class_table);
[all …]
H A Dzend_persist.c1231 static void zend_accel_persist_class_table(HashTable *class_table) in zend_accel_persist_class_table() argument
1240 zend_hash_persist(class_table); in zend_accel_persist_class_table()
1241 ZEND_HASH_MAP_FOREACH_BUCKET(class_table, p) { in zend_accel_persist_class_table()
1246 ZEND_HASH_MAP_FOREACH_BUCKET(class_table, p) { in zend_accel_persist_class_table()
1258 ZEND_HASH_MAP_FOREACH_BUCKET(class_table, p) { in zend_accel_persist_class_table()
1275 ZEND_HASH_MAP_FOREACH_BUCKET(class_table, p) { in zend_accel_persist_class_table()
1361 zend_accel_persist_class_table(&script->script.class_table); in zend_accel_script_persist()
H A Dzend_accelerator_module.c717 if (zend_hash_num_elements(&ZCSG(preload_script)->script.class_table)) {
722 ZEND_HASH_MAP_FOREACH_STR_KEY_VAL(&ZCSG(preload_script)->script.class_table, key, zv) {
H A Dzend_file_cache.c944 …zend_file_cache_serialize_hash(&new_script->script.class_table, script, info, buf, zend_file_cache…
1760 zend_file_cache_unserialize_hash(&script->script.class_table,
/PHP-8.3/sapi/phpdbg/
H A Dphpdbg_bp.c437 HashTable class_breaks, *class_table; in phpdbg_set_breakpoint_method() local
455 if (!zend_hash_str_exists(class_table, func_lcname, func_len)) { in phpdbg_set_breakpoint_method()
470 PHPDBG_BREAK_MAPPING(new_break.id, class_table); in phpdbg_set_breakpoint_method()
642 HashTable class_breaks, *class_table; in phpdbg_set_breakpoint_method_opline() local
985 HashTable *class_table; in phpdbg_find_breakpoint_method() local
992 brake = zend_hash_find_ptr(class_table, lcname); in phpdbg_find_breakpoint_method()
1462 HashTable *class_table; in phpdbg_print_breakpoints() local
1466 ZEND_HASH_MAP_FOREACH_PTR(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD], class_table) { in phpdbg_print_breakpoints()
1469 ZEND_HASH_MAP_FOREACH_PTR(class_table, brake) { in phpdbg_print_breakpoints()
1548 HashTable *class_table, *method_table; in phpdbg_print_breakpoints() local
[all …]
H A Dphpdbg_print.c341 ZEND_HASH_MAP_FOREACH_PTR(EG(class_table), ce) { in phpdbg_print_opcodes()
H A Dphpdbg_info.c390 ZEND_HASH_MAP_FOREACH_PTR(EG(class_table), ce) { in PHPDBG_INFO()
H A Dphpdbg_utils.c417 *ce = zend_hash_str_find_ptr(EG(class_table), lc_name, lc_length); in phpdbg_safe_class_lookup()
H A Dphpdbg.c552 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(EG(class_table), name, ce) { in PHP_FUNCTION()
1013 zend_hash_num_elements(EG(class_table)), in phpdbg_welcome()
H A Dphpdbg_prompt.c1121 phpdbg_writeln("Classes %d", zend_hash_num_elements(EG(class_table))); in PHPDBG_COMMAND()
1459 phpdbg_writeln("Classes %d", zend_hash_num_elements(EG(class_table))); in PHPDBG_COMMAND()
/PHP-8.3/Zend/Optimizer/
H A Dzend_optimizer.h90 HashTable class_table; member
H A Dzend_optimizer.c795 zend_class_entry *ce = script ? zend_hash_find_ptr(&script->class_table, lcname) : NULL; in zend_optimizer_get_class_entry()
800 ce = zend_hash_find_ptr(CG(class_table), lcname); in zend_optimizer_get_class_entry()
1432 ZEND_HASH_MAP_FOREACH_VAL(&script->class_table, zv) { in zend_foreach_op_array()
1594 ZEND_HASH_MAP_FOREACH_VAL(&script->class_table, zv) { in zend_optimize_script()
/PHP-8.3/Zend/
H A Dzend_globals.h94 HashTable *class_table; /* class table */ member
183 HashTable *class_table; /* class table */ member
H A Dzend.c68 # define GLOBAL_CLASS_TABLE CG(class_table)
713 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor()
714 zend_hash_init(compiler_globals->class_table, 64, NULL, ZEND_CLASS_DTOR, 1); in compiler_globals_ctor()
763 if (compiler_globals->class_table != GLOBAL_CLASS_TABLE) { in compiler_globals_dtor()
765 zend_hash_graceful_reverse_destroy(compiler_globals->class_table); in compiler_globals_dtor()
766 free(compiler_globals->class_table); in compiler_globals_dtor()
1001 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
1004 *compiler_globals->class_table = *GLOBAL_CLASS_TABLE; in zend_startup()
1083 *GLOBAL_CLASS_TABLE = *compiler_globals->class_table; in zend_post_startup()
1093 free(compiler_globals->class_table); in zend_post_startup()
[all …]
H A Dzend_extensions.c313 ZEND_HASH_MAP_FOREACH_PTR(CG(class_table), ce) { in zend_init_internal_run_time_cache()
326 ZEND_HASH_MAP_FOREACH_PTR(CG(class_table), ce) { in zend_init_internal_run_time_cache()
H A Dzend_execute_API.c147 EG(class_table) = CG(class_table); in init_executor()
191 EG(persistent_classes_count) = EG(class_table)->nNumUsed; in init_executor()
320 ZEND_HASH_MAP_REVERSE_FOREACH_VAL(EG(class_table), zv) { in zend_shutdown_executor_values()
434 zend_hash_discard(EG(class_table), EG(persistent_classes_count)); in shutdown_executor()
440 zend_hash_reverse_apply(EG(class_table), clean_non_persistent_class_full); in shutdown_executor()
451 ZEND_HASH_MAP_REVERSE_FOREACH_STR_KEY_VAL(EG(class_table), key, zv) { in shutdown_executor()
1149 zv = zend_hash_find(EG(class_table), lc_name); in zend_lookup_class_ex()
H A Dzend_inheritance.c254 ce = zend_hash_find_ptr(CG(class_table), lc_name); in lookup_class_ex()
2172 trait = zend_hash_find_ptr(EG(class_table), lc_trait_name); in zend_traits_init_trait_structures()
2201 exclude_ce = zend_hash_find_ptr(EG(class_table), lc_trait_name); in zend_traits_init_trait_structures()
2246 trait = zend_hash_find_ptr(EG(class_table), lc_trait_name); in zend_traits_init_trait_structures()
3110 zv = zend_hash_find_known_hash(CG(class_table), key); in zend_do_link_class()
3128 zv = zend_hash_find_known_hash(CG(class_table), key); in zend_do_link_class()
3134 zv = zend_hash_find_known_hash(CG(class_table), key); in zend_do_link_class()
3242 zv = zend_hash_find_known_hash(CG(class_table), key); in zend_do_link_class()
3345 if (zend_hash_add_ptr(EG(class_table), lcname, ce) != NULL) { in register_early_bound_ce()
3352 if (zend_hash_add_ptr(CG(class_table), lcname, ce) != NULL) { in register_early_bound_ce()
[all …]
H A Dzend_observer.c94 ZEND_HASH_MAP_FOREACH_PTR(CG(class_table), ce) { in zend_observer_post_startup()
H A Dzend_compile.c1242 success = zend_hash_add_ptr(EG(class_table), Z_STR_P(lcname), ce) != NULL; in zend_bind_class_in_slot()
1263 zval *zv = zend_hash_find(EG(class_table), Z_STR_P(lcname)); in zend_bind_class_in_slot()
1266 zend_hash_del(EG(class_table), Z_STR_P(lcname)); in zend_bind_class_in_slot()
1278 zv = zend_hash_find_known_hash(EG(class_table), Z_STR_P(rtd_key)); in do_bind_class()
1281 ce = zend_hash_find_ptr(EG(class_table), Z_STR_P(lcname)); in do_bind_class()
1779 ce = zend_hash_find_ptr_lc(CG(class_table), ce->parent_name); in zend_verify_ct_const_access()
1799 zend_class_entry *ce = zend_hash_find_ptr_lc(CG(class_table), class_name); in zend_try_ct_eval_class_const()
4840 ce = zend_hash_find_ptr(CG(class_table), lcname); in zend_compile_static_call()
8110 } while (zend_hash_exists(CG(class_table), lcname)); in zend_compile_class_decl()
8229 if (!zend_hash_add_ptr(CG(class_table), lcname, ce)) { in zend_compile_class_decl()
[all …]
H A Dzend_builtin_functions.c1009 ce = zend_hash_find_ptr(EG(class_table), lcname); in class_exists_impl()
1267 ZEND_HASH_MAP_FOREACH_STR_KEY_VAL(EG(class_table), key, zv) { in get_declared_class_impl()
H A Dzend_API.c2423 ZEND_HASH_MAP_FOREACH_PTR(CG(class_table), ce) { in zend_collect_module_handlers()
2437 ZEND_HASH_MAP_FOREACH_PTR(CG(class_table), ce) { in zend_collect_module_handlers()
3121 zend_hash_apply_with_argument(EG(class_table), clean_module_class, (void *) &module_number); in clean_module_classes()
3328 zend_hash_update_ptr(CG(class_table), lowercase_name, class_entry); in do_register_internal_class()
3425 ret = zend_hash_add(CG(class_table), lcname, &zv); in zend_register_class_alias_ex()
3543 disabled_class = zend_hash_find_ptr(CG(class_table), key); in zend_disable_class()
/PHP-8.3/ext/spl/
H A Dphp_spl.c57 ce = zend_hash_find_ptr(EG(class_table), lc_name); in spl_find_ce_by_name()
288 return zend_hash_exists(EG(class_table), lc_name); in spl_autoload()
456 zend_class_entry *ce = zend_hash_find_ptr(EG(class_table), lc_name); in spl_perform_autoload()
/PHP-8.3/ext/readline/
H A Dreadline_cli.c494 char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&ce); in cli_completion_generator_class()

Completed in 186 milliseconds

12