Home
last modified time | relevance | path

Searched refs:trait_precedences (Results 1 – 8 of 8) sorted by relevance

/PHP-8.2/ext/opcache/
H A Dzend_persist_calc.c543 if (ce->trait_precedences) { in zend_persist_class_entry_calc()
547 while (ce->trait_precedences[i]) { in zend_persist_class_entry_calc()
548 ADD_INTERNED_STRING(ce->trait_precedences[i]->trait_method.method_name); in zend_persist_class_entry_calc()
549 ADD_INTERNED_STRING(ce->trait_precedences[i]->trait_method.class_name); in zend_persist_class_entry_calc()
551 for (j = 0; j < ce->trait_precedences[i]->num_excludes; j++) { in zend_persist_class_entry_calc()
552 ADD_INTERNED_STRING(ce->trait_precedences[i]->exclude_class_names[j]); in zend_persist_class_entry_calc()
554 …ADD_SIZE(sizeof(zend_trait_precedence) + (ce->trait_precedences[i]->num_excludes - 1) * sizeof(zen… in zend_persist_class_entry_calc()
H A Dzend_persist.c1045 if (ce->trait_precedences) { in zend_persist_class_entry()
1049 while (ce->trait_precedences[i]) { in zend_persist_class_entry()
1050 zend_accel_store_interned_string(ce->trait_precedences[i]->trait_method.method_name); in zend_persist_class_entry()
1051 zend_accel_store_interned_string(ce->trait_precedences[i]->trait_method.class_name); in zend_persist_class_entry()
1053 for (j = 0; j < ce->trait_precedences[i]->num_excludes; j++) { in zend_persist_class_entry()
1054 zend_accel_store_interned_string(ce->trait_precedences[i]->exclude_class_names[j]); in zend_persist_class_entry()
1057 …ce->trait_precedences[i] = zend_shared_memdup_free(ce->trait_precedences[i], sizeof(zend_trait_pre… in zend_persist_class_entry()
1060 ce->trait_precedences = zend_shared_memdup_free( in zend_persist_class_entry()
1061 ce->trait_precedences, sizeof(zend_trait_precedence*) * (i + 1)); in zend_persist_class_entry()
H A Dzend_file_cache.c823 if (ce->trait_precedences) {
827 SERIALIZE_PTR(ce->trait_precedences);
828 p = ce->trait_precedences;
1649 if (ce->trait_precedences) {
1653 UNSERIALIZE_PTR(ce->trait_precedences);
1654 p = ce->trait_precedences;
/PHP-8.2/Zend/
H A Dzend_opcode.c227 if (ce->trait_precedences) { in _destroy_zend_class_traits_info()
231 while (ce->trait_precedences[i]) { in _destroy_zend_class_traits_info()
232 zend_string_release_ex(ce->trait_precedences[i]->trait_method.method_name, 0); in _destroy_zend_class_traits_info()
233 zend_string_release_ex(ce->trait_precedences[i]->trait_method.class_name, 0); in _destroy_zend_class_traits_info()
235 for (j = 0; j < ce->trait_precedences[i]->num_excludes; j++) { in _destroy_zend_class_traits_info()
236 zend_string_release_ex(ce->trait_precedences[i]->exclude_class_names[j], 0); in _destroy_zend_class_traits_info()
238 efree(ce->trait_precedences[i]); in _destroy_zend_class_traits_info()
241 efree(ce->trait_precedences); in _destroy_zend_class_traits_info()
H A Dzend.h214 zend_trait_precedence **trait_precedences; member
H A Dzend_inheritance.c2058 if (ce->trait_precedences) { in zend_traits_init_trait_structures()
2061 precedences = ce->trait_precedences; in zend_traits_init_trait_structures()
2062 ce->trait_precedences = NULL; in zend_traits_init_trait_structures()
2124 ce->trait_precedences = precedences; in zend_traits_init_trait_structures()
H A Dzend_API.h308 class_container.trait_precedences = NULL; \
H A Dzend_compile.c1901 ce->trait_precedences = NULL; in zend_initialize_class_data()
7762 zend_add_to_list(&CG(active_class_entry)->trait_precedences, precedence); in zend_compile_trait_precedence()

Completed in 63 milliseconds