Home
last modified time | relevance | path

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

/php-src/ext/opcache/
H A Dzend_persist_calc.c532 if (ce->trait_aliases) { in zend_persist_class_entry_calc()
534 while (ce->trait_aliases[i]) { in zend_persist_class_entry_calc()
535 if (ce->trait_aliases[i]->trait_method.method_name) { in zend_persist_class_entry_calc()
536 ADD_INTERNED_STRING(ce->trait_aliases[i]->trait_method.method_name); in zend_persist_class_entry_calc()
538 if (ce->trait_aliases[i]->trait_method.class_name) { in zend_persist_class_entry_calc()
539 ADD_INTERNED_STRING(ce->trait_aliases[i]->trait_method.class_name); in zend_persist_class_entry_calc()
542 if (ce->trait_aliases[i]->alias) { in zend_persist_class_entry_calc()
543 ADD_INTERNED_STRING(ce->trait_aliases[i]->alias); in zend_persist_class_entry_calc()
H A Dzend_persist.c1061 if (ce->trait_aliases) { in zend_persist_class_entry()
1062 while (ce->trait_aliases[i]) { in zend_persist_class_entry()
1063 if (ce->trait_aliases[i]->trait_method.method_name) { in zend_persist_class_entry()
1064 zend_accel_store_interned_string(ce->trait_aliases[i]->trait_method.method_name); in zend_persist_class_entry()
1066 if (ce->trait_aliases[i]->trait_method.class_name) { in zend_persist_class_entry()
1067 zend_accel_store_interned_string(ce->trait_aliases[i]->trait_method.class_name); in zend_persist_class_entry()
1070 if (ce->trait_aliases[i]->alias) { in zend_persist_class_entry()
1071 zend_accel_store_interned_string(ce->trait_aliases[i]->alias); in zend_persist_class_entry()
1074 ce->trait_aliases[i] = zend_shared_memdup_free(ce->trait_aliases[i], sizeof(zend_trait_alias)); in zend_persist_class_entry()
1078 …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.c819 if (ce->trait_aliases) {
822 SERIALIZE_PTR(ce->trait_aliases);
823 p = ce->trait_aliases;
1667 if (ce->trait_aliases) {
1670 UNSERIALIZE_PTR(ce->trait_aliases);
1671 p = ce->trait_aliases;
/php-src/Zend/
H A Dzend_opcode.c212 if (ce->trait_aliases) { in _destroy_zend_class_traits_info()
214 while (ce->trait_aliases[i]) { in _destroy_zend_class_traits_info()
215 if (ce->trait_aliases[i]->trait_method.method_name) { in _destroy_zend_class_traits_info()
216 zend_string_release_ex(ce->trait_aliases[i]->trait_method.method_name, 0); in _destroy_zend_class_traits_info()
218 if (ce->trait_aliases[i]->trait_method.class_name) { in _destroy_zend_class_traits_info()
219 zend_string_release_ex(ce->trait_aliases[i]->trait_method.class_name, 0); in _destroy_zend_class_traits_info()
222 if (ce->trait_aliases[i]->alias) { in _destroy_zend_class_traits_info()
223 zend_string_release_ex(ce->trait_aliases[i]->alias, 0); in _destroy_zend_class_traits_info()
226 efree(ce->trait_aliases[i]); in _destroy_zend_class_traits_info()
230 efree(ce->trait_aliases); in _destroy_zend_class_traits_info()
H A Dzend_inheritance.c2383 if (ce->trait_aliases) { in zend_traits_copy_functions()
2384 alias_ptr = ce->trait_aliases; in zend_traits_copy_functions()
2417 if (ce->trait_aliases) { in zend_traits_copy_functions()
2418 alias_ptr = ce->trait_aliases; in zend_traits_copy_functions()
2547 if (ce->trait_aliases) { in zend_traits_init_trait_structures()
2549 while (ce->trait_aliases[i]) { in zend_traits_init_trait_structures()
2554 while (ce->trait_aliases[i]) { in zend_traits_init_trait_structures()
2555 zend_trait_alias *cur_alias = ce->trait_aliases[i]; in zend_traits_init_trait_structures()
2556 cur_method_ref = &ce->trait_aliases[i]->trait_method; in zend_traits_init_trait_structures()
H A Dzend.h217 zend_trait_alias **trait_aliases; member
H A Dzend_API.h314 class_container.trait_aliases = NULL; \
H A Dzend_compile.c2108 ce->trait_aliases = NULL; in zend_initialize_class_data()
8893 zend_add_to_list(&CG(active_class_entry)->trait_aliases, alias); in zend_compile_trait_alias()
/php-src/ext/reflection/
H A Dphp_reflection.c5336 if (ce->trait_aliases) { in ZEND_METHOD()
5340 while (ce->trait_aliases[i]) { in ZEND_METHOD()
5342 zend_trait_method_reference *cur_ref = &ce->trait_aliases[i]->trait_method; in ZEND_METHOD()
5344 if (ce->trait_aliases[i]->alias) { in ZEND_METHOD()
5366 …add_assoc_str_ex(return_value, ZSTR_VAL(ce->trait_aliases[i]->alias), ZSTR_LEN(ce->trait_aliases[i… in ZEND_METHOD()

Completed in 105 milliseconds