Home
last modified time | relevance | path

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

12

/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_bp.c440 HashTable class_breaks, *class_table; in phpdbg_set_breakpoint_method() local
458 if (!zend_hash_str_exists(class_table, func_lcname, func_len)) { in phpdbg_set_breakpoint_method()
473 PHPDBG_BREAK_MAPPING(new_break.id, class_table); in phpdbg_set_breakpoint_method()
645 HashTable class_breaks, *class_table; in phpdbg_set_breakpoint_method_opline() local
992 HashTable *class_table; in phpdbg_find_breakpoint_method() local
999 brake = zend_hash_find_ptr(class_table, lcname); in phpdbg_find_breakpoint_method()
1471 HashTable *class_table; in phpdbg_print_breakpoints() local
1475 ZEND_HASH_FOREACH_PTR(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD], class_table) { in phpdbg_print_breakpoints()
1478 ZEND_HASH_FOREACH_PTR(class_table, brake) { in phpdbg_print_breakpoints()
1557 HashTable *class_table, *method_table; in phpdbg_print_breakpoints() local
[all …]
H A Dphpdbg_print.c272 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), rt_name, func) { in phpdbg_print_opcodes_function()
308 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), rt_name, ce) { in phpdbg_print_opcodes_method()
366 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), rt_name, ce) { in phpdbg_print_opcodes_class()
399 ZEND_HASH_FOREACH_PTR(EG(class_table), ce) { in phpdbg_print_opcodes()
H A Dphpdbg_info.c392 ZEND_HASH_FOREACH_PTR(EG(class_table), ce) { in PHPDBG_INFO()
H A Dphpdbg_utils.c403 *ce = zend_hash_str_find_ptr(EG(class_table), lc_name, lc_length); in phpdbg_safe_class_lookup()
H A Dphpdbg_prompt.c1146 phpdbg_writeln("info", "classes=\"%d\"", "Classes %d", zend_hash_num_elements(EG(class_table))); in PHPDBG_COMMAND()
1489 …phpdbg_writeln("clean", "classes=\"%d\"", "Classes %d", zend_hash_num_elements(EG(class_table))… in PHPDBG_COMMAND()
H A Dphpdbg.c580 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), name, ce) { in PHP_FUNCTION()
1141 zend_hash_num_elements(EG(class_table)), in phpdbg_welcome()
/PHP-7.4/ext/opcache/
H A DZendAccelerator.c3212 if (EG(class_table)) { in preload_shutdown()
3798 orig_dtor = EG(class_table)->pDestructor; in preload_link()
3799 EG(class_table)->pDestructor = NULL; in preload_link()
3848 EG(class_table)->nNumOfElements--; in preload_link()
3850 EG(class_table)->pDestructor = orig_dtor; in preload_link()
3851 zend_hash_rehash(EG(class_table)); in preload_link()
4241 Bucket *p = script->class_table.arData; in preload_load()
4244 zend_hash_extend(CG(class_table), in preload_load()
4245 CG(class_table)->nNumUsed + script->class_table.nNumUsed, 0); in preload_load()
4257 if (EG(class_table)) { in preload_load()
[all …]
H A Dzend_persist_calc.c489 static void zend_accel_persist_class_table_calc(HashTable *class_table) in zend_accel_persist_class_table_calc() argument
493 zend_hash_persist_calc(class_table); in zend_accel_persist_class_table_calc()
494 ZEND_HASH_FOREACH_BUCKET(class_table, p) { in zend_accel_persist_class_table_calc()
529 …if (new_persistent_script->script.class_table.nNumUsed != new_persistent_script->script.class_tabl… in zend_accel_script_persist_calc()
530 zend_hash_rehash(&new_persistent_script->script.class_table); in zend_accel_script_persist_calc()
532 zend_accel_persist_class_table_calc(&new_persistent_script->script.class_table); in zend_accel_script_persist_calc()
H A Dzend_accelerator_util_funcs.c57 zend_hash_init(&persistent_script->script.class_table, 0, NULL, ZEND_CLASS_DTOR, 0); in create_persistent_script()
66 persistent_script->script.class_table.pDestructor = NULL; in free_persistent_script()
70 zend_hash_destroy(&persistent_script->script.class_table); in free_persistent_script()
122 dst = &script->class_table; in zend_accel_move_user_classes()
760 if (zend_hash_num_elements(&persistent_script->script.class_table) > 0) { in zend_accel_load_script()
761 zend_accel_class_hash_copy_from_shm(CG(class_table), &persistent_script->script.class_table); in zend_accel_load_script()
789 if (zend_hash_num_elements(&persistent_script->script.class_table) > 0) { in zend_accel_load_script()
790 zend_accel_class_hash_copy(CG(class_table), &persistent_script->script.class_table); in zend_accel_load_script()
H A Dzend_persist.c1029 static void zend_accel_persist_class_table(HashTable *class_table) in zend_accel_persist_class_table() argument
1034 zend_hash_persist(class_table); in zend_accel_persist_class_table()
1035 ZEND_HASH_FOREACH_BUCKET(class_table, p) { in zend_accel_persist_class_table()
1040 ZEND_HASH_FOREACH_BUCKET(class_table, p) { in zend_accel_persist_class_table()
1083 zend_accel_persist_class_table(&script->script.class_table); in zend_accel_script_persist()
H A Dzend_accelerator_module.c668 if (zend_hash_num_elements(&ZCSG(preload_script)->script.class_table)) {
673 ZEND_HASH_FOREACH_STR_KEY_PTR(&ZCSG(preload_script)->script.class_table, key, ce) {
H A Dzend_file_cache.c824 …zend_file_cache_serialize_hash(&new_script->script.class_table, script, info, buf, zend_file_cache…
1509 zend_file_cache_unserialize_hash(&script->script.class_table,
/PHP-7.4/ext/opcache/Optimizer/
H A Dzend_optimizer.h88 HashTable class_table; member
H A Descape_analysis.c153 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 Dzend_optimizer.c787 if (script && (ce = zend_hash_find_ptr(&script->class_table, class_name))) { in get_class_entry_from_op1()
789 } else if ((ce = zend_hash_find_ptr(EG(class_table), class_name))) { in get_class_entry_from_op1()
1356 ZEND_HASH_FOREACH_STR_KEY_PTR(&script->class_table, key, ce) { in zend_optimize_script()
1472 ZEND_HASH_FOREACH_STR_KEY_PTR(&script->class_table, key, ce) { in zend_optimize_script()
1486 ZEND_HASH_FOREACH_STR_KEY_PTR(&script->class_table, key, ce) { in zend_optimize_script()
1520 ZEND_HASH_FOREACH_PTR(&script->class_table, ce) { in zend_optimize_script()
H A Dzend_call_graph.c69 ZEND_HASH_FOREACH_STR_KEY_PTR(&script->class_table, key, ce) { in zend_foreach_op_array()
H A Dpass1_5.c200 if ((ce = zend_hash_find_ptr(EG(class_table), in zend_optimizer_pass1()
/PHP-7.4/Zend/
H A Dzend_globals.h78 HashTable *class_table; /* class table */ member
156 HashTable *class_table; /* class table */ member
H A Dzend.c55 # define GLOBAL_CLASS_TABLE CG(class_table)
638 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor()
673 if (compiler_globals->class_table != GLOBAL_CLASS_TABLE) { in compiler_globals_dtor()
674 zend_hash_destroy(compiler_globals->class_table); in compiler_globals_dtor()
675 free(compiler_globals->class_table); in compiler_globals_dtor()
893 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
896 *compiler_globals->class_table = *GLOBAL_CLASS_TABLE; in zend_startup()
967 ZEND_HASH_FOREACH_PTR(CG(class_table), ce) { in zend_resolve_property_types()
1016 *GLOBAL_CLASS_TABLE = *compiler_globals->class_table; in zend_post_startup()
1026 free(compiler_globals->class_table); in zend_post_startup()
[all …]
H A Dzend_execute_API.c140 EG(class_table) = CG(class_table); in init_executor()
187 EG(persistent_classes_count) = EG(class_table)->nNumUsed; in init_executor()
297 ZEND_HASH_REVERSE_FOREACH_VAL(EG(class_table), zv) { in shutdown_executor()
358 zend_hash_discard(EG(class_table), EG(persistent_classes_count)); in shutdown_executor()
366 zend_hash_reverse_apply(EG(class_table), clean_non_persistent_class_full); in shutdown_executor()
390 ZEND_HASH_REVERSE_FOREACH_STR_KEY_VAL(EG(class_table), key, zv) { in shutdown_executor()
919 zv = zend_hash_find(EG(class_table), lc_name); in zend_lookup_class_ex()
1003 ce = zend_hash_find_ptr(EG(class_table), lc_name); in zend_lookup_class_ex()
H A Dzend_compile.c1074 zv = zend_hash_find_ex(EG(class_table), Z_STR_P(rtd_key), 1); in do_bind_class()
1077 ce = zend_hash_find_ptr(EG(class_table), Z_STR_P(lcname)); in do_bind_class()
1086 zv = zend_hash_find_ex(EG(class_table), Z_STR_P(rtd_key), 1); in do_bind_class()
1107 zv = zend_hash_find(EG(class_table), Z_STR_P(lcname)); in do_bind_class()
1108 zend_hash_set_bucket_key(EG(class_table), (Bucket *) zv, Z_STR_P(rtd_key)); in do_bind_class()
1190 zval *zv = zend_hash_find_ex(EG(class_table), Z_STR_P(lcname + 1), 1); in zend_do_delayed_early_binding()
4008 ce = zend_hash_find_ptr(CG(class_table), lcname); in zend_compile_static_call()
6429 } while (zend_hash_exists(CG(class_table), lcname)); in zend_compile_class_decl()
6559 if (EXPECTED(zend_hash_add_ptr(CG(class_table), lcname, ce) != NULL)) { in zend_compile_class_decl()
6585 if (!zend_hash_add_ptr(CG(class_table), lcname, ce)) { in zend_compile_class_decl()
[all …]
H A Dzend_API.c1960 ZEND_HASH_FOREACH_PTR(CG(class_table), ce) { in zend_collect_module_handlers()
1973 ZEND_HASH_FOREACH_PTR(CG(class_table), ce) { in zend_collect_module_handlers()
2546 zend_hash_apply_with_argument(EG(class_table), clean_module_class, (void *) &module_number); in clean_module_classes()
2713 zend_hash_update_ptr(CG(class_table), lowercase_name, class_entry); in do_register_internal_class()
2790 ret = zend_hash_add(CG(class_table), lcname, &zv); in zend_register_class_alias_ex()
2888 disabled_class = zend_hash_find_ptr(CG(class_table), key); in zend_disable_class()
/PHP-7.4/ext/simplexml/
H A Dsxe.c191 …if ((pce = zend_hash_str_find_ptr(CG(class_table), "simplexmlelement", sizeof("SimpleXMLElement") … in PHP_MINIT_FUNCTION()
/PHP-7.4/ext/spl/
H A Dphp_spl.c71 ce = zend_hash_find_ptr(EG(class_table), lc_name); in spl_find_ce_by_name()
301 return zend_hash_exists(EG(class_table), lc_name); in spl_autoload()
460 zend_hash_exists(EG(class_table), lc_name)) { in PHP_FUNCTION()
/PHP-7.4/ext/readline/
H A Dreadline_cli.c481 char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&ce); in cli_completion_generator_class()

Completed in 144 milliseconds

12