Home
last modified time | relevance | path

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

/PHP-8.0/ext/opcache/
H A Dzend_persist_calc.c490 if (ce->trait_aliases) { in zend_persist_class_entry_calc()
492 while (ce->trait_aliases[i]) { in zend_persist_class_entry_calc()
493 if (ce->trait_aliases[i]->trait_method.method_name) { in zend_persist_class_entry_calc()
494 ADD_INTERNED_STRING(ce->trait_aliases[i]->trait_method.method_name); in zend_persist_class_entry_calc()
496 if (ce->trait_aliases[i]->trait_method.class_name) { in zend_persist_class_entry_calc()
497 ADD_INTERNED_STRING(ce->trait_aliases[i]->trait_method.class_name); in zend_persist_class_entry_calc()
500 if (ce->trait_aliases[i]->alias) { in zend_persist_class_entry_calc()
501 ADD_INTERNED_STRING(ce->trait_aliases[i]->alias); in zend_persist_class_entry_calc()
H A Dzend_accelerator_util_funcs.c389 if (ce->trait_aliases) { in zend_class_copy_ctor()
390 zend_trait_alias **trait_aliases; in zend_class_copy_ctor() local
393 while (ce->trait_aliases[i]) { in zend_class_copy_ctor()
396 trait_aliases = emalloc(sizeof(zend_trait_alias*) * (i + 1)); in zend_class_copy_ctor()
398 while (ce->trait_aliases[i]) { in zend_class_copy_ctor()
399 trait_aliases[i] = emalloc(sizeof(zend_trait_alias)); in zend_class_copy_ctor()
400 memcpy(trait_aliases[i], ce->trait_aliases[i], sizeof(zend_trait_alias)); in zend_class_copy_ctor()
403 trait_aliases[i] = NULL; in zend_class_copy_ctor()
404 ce->trait_aliases = trait_aliases; in zend_class_copy_ctor()
H A Dzend_persist.c936 if (ce->trait_aliases) { in zend_persist_class_entry()
937 while (ce->trait_aliases[i]) { in zend_persist_class_entry()
938 if (ce->trait_aliases[i]->trait_method.method_name) { in zend_persist_class_entry()
939 zend_accel_store_interned_string(ce->trait_aliases[i]->trait_method.method_name); in zend_persist_class_entry()
941 if (ce->trait_aliases[i]->trait_method.class_name) { in zend_persist_class_entry()
942 zend_accel_store_interned_string(ce->trait_aliases[i]->trait_method.class_name); in zend_persist_class_entry()
945 if (ce->trait_aliases[i]->alias) { in zend_persist_class_entry()
946 zend_accel_store_interned_string(ce->trait_aliases[i]->alias); in zend_persist_class_entry()
949 ce->trait_aliases[i] = zend_shared_memdup_free(ce->trait_aliases[i], sizeof(zend_trait_alias)); in zend_persist_class_entry()
953 …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.c780 if (ce->trait_aliases) {
783 SERIALIZE_PTR(ce->trait_aliases);
784 p = ce->trait_aliases;
1531 if (ce->trait_aliases) {
1534 UNSERIALIZE_PTR(ce->trait_aliases);
1535 p = ce->trait_aliases;
H A DZendAccelerator.c3696 if (ce->trait_aliases || ce->trait_precedences) {
/PHP-8.0/Zend/
H A Dzend_opcode.c224 if (ce->trait_aliases) { in _destroy_zend_class_traits_info()
226 while (ce->trait_aliases[i]) { in _destroy_zend_class_traits_info()
227 if (ce->trait_aliases[i]->trait_method.method_name) { in _destroy_zend_class_traits_info()
228 zend_string_release_ex(ce->trait_aliases[i]->trait_method.method_name, 0); in _destroy_zend_class_traits_info()
230 if (ce->trait_aliases[i]->trait_method.class_name) { in _destroy_zend_class_traits_info()
231 zend_string_release_ex(ce->trait_aliases[i]->trait_method.class_name, 0); in _destroy_zend_class_traits_info()
234 if (ce->trait_aliases[i]->alias) { in _destroy_zend_class_traits_info()
235 zend_string_release_ex(ce->trait_aliases[i]->alias, 0); in _destroy_zend_class_traits_info()
238 efree(ce->trait_aliases[i]); in _destroy_zend_class_traits_info()
242 efree(ce->trait_aliases); in _destroy_zend_class_traits_info()
H A Dzend_inheritance.c1675 if (ce->trait_aliases) { in zend_traits_copy_functions()
1676 alias_ptr = ce->trait_aliases; in zend_traits_copy_functions()
1707 if (ce->trait_aliases) { in zend_traits_copy_functions()
1708 alias_ptr = ce->trait_aliases; in zend_traits_copy_functions()
1826 if (ce->trait_aliases) { in zend_traits_init_trait_structures()
1828 while (ce->trait_aliases[i]) { in zend_traits_init_trait_structures()
1833 while (ce->trait_aliases[i]) { in zend_traits_init_trait_structures()
1834 zend_trait_alias *cur_alias = ce->trait_aliases[i]; in zend_traits_init_trait_structures()
1835 cur_method_ref = &ce->trait_aliases[i]->trait_method; in zend_traits_init_trait_structures()
H A Dzend.h171 zend_trait_alias **trait_aliases; member
H A Dzend_API.h265 class_container.trait_aliases = NULL; \
H A Dzend_compile.c1865 ce->trait_aliases = NULL; in zend_initialize_class_data()
7234 zend_add_to_list(&CG(active_class_entry)->trait_aliases, alias); in zend_compile_trait_alias()
/PHP-8.0/ext/reflection/
H A Dphp_reflection.c4942 if (ce->trait_aliases) { in ZEND_METHOD()
4946 while (ce->trait_aliases[i]) { in ZEND_METHOD()
4948 zend_trait_method_reference *cur_ref = &ce->trait_aliases[i]->trait_method; in ZEND_METHOD()
4950 if (ce->trait_aliases[i]->alias) { in ZEND_METHOD()
4954 …add_assoc_str_ex(return_value, ZSTR_VAL(ce->trait_aliases[i]->alias), ZSTR_LEN(ce->trait_aliases[i… in ZEND_METHOD()

Completed in 120 milliseconds