Home
last modified time | relevance | path

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

12

/PHP-7.2/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.c400 *ce = zend_hash_str_find_ptr(EG(class_table), lc_name, lc_length); in phpdbg_safe_class_lookup()
H A Dphpdbg_prompt.c1192 phpdbg_writeln("info", "classes=\"%d\"", "Classes %d", zend_hash_num_elements(EG(class_table))); in PHPDBG_COMMAND()
1535 …phpdbg_writeln("clean", "classes=\"%d\"", "Classes %d", zend_hash_num_elements(EG(class_table))… in PHPDBG_COMMAND()
H A Dphpdbg.c605 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), name, ce) { in PHP_FUNCTION()
1147 zend_hash_num_elements(EG(class_table)), in phpdbg_welcome()
/PHP-7.2/ext/opcache/
H A Dzend_accelerator_util_funcs.c78 zend_hash_init(&persistent_script->script.class_table, 16, NULL, ZEND_CLASS_DTOR, 0); in create_persistent_script()
87 persistent_script->script.class_table.pDestructor = zend_accel_destroy_zend_class; in free_persistent_script()
90 persistent_script->script.class_table.pDestructor = NULL; in free_persistent_script()
94 zend_hash_destroy(&persistent_script->script.class_table); in free_persistent_script()
654 if (zend_hash_num_elements(&persistent_script->script.class_table) > 0) { in zend_accel_load_script()
655 …zend_accel_class_hash_copy(CG(class_table), &persistent_script->script.class_table, (unique_copy_c… in zend_accel_load_script()
682 if (zend_hash_num_elements(&persistent_script->script.class_table) > 0) { in zend_accel_load_script()
683 zend_accel_class_hash_copy(CG(class_table), &persistent_script->script.class_table, NULL); in zend_accel_load_script()
H A Dzend_persist_calc.c393 static void zend_accel_persist_class_table_calc(HashTable *class_table) in zend_accel_persist_class_table_calc() argument
395 zend_hash_persist_calc(class_table, zend_persist_class_entry_calc); in zend_accel_persist_class_table_calc()
423 zend_accel_persist_class_table_calc(&new_persistent_script->script.class_table); in zend_accel_script_persist_calc()
H A Dzend_persist.c846 static void zend_accel_persist_class_table(HashTable *class_table) in zend_accel_persist_class_table() argument
848 zend_hash_persist(class_table, zend_persist_class_entry); in zend_accel_persist_class_table()
849 zend_hash_apply(class_table, (apply_func_t) zend_update_parent_ce); in zend_accel_persist_class_table()
884 zend_accel_persist_class_table(&script->script.class_table); in zend_accel_script_persist()
H A DZendAccelerator.c552 ZEND_HASH_FOREACH_BUCKET(CG(class_table), p) { in accel_copy_permanent_strings()
1619 orig_class_table = CG(class_table); in opcache_compile_file()
1624 EG(class_table) = CG(class_table) = &new_persistent_script->script.class_table; in opcache_compile_file()
1644 EG(class_table) = CG(class_table) = orig_class_table; in opcache_compile_file()
H A Dzend_file_cache.c731 …zend_file_cache_serialize_hash(&new_script->script.class_table, script, info, buf, zend_file_cache…
1355 zend_file_cache_unserialize_hash(&script->script.class_table,
/PHP-7.2/ext/opcache/Optimizer/
H A Dzend_optimizer.h85 HashTable class_table; member
H A Dzend_optimizer.c819 if (script && (ce = zend_hash_find_ptr(&script->class_table, class_name))) { in get_class_entry_from_op1()
821 } else if ((ce = zend_hash_find_ptr(EG(class_table), class_name))) { in get_class_entry_from_op1()
1214 ZEND_HASH_FOREACH_PTR(&script->class_table, ce) { in zend_optimize_script()
1310 ZEND_HASH_FOREACH_PTR(&script->class_table, ce) { in zend_optimize_script()
1334 ZEND_HASH_FOREACH_PTR(&script->class_table, ce) { in zend_optimize_script()
1358 ZEND_HASH_FOREACH_PTR(&script->class_table, ce) { in zend_optimize_script()
H A Dzend_call_graph.c70 ZEND_HASH_FOREACH_PTR(&script->class_table, ce) { in zend_foreach_op_array()
H A Dpass1_5.c275 if ((ce = zend_hash_find_ptr(EG(class_table), in zend_optimizer_pass1()
/PHP-7.2/Zend/
H A Dzend_globals.h82 HashTable *class_table; /* class table */ member
152 HashTable *class_table; /* class table */ member
H A Dzend.c52 # define GLOBAL_CLASS_TABLE CG(class_table)
566 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor()
567 zend_hash_init_ex(compiler_globals->class_table, 64, NULL, ZEND_CLASS_DTOR, 1, 0); in compiler_globals_ctor()
568 zend_hash_copy(compiler_globals->class_table, global_class_table, zend_class_add_ref); in compiler_globals_ctor()
592 if (compiler_globals->class_table != GLOBAL_CLASS_TABLE) { in compiler_globals_dtor()
593 zend_hash_destroy(compiler_globals->class_table); in compiler_globals_dtor()
594 free(compiler_globals->class_table); in compiler_globals_dtor()
813 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
816 *compiler_globals->class_table = *GLOBAL_CLASS_TABLE; in zend_startup()
878 *GLOBAL_CLASS_TABLE = *compiler_globals->class_table; in zend_post_startup()
[all …]
H A Dzend_execute_API.c140 EG(class_table) = CG(class_table); in init_executor()
294 ZEND_HASH_REVERSE_FOREACH_VAL(EG(class_table), zv) { in shutdown_executor()
332 zend_hash_reverse_apply(EG(class_table), clean_non_persistent_class_full); in shutdown_executor()
354 ZEND_HASH_REVERSE_FOREACH_STR_KEY_VAL(EG(class_table), key, zv) { in shutdown_executor()
919 ce = zend_hash_find_ptr(EG(class_table), lc_name); in zend_lookup_class_ex()
992 ce = zend_hash_find_ptr(EG(class_table), lc_name); in zend_lookup_class_ex()
H A Dzend_builtin_functions.c1390 ce = zend_hash_find_ptr(EG(class_table), lc_name); in ZEND_FUNCTION()
1426 ce = zend_hash_find_ptr(EG(class_table), lc_name); in ZEND_FUNCTION()
1463 ce = zend_hash_find_ptr(EG(class_table), lc_name); in ZEND_FUNCTION()
1750 …zend_hash_apply_with_arguments(EG(class_table), copy_class_or_interface_name, 3, return_value, mas… in ZEND_FUNCTION()
1766 …zend_hash_apply_with_arguments(EG(class_table), copy_class_or_interface_name, 3, return_value, mas… in ZEND_FUNCTION()
1782 …zend_hash_apply_with_arguments(EG(class_table), copy_class_or_interface_name, 3, return_value, mas… in ZEND_FUNCTION()
H A Dzend_compile.h755 …class(const zend_op_array *op_array, const zend_op *opline, HashTable *class_table, zend_bool comp…
756 …class(const zend_op_array *op_array, const zend_op *opline, HashTable *class_table, zend_class_ent…
H A Dzend_compile.c1129 ce = zend_hash_find_ptr(class_table, Z_STR_P(rtd_key)); in do_bind_class()
1165 ce = zend_hash_find_ptr(class_table, Z_STR_P(rtd_key)); in do_bind_inherited_class()
1179 if (zend_hash_exists(class_table, Z_STR_P(lcname))) { in do_bind_inherited_class()
1215 table = CG(class_table); in zend_do_early_binding()
1247 table = CG(class_table); in zend_do_early_binding()
1774 int n = zend_hash_num_elements(CG(class_table)); in zend_initialize_class_data()
4126 ce = zend_hash_find_ptr(CG(class_table), lcname); in zend_compile_static_call()
6365 if (!zend_hash_exists(CG(class_table), lcname)) { in zend_compile_class_decl()
6366 zend_hash_add_ptr(CG(class_table), lcname, ce); in zend_compile_class_decl()
6375 ce = zend_hash_find_ptr(CG(class_table), lcname); in zend_compile_class_decl()
[all …]
H A Dzend_API.c1973 ZEND_HASH_FOREACH_PTR(CG(class_table), ce) { in zend_collect_module_handlers()
1986 ZEND_HASH_FOREACH_PTR(CG(class_table), ce) { in zend_collect_module_handlers()
2547 zend_hash_apply_with_argument(EG(class_table), clean_module_class, (void *) &module_number); in clean_module_classes()
2721 zend_hash_update_ptr(CG(class_table), lowercase_name, class_entry); in do_register_internal_class()
2792 ce = zend_hash_add_ptr(CG(class_table), lcname, ce); in zend_register_class_alias_ex()
2888 disabled_class = zend_hash_find_ptr(CG(class_table), key); in zend_disable_class()
/PHP-7.2/ext/simplexml/
H A Dsxe.c201 …if ((pce = zend_hash_str_find_ptr(CG(class_table), "simplexmlelement", sizeof("SimpleXMLElement") … in PHP_MINIT_FUNCTION()
/PHP-7.2/ext/spl/
H A Dphp_spl.c71 ce = zend_hash_find_ptr(EG(class_table), lc_name); in spl_find_ce_by_name()
297 return zend_hash_exists(EG(class_table), lc_name); in spl_autoload()
456 zend_hash_exists(EG(class_table), lc_name)) { in PHP_FUNCTION()
/PHP-7.2/ext/readline/
H A Dreadline_cli.c476 char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&ce); in cli_completion_generator_class()

Completed in 141 milliseconds

12