Searched refs:backed_enum_table (Results 1 – 7 of 7) sorted by relevance
/PHP-8.2/Zend/ |
H A D | zend_enum.c | 197 HashTable *backed_enum_table = emalloc(sizeof(HashTable)); in zend_enum_build_backed_enum_table() local 198 zend_hash_init(backed_enum_table, 0, NULL, ZVAL_PTR_DTOR, 0); in zend_enum_build_backed_enum_table() 199 zend_class_set_backed_enum_table(ce, backed_enum_table); in zend_enum_build_backed_enum_table() 246 zend_hash_add_new(backed_enum_table, string_key, case_name); in zend_enum_build_backed_enum_table() 253 zend_hash_release(backed_enum_table); in zend_enum_build_backed_enum_table() 290 HashTable *backed_enum_table = CE_BACKED_ENUM_TABLE(ce); in zend_enum_get_case_by_value() local 291 if (!backed_enum_table) { in zend_enum_get_case_by_value() 301 case_name_zv = zend_hash_find(backed_enum_table, string_key); in zend_enum_get_case_by_value() 499 zend_hash_init(backed_enum_table, 0, NULL, ZVAL_PTR_DTOR, 1); in zend_register_internal_enum() 500 zend_class_set_backed_enum_table(ce, backed_enum_table); in zend_register_internal_enum() [all …]
|
H A D | zend_opcode.c | 277 if (mutable_data->backed_enum_table) { in zend_cleanup_mutable_class_data() 278 zend_hash_release(mutable_data->backed_enum_table); in zend_cleanup_mutable_class_data() 279 mutable_data->backed_enum_table = NULL; in zend_cleanup_mutable_class_data() 409 if (ce->backed_enum_table) { in destroy_zend_class() 410 zend_hash_release(ce->backed_enum_table); in destroy_zend_class() 414 if (ce->backed_enum_table) { in destroy_zend_class() 415 zend_hash_release(ce->backed_enum_table); in destroy_zend_class()
|
H A D | zend.h | 119 HashTable *backed_enum_table; member 218 HashTable *backed_enum_table; member
|
H A D | zend_API.h | 463 …ys_inline void zend_class_set_backed_enum_table(zend_class_entry *ce, HashTable *backed_enum_table) in zend_class_set_backed_enum_table() argument 467 mutable_data->backed_enum_table = backed_enum_table; in zend_class_set_backed_enum_table() 469 ce->backed_enum_table = backed_enum_table; in zend_class_set_backed_enum_table() 477 return mutable_data->backed_enum_table; in zend_class_backed_enum_table() 479 return ce->backed_enum_table; in zend_class_backed_enum_table()
|
H A D | zend_execute_API.c | 353 if (ce->type == ZEND_USER_CLASS && ce->backed_enum_table) { in zend_shutdown_executor_values() 355 zend_hash_release(ce->backed_enum_table); in zend_shutdown_executor_values() 356 ce->backed_enum_table = NULL; in zend_shutdown_executor_values()
|
H A D | zend_compile.c | 1873 ce->backed_enum_table = NULL; in zend_initialize_class_data()
|
/PHP-8.2/ext/opcache/ |
H A D | zend_persist.c | 1065 ZEND_ASSERT(ce->backed_enum_table == NULL); in zend_persist_class_entry()
|
Completed in 91 milliseconds