Home
last modified time | relevance | path

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

/PHP-8.3/ext/opcache/
H A Dzend_persist_calc.c544 if (ce->trait_precedences) { in zend_persist_class_entry_calc()
548 while (ce->trait_precedences[i]) { in zend_persist_class_entry_calc()
549 ADD_INTERNED_STRING(ce->trait_precedences[i]->trait_method.method_name); in zend_persist_class_entry_calc()
550 ADD_INTERNED_STRING(ce->trait_precedences[i]->trait_method.class_name); in zend_persist_class_entry_calc()
552 for (j = 0; j < ce->trait_precedences[i]->num_excludes; j++) { in zend_persist_class_entry_calc()
553 ADD_INTERNED_STRING(ce->trait_precedences[i]->exclude_class_names[j]); in zend_persist_class_entry_calc()
555 …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.c1051 if (ce->trait_precedences) { in zend_persist_class_entry()
1055 while (ce->trait_precedences[i]) { in zend_persist_class_entry()
1056 zend_accel_store_interned_string(ce->trait_precedences[i]->trait_method.method_name); in zend_persist_class_entry()
1057 zend_accel_store_interned_string(ce->trait_precedences[i]->trait_method.class_name); in zend_persist_class_entry()
1059 for (j = 0; j < ce->trait_precedences[i]->num_excludes; j++) { in zend_persist_class_entry()
1060 zend_accel_store_interned_string(ce->trait_precedences[i]->exclude_class_names[j]); in zend_persist_class_entry()
1063 …ce->trait_precedences[i] = zend_shared_memdup_free(ce->trait_precedences[i], sizeof(zend_trait_pre… in zend_persist_class_entry()
1066 ce->trait_precedences = zend_shared_memdup_free( in zend_persist_class_entry()
1067 ce->trait_precedences, sizeof(zend_trait_precedence*) * (i + 1)); in zend_persist_class_entry()
H A Dzend_file_cache.c825 if (ce->trait_precedences) {
829 SERIALIZE_PTR(ce->trait_precedences);
830 p = ce->trait_precedences;
1653 if (ce->trait_precedences) {
1657 UNSERIALIZE_PTR(ce->trait_precedences);
1658 p = ce->trait_precedences;
/PHP-8.3/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.h216 zend_trait_precedence **trait_precedences; member
H A Dzend_inheritance.c2163 if (ce->trait_precedences) { in zend_traits_init_trait_structures()
2166 precedences = ce->trait_precedences; in zend_traits_init_trait_structures()
2167 ce->trait_precedences = NULL; in zend_traits_init_trait_structures()
2229 ce->trait_precedences = precedences; in zend_traits_init_trait_structures()
H A Dzend_API.h311 class_container.trait_precedences = NULL; \
H A Dzend_compile.c2026 ce->trait_precedences = NULL; in zend_initialize_class_data()
7934 zend_add_to_list(&CG(active_class_entry)->trait_precedences, precedence); in zend_compile_trait_precedence()

Completed in 78 milliseconds