Home
last modified time | relevance | path

Searched refs:trait_aliases (Results 1 – 9 of 9) sorted by relevance

/PHP-8.2/ext/opcache/
H A Dzend_persist_calc.c524 if (ce->trait_aliases) { in zend_persist_class_entry_calc()
526 while (ce->trait_aliases[i]) { in zend_persist_class_entry_calc()
527 if (ce->trait_aliases[i]->trait_method.method_name) { in zend_persist_class_entry_calc()
528 ADD_INTERNED_STRING(ce->trait_aliases[i]->trait_method.method_name); in zend_persist_class_entry_calc()
530 if (ce->trait_aliases[i]->trait_method.class_name) { in zend_persist_class_entry_calc()
531 ADD_INTERNED_STRING(ce->trait_aliases[i]->trait_method.class_name); in zend_persist_class_entry_calc()
534 if (ce->trait_aliases[i]->alias) { in zend_persist_class_entry_calc()
535 ADD_INTERNED_STRING(ce->trait_aliases[i]->alias); in zend_persist_class_entry_calc()
H A Dzend_persist.c1025 if (ce->trait_aliases) { in zend_persist_class_entry()
1026 while (ce->trait_aliases[i]) { in zend_persist_class_entry()
1027 if (ce->trait_aliases[i]->trait_method.method_name) { in zend_persist_class_entry()
1028 zend_accel_store_interned_string(ce->trait_aliases[i]->trait_method.method_name); in zend_persist_class_entry()
1030 if (ce->trait_aliases[i]->trait_method.class_name) { in zend_persist_class_entry()
1031 zend_accel_store_interned_string(ce->trait_aliases[i]->trait_method.class_name); in zend_persist_class_entry()
1034 if (ce->trait_aliases[i]->alias) { in zend_persist_class_entry()
1035 zend_accel_store_interned_string(ce->trait_aliases[i]->alias); in zend_persist_class_entry()
1038 ce->trait_aliases[i] = zend_shared_memdup_free(ce->trait_aliases[i], sizeof(zend_trait_alias)); in zend_persist_class_entry()
1042 …ce->trait_aliases = zend_shared_memdup_free(ce->trait_aliases, sizeof(zend_trait_alias*) * (i + 1)… in zend_persist_class_entry()
H A Dzend_file_cache.c797 if (ce->trait_aliases) {
800 SERIALIZE_PTR(ce->trait_aliases);
801 p = ce->trait_aliases;
1625 if (ce->trait_aliases) {
1628 UNSERIALIZE_PTR(ce->trait_aliases);
1629 p = ce->trait_aliases;
/PHP-8.2/Zend/
H A Dzend_opcode.c206 if (ce->trait_aliases) { in _destroy_zend_class_traits_info()
208 while (ce->trait_aliases[i]) { in _destroy_zend_class_traits_info()
209 if (ce->trait_aliases[i]->trait_method.method_name) { in _destroy_zend_class_traits_info()
210 zend_string_release_ex(ce->trait_aliases[i]->trait_method.method_name, 0); in _destroy_zend_class_traits_info()
212 if (ce->trait_aliases[i]->trait_method.class_name) { in _destroy_zend_class_traits_info()
213 zend_string_release_ex(ce->trait_aliases[i]->trait_method.class_name, 0); in _destroy_zend_class_traits_info()
216 if (ce->trait_aliases[i]->alias) { in _destroy_zend_class_traits_info()
217 zend_string_release_ex(ce->trait_aliases[i]->alias, 0); in _destroy_zend_class_traits_info()
220 efree(ce->trait_aliases[i]); in _destroy_zend_class_traits_info()
224 efree(ce->trait_aliases); in _destroy_zend_class_traits_info()
H A Dzend_inheritance.c1971 if (ce->trait_aliases) { in zend_traits_copy_functions()
1972 alias_ptr = ce->trait_aliases; in zend_traits_copy_functions()
2003 if (ce->trait_aliases) { in zend_traits_copy_functions()
2004 alias_ptr = ce->trait_aliases; in zend_traits_copy_functions()
2127 if (ce->trait_aliases) { in zend_traits_init_trait_structures()
2129 while (ce->trait_aliases[i]) { in zend_traits_init_trait_structures()
2134 while (ce->trait_aliases[i]) { in zend_traits_init_trait_structures()
2135 zend_trait_alias *cur_alias = ce->trait_aliases[i]; in zend_traits_init_trait_structures()
2136 cur_method_ref = &ce->trait_aliases[i]->trait_method; in zend_traits_init_trait_structures()
H A Dzend.h213 zend_trait_alias **trait_aliases; member
H A Dzend_API.h307 class_container.trait_aliases = NULL; \
H A Dzend_compile.c1900 ce->trait_aliases = NULL; in zend_initialize_class_data()
7786 zend_add_to_list(&CG(active_class_entry)->trait_aliases, alias); in zend_compile_trait_alias()
/PHP-8.2/ext/reflection/
H A Dphp_reflection.c5227 if (ce->trait_aliases) { in ZEND_METHOD()
5231 while (ce->trait_aliases[i]) { in ZEND_METHOD()
5233 zend_trait_method_reference *cur_ref = &ce->trait_aliases[i]->trait_method; in ZEND_METHOD()
5235 if (ce->trait_aliases[i]->alias) { in ZEND_METHOD()
5257 …add_assoc_str_ex(return_value, ZSTR_VAL(ce->trait_aliases[i]->alias), ZSTR_LEN(ce->trait_aliases[i… in ZEND_METHOD()

Completed in 87 milliseconds