Home
last modified time | relevance | path

Searched refs:backed_enum_table (Results 1 – 7 of 7) sorted by relevance

/PHP-8.4/Zend/
H A Dzend_enum.c204 HashTable *backed_enum_table = emalloc(sizeof(HashTable)); in zend_enum_build_backed_enum_table() local
205 zend_hash_init(backed_enum_table, 0, NULL, ZVAL_PTR_DTOR, 0); in zend_enum_build_backed_enum_table()
206 zend_class_set_backed_enum_table(ce, backed_enum_table); in zend_enum_build_backed_enum_table()
253 zend_hash_add_new(backed_enum_table, string_key, case_name); in zend_enum_build_backed_enum_table()
260 zend_hash_release(backed_enum_table); in zend_enum_build_backed_enum_table()
297 const HashTable *backed_enum_table = CE_BACKED_ENUM_TABLE(ce); in zend_enum_get_case_by_value() local
298 if (!backed_enum_table) { in zend_enum_get_case_by_value()
308 case_name_zv = zend_hash_find(backed_enum_table, string_key); in zend_enum_get_case_by_value()
513 zend_hash_init(backed_enum_table, 0, NULL, ZVAL_PTR_DTOR, 1); in zend_register_internal_enum()
514 zend_class_set_backed_enum_table(ce, backed_enum_table); in zend_register_internal_enum()
[all …]
H A Dzend_opcode.c283 if (mutable_data->backed_enum_table) { in zend_cleanup_mutable_class_data()
284 zend_hash_release(mutable_data->backed_enum_table); in zend_cleanup_mutable_class_data()
285 mutable_data->backed_enum_table = NULL; in zend_cleanup_mutable_class_data()
430 if (ce->backed_enum_table) { in destroy_zend_class()
431 zend_hash_release(ce->backed_enum_table); in destroy_zend_class()
439 if (ce->backed_enum_table) { in destroy_zend_class()
440 zend_hash_release(ce->backed_enum_table); in destroy_zend_class()
H A Dzend.h119 HashTable *backed_enum_table; member
222 HashTable *backed_enum_table; member
H A Dzend_API.h475 …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
479 mutable_data->backed_enum_table = backed_enum_table; in zend_class_set_backed_enum_table()
481 ce->backed_enum_table = backed_enum_table; in zend_class_set_backed_enum_table()
489 return mutable_data->backed_enum_table; in zend_class_backed_enum_table()
491 return ce->backed_enum_table; in zend_class_backed_enum_table()
H A Dzend_execute_API.c356 if (ce->type == ZEND_USER_CLASS && ce->backed_enum_table) { in zend_shutdown_executor_values()
358 zend_hash_release(ce->backed_enum_table); in zend_shutdown_executor_values()
359 ce->backed_enum_table = NULL; in zend_shutdown_executor_values()
H A Dzend_compile.c2075 ce->backed_enum_table = NULL; in zend_initialize_class_data()
/PHP-8.4/ext/opcache/
H A Dzend_persist.c1101 ZEND_ASSERT(ce->backed_enum_table == NULL); in zend_persist_class_entry()

Completed in 56 milliseconds