/PHP-7.0/sapi/phpdbg/ |
H A D | phpdbg_bp.c | 426 HashTable class_breaks, *class_table; in phpdbg_set_breakpoint_method() local 444 if (!zend_hash_str_exists(class_table, func_lcname, func_len)) { in phpdbg_set_breakpoint_method() 459 PHPDBG_BREAK_MAPPING(new_break.id, class_table); in phpdbg_set_breakpoint_method() 631 HashTable class_breaks, *class_table; in phpdbg_set_breakpoint_method_opline() local 949 HashTable *class_table; in phpdbg_find_breakpoint_method() local 956 brake = zend_hash_find_ptr(class_table, lcname); in phpdbg_find_breakpoint_method() 1428 HashTable *class_table; in phpdbg_print_breakpoints() local 1432 ZEND_HASH_FOREACH_PTR(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD], class_table) { in phpdbg_print_breakpoints() 1435 ZEND_HASH_FOREACH_PTR(class_table, brake) { in phpdbg_print_breakpoints() 1514 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 | 392 ZEND_HASH_FOREACH_PTR(EG(class_table), ce) { in PHPDBG_INFO()
|
H A D | phpdbg_utils.c | 400 *ce = zend_hash_str_find_ptr(EG(class_table), lc_name, lc_length); in phpdbg_safe_class_lookup()
|
H A D | phpdbg_prompt.c | 1138 phpdbg_writeln("info", "classes=\"%d\"", "Classes %d", zend_hash_num_elements(EG(class_table))); in PHPDBG_COMMAND() 1481 …phpdbg_writeln("clean", "classes=\"%d\"", "Classes %d", zend_hash_num_elements(EG(class_table))… in PHPDBG_COMMAND()
|
H A D | phpdbg.c | 574 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), name, ce) { in PHP_FUNCTION() 1118 zend_hash_num_elements(EG(class_table)), in phpdbg_welcome()
|
/PHP-7.0/Zend/ |
H A D | zend_globals.h | 82 HashTable *class_table; /* class table */ member 156 HashTable *class_table; /* class table */ member
|
H A D | zend.c | 42 # define GLOBAL_CLASS_TABLE CG(class_table) 490 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor() 491 zend_hash_init_ex(compiler_globals->class_table, 64, NULL, ZEND_CLASS_DTOR, 1, 0); in compiler_globals_ctor() 492 zend_hash_copy(compiler_globals->class_table, global_class_table, zend_class_add_ref); in compiler_globals_ctor() 520 if (compiler_globals->class_table != GLOBAL_CLASS_TABLE) { in compiler_globals_dtor() 521 zend_hash_destroy(compiler_globals->class_table); in compiler_globals_dtor() 522 free(compiler_globals->class_table); in compiler_globals_dtor() 741 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in zend_startup() 744 *compiler_globals->class_table = *GLOBAL_CLASS_TABLE; in zend_startup() 800 *GLOBAL_CLASS_TABLE = *compiler_globals->class_table; in zend_post_startup() [all …]
|
H A D | zend_execute_API.c | 144 EG(class_table) = CG(class_table); in init_executor() 318 ZEND_HASH_REVERSE_FOREACH_PTR(EG(class_table), ce) { in shutdown_executor() 332 ZEND_HASH_REVERSE_FOREACH_PTR(EG(class_table), ce) { in shutdown_executor() 368 zend_hash_reverse_apply(EG(class_table), clean_non_persistent_class_full); in shutdown_executor() 371 zend_hash_reverse_apply(EG(class_table), clean_non_persistent_class); in shutdown_executor() 973 ce = zend_hash_find_ptr(EG(class_table), lc_name); in zend_lookup_class_ex() 1050 ce = zend_hash_find_ptr(EG(class_table), lc_name); in zend_lookup_class_ex()
|
H A D | zend_compile.h | 707 …class(const zend_op_array *op_array, const zend_op *opline, HashTable *class_table, zend_bool comp… 708 …class(const zend_op_array *op_array, const zend_op *opline, HashTable *class_table, zend_class_ent…
|
H A D | zend_builtin_functions.c | 1416 ce = zend_hash_find_ptr(EG(class_table), lc_name); in ZEND_FUNCTION() 1452 ce = zend_hash_find_ptr(EG(class_table), lc_name); in ZEND_FUNCTION() 1489 ce = zend_hash_find_ptr(EG(class_table), lc_name); in ZEND_FUNCTION() 1835 …zend_hash_apply_with_arguments(EG(class_table), copy_class_or_interface_name, 3, return_value, mas… in ZEND_FUNCTION() 1851 …zend_hash_apply_with_arguments(EG(class_table), copy_class_or_interface_name, 3, return_value, mas… in ZEND_FUNCTION() 1867 …zend_hash_apply_with_arguments(EG(class_table), copy_class_or_interface_name, 3, return_value, mas… in ZEND_FUNCTION()
|
H A D | zend_compile.c | 1005 ce = zend_hash_find_ptr(class_table, Z_STR_P(op1)); in do_bind_class() 1008 if (zend_hash_add_ptr(class_table, Z_STR_P(op2), ce) == NULL) { in do_bind_class() 1041 ce = zend_hash_find_ptr(class_table, Z_STR_P(op1)); in do_bind_inherited_class() 1055 if (zend_hash_exists(class_table, Z_STR_P(op2))) { in do_bind_inherited_class() 1064 if (zend_hash_add_ptr(class_table, Z_STR_P(op2), ce) == NULL) { in do_bind_inherited_class() 1091 table = CG(class_table); in zend_do_early_binding() 1123 table = CG(class_table); in zend_do_early_binding() 1637 int n = zend_hash_num_elements(CG(class_table)); in zend_initialize_class_data() 5347 if (!zend_hash_exists(CG(class_table), lcname)) { in zend_compile_class_decl() 5348 zend_hash_add_ptr(CG(class_table), lcname, ce); in zend_compile_class_decl() [all …]
|
H A D | zend_API.c | 1947 ZEND_HASH_FOREACH_PTR(CG(class_table), ce) { in zend_collect_module_handlers() 1960 ZEND_HASH_FOREACH_PTR(CG(class_table), ce) { in zend_collect_module_handlers() 2488 zend_hash_apply_with_argument(EG(class_table), clean_module_class, (void *) &module_number); in clean_module_classes() 2664 zend_hash_update_ptr(CG(class_table), lowercase_name, class_entry); in do_register_internal_class() 2731 ce = zend_hash_add_ptr(CG(class_table), lcname, ce); in zend_register_class_alias_ex() 2816 disabled_class = zend_hash_find_ptr(CG(class_table), key); in zend_disable_class()
|
/PHP-7.0/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 80 zend_hash_init(&persistent_script->class_table, 16, NULL, ZEND_CLASS_DTOR, 0); in create_persistent_script() 89 persistent_script->class_table.pDestructor = zend_accel_destroy_zend_class; in free_persistent_script() 92 persistent_script->class_table.pDestructor = NULL; in free_persistent_script() 96 zend_hash_destroy(&persistent_script->class_table); in free_persistent_script() 704 if (zend_hash_num_elements(&persistent_script->class_table) > 0) { in zend_accel_load_script() 705 …zend_accel_class_hash_copy(CG(class_table), &persistent_script->class_table, (unique_copy_ctor_fun… in zend_accel_load_script() 732 if (zend_hash_num_elements(&persistent_script->class_table) > 0) { in zend_accel_load_script() 733 zend_accel_class_hash_copy(CG(class_table), &persistent_script->class_table, NULL); in zend_accel_load_script()
|
H A D | zend_persist_calc.c | 379 static void zend_accel_persist_class_table_calc(HashTable *class_table) in zend_accel_persist_class_table_calc() argument 381 zend_hash_persist_calc(class_table, zend_persist_class_entry_calc); in zend_accel_persist_class_table_calc() 409 zend_accel_persist_class_table_calc(&new_persistent_script->class_table); in zend_accel_script_persist_calc()
|
H A D | ZendAccelerator.c | 542 for (idx = 0; idx < CG(class_table)->nNumUsed; idx++) { in accel_use_shm_interned_strings() 545 p = CG(class_table)->arData + idx; in accel_use_shm_interned_strings() 1523 orig_class_table = CG(class_table); in opcache_compile_file() 1528 EG(class_table) = CG(class_table) = &new_persistent_script->class_table; in opcache_compile_file() 1548 EG(class_table) = CG(class_table) = orig_class_table; in opcache_compile_file() 2304 ZEND_HASH_REVERSE_FOREACH(EG(class_table), 0) { in zend_accel_fast_shutdown() 2338 zend_accel_fast_del_bucket(EG(class_table), HT_IDX_TO_HASH(_idx-1), _p); in zend_accel_fast_shutdown() 2356 ZEND_HASH_REVERSE_FOREACH(EG(class_table), 0) { in zend_accel_fast_shutdown() 2362 zend_accel_fast_del_bucket(EG(class_table), HT_IDX_TO_HASH(_idx-1), _p); in zend_accel_fast_shutdown() 2377 EG(class_table)->nNumUsed = EG(class_table)->nNumOfElements; in zend_accel_fast_shutdown() [all …]
|
H A D | zend_persist.c | 904 static void zend_accel_persist_class_table(HashTable *class_table) in zend_accel_persist_class_table() argument 906 zend_hash_persist(class_table, zend_persist_class_entry); in zend_accel_persist_class_table() 907 zend_hash_apply(class_table, (apply_func_t) zend_update_parent_ce); in zend_accel_persist_class_table() 933 zend_accel_persist_class_table(&script->class_table); in zend_accel_script_persist()
|
H A D | ZendAccelerator.h | 160 HashTable class_table; member
|
H A D | zend_file_cache.c | 693 …zend_file_cache_serialize_hash(&new_script->class_table, script, info, buf, zend_file_cache_serial… in zend_file_cache_serialize() 1244 zend_file_cache_unserialize_hash(&script->class_table, in zend_file_cache_unserialize()
|
/PHP-7.0/ext/opcache/Optimizer/ |
H A D | zend_optimizer.c | 704 for (idx = 0; idx < script->class_table.nNumUsed; idx++) { in zend_accel_script_optimize() 705 p = script->class_table.arData + idx; in zend_accel_script_optimize() 735 for (idx = 0; idx < script->class_table.nNumUsed; idx++) { in zend_accel_script_optimize() 736 p = script->class_table.arData + idx; in zend_accel_script_optimize()
|
H A D | pass1_5.c | 306 if ((ce = zend_hash_find_ptr(EG(class_table), in zend_optimizer_pass1()
|
/PHP-7.0/ext/simplexml/ |
H A D | sxe.c | 201 …if ((pce = zend_hash_str_find_ptr(CG(class_table), "simplexmlelement", sizeof("SimpleXMLElement") … in PHP_MINIT_FUNCTION()
|
/PHP-7.0/ext/pdo/ |
H A D | pdo.c | 87 …if ((pce = zend_hash_str_find_ptr(CG(class_table), "runtimeexception", sizeof("RuntimeException") … in php_pdo_get_exception_base()
|
/PHP-7.0/ext/spl/ |
H A D | php_spl.c | 72 ce = zend_hash_find_ptr(EG(class_table), lc_name); in spl_find_ce_by_name() 299 return zend_hash_exists(EG(class_table), lc_name); in spl_autoload() 428 if (zend_hash_exists(EG(class_table), lc_name)) { in PHP_FUNCTION()
|
/PHP-7.0/ext/readline/ |
H A D | readline_cli.c | 476 char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&ce); in cli_completion_generator_class()
|