Home
last modified time | relevance | path

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

/PHP-8.3/ext/opcache/
H A Dzend_persist_calc.c525 if (ce->trait_aliases) { in zend_persist_class_entry_calc()
527 while (ce->trait_aliases[i]) { in zend_persist_class_entry_calc()
528 if (ce->trait_aliases[i]->trait_method.method_name) { in zend_persist_class_entry_calc()
529 ADD_INTERNED_STRING(ce->trait_aliases[i]->trait_method.method_name); in zend_persist_class_entry_calc()
531 if (ce->trait_aliases[i]->trait_method.class_name) { in zend_persist_class_entry_calc()
532 ADD_INTERNED_STRING(ce->trait_aliases[i]->trait_method.class_name); in zend_persist_class_entry_calc()
535 if (ce->trait_aliases[i]->alias) { in zend_persist_class_entry_calc()
536 ADD_INTERNED_STRING(ce->trait_aliases[i]->alias); in zend_persist_class_entry_calc()
H A Dzend_persist.c1031 if (ce->trait_aliases) { in zend_persist_class_entry()
1032 while (ce->trait_aliases[i]) { in zend_persist_class_entry()
1033 if (ce->trait_aliases[i]->trait_method.method_name) { in zend_persist_class_entry()
1034 zend_accel_store_interned_string(ce->trait_aliases[i]->trait_method.method_name); in zend_persist_class_entry()
1036 if (ce->trait_aliases[i]->trait_method.class_name) { in zend_persist_class_entry()
1037 zend_accel_store_interned_string(ce->trait_aliases[i]->trait_method.class_name); in zend_persist_class_entry()
1040 if (ce->trait_aliases[i]->alias) { in zend_persist_class_entry()
1041 zend_accel_store_interned_string(ce->trait_aliases[i]->alias); in zend_persist_class_entry()
1044 ce->trait_aliases[i] = zend_shared_memdup_free(ce->trait_aliases[i], sizeof(zend_trait_alias)); in zend_persist_class_entry()
1048 …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.c799 if (ce->trait_aliases) {
802 SERIALIZE_PTR(ce->trait_aliases);
803 p = ce->trait_aliases;
1629 if (ce->trait_aliases) {
1632 UNSERIALIZE_PTR(ce->trait_aliases);
1633 p = ce->trait_aliases;
/PHP-8.3/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.c2068 if (ce->trait_aliases) { in zend_traits_copy_functions()
2069 alias_ptr = ce->trait_aliases; in zend_traits_copy_functions()
2102 if (ce->trait_aliases) { in zend_traits_copy_functions()
2103 alias_ptr = ce->trait_aliases; in zend_traits_copy_functions()
2232 if (ce->trait_aliases) { in zend_traits_init_trait_structures()
2234 while (ce->trait_aliases[i]) { in zend_traits_init_trait_structures()
2239 while (ce->trait_aliases[i]) { in zend_traits_init_trait_structures()
2240 zend_trait_alias *cur_alias = ce->trait_aliases[i]; in zend_traits_init_trait_structures()
2241 cur_method_ref = &ce->trait_aliases[i]->trait_method; in zend_traits_init_trait_structures()
H A Dzend.h215 zend_trait_alias **trait_aliases; member
H A Dzend_API.h310 class_container.trait_aliases = NULL; \
H A Dzend_compile.c2025 ce->trait_aliases = NULL; in zend_initialize_class_data()
7958 zend_add_to_list(&CG(active_class_entry)->trait_aliases, alias); in zend_compile_trait_alias()
/PHP-8.3/ext/reflection/
H A Dphp_reflection.c5244 if (ce->trait_aliases) { in ZEND_METHOD()
5248 while (ce->trait_aliases[i]) { in ZEND_METHOD()
5250 zend_trait_method_reference *cur_ref = &ce->trait_aliases[i]->trait_method; in ZEND_METHOD()
5252 if (ce->trait_aliases[i]->alias) { in ZEND_METHOD()
5274 …add_assoc_str_ex(return_value, ZSTR_VAL(ce->trait_aliases[i]->alias), ZSTR_LEN(ce->trait_aliases[i… in ZEND_METHOD()

Completed in 171 milliseconds