Lines Matching refs:class_table
55 # define GLOBAL_CLASS_TABLE CG(class_table)
638 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor()
639 zend_hash_init_ex(compiler_globals->class_table, 64, NULL, ZEND_CLASS_DTOR, 1, 0); in compiler_globals_ctor()
640 zend_hash_copy(compiler_globals->class_table, global_class_table, zend_class_add_ref); 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()
977 zend_class_entry *prop_ce = zend_hash_find_ptr(CG(class_table), lc_type_name); 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()
1027 compiler_globals->class_table = NULL; in zend_post_startup()