Home
last modified time | relevance | path

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

/PHP-7.0/ext/opcache/
H A Dzend_persist_calc.c335 if (ce->trait_aliases[i]->trait_method) { in zend_persist_class_entry_calc()
336 if (ce->trait_aliases[i]->trait_method->method_name) { in zend_persist_class_entry_calc()
337 ADD_INTERNED_STRING(ce->trait_aliases[i]->trait_method->method_name, 0); in zend_persist_class_entry_calc()
339 if (ce->trait_aliases[i]->trait_method->class_name) { in zend_persist_class_entry_calc()
340 ADD_INTERNED_STRING(ce->trait_aliases[i]->trait_method->class_name, 0); in zend_persist_class_entry_calc()
358 ADD_INTERNED_STRING(ce->trait_precedences[i]->trait_method->method_name, 0); in zend_persist_class_entry_calc()
359 ADD_INTERNED_STRING(ce->trait_precedences[i]->trait_method->class_name, 0); in zend_persist_class_entry_calc()
H A Dzend_persist.c791 if (ce->trait_aliases[i]->trait_method) { in zend_persist_class_entry()
792 if (ce->trait_aliases[i]->trait_method->method_name) { in zend_persist_class_entry()
793 zend_accel_store_interned_string(ce->trait_aliases[i]->trait_method->method_name); in zend_persist_class_entry()
795 if (ce->trait_aliases[i]->trait_method->class_name) { in zend_persist_class_entry()
796 zend_accel_store_interned_string(ce->trait_aliases[i]->trait_method->class_name); in zend_persist_class_entry()
798 ce->trait_aliases[i]->trait_method->ce = NULL; in zend_persist_class_entry()
799 zend_accel_store(ce->trait_aliases[i]->trait_method, in zend_persist_class_entry()
818 zend_accel_store_interned_string(ce->trait_precedences[i]->trait_method->method_name); in zend_persist_class_entry()
819 zend_accel_store_interned_string(ce->trait_precedences[i]->trait_method->class_name); in zend_persist_class_entry()
820 ce->trait_precedences[i]->trait_method->ce = NULL; in zend_persist_class_entry()
[all …]
H A Dzend_file_cache.c594 if (q->trait_method) { in zend_file_cache_serialize_class()
597 SERIALIZE_PTR(q->trait_method); in zend_file_cache_serialize_class()
598 m = q->trait_method; in zend_file_cache_serialize_class()
628 if (q->trait_method) { in zend_file_cache_serialize_class()
631 SERIALIZE_PTR(q->trait_method); in zend_file_cache_serialize_class()
632 m = q->trait_method; in zend_file_cache_serialize_class()
1156 if (q->trait_method) { in zend_file_cache_unserialize_class()
1159 UNSERIALIZE_PTR(q->trait_method); in zend_file_cache_unserialize_class()
1160 m = q->trait_method; in zend_file_cache_unserialize_class()
1187 if (q->trait_method) { in zend_file_cache_unserialize_class()
[all …]
H A Dzend_accelerator_util_funcs.c476 trait_aliases[i]->trait_method = emalloc(sizeof(zend_trait_method_reference)); in zend_class_copy_ctor()
477 …memcpy(trait_aliases[i]->trait_method, ce->trait_aliases[i]->trait_method, sizeof(zend_trait_metho… in zend_class_copy_ctor()
496 trait_precedences[i]->trait_method = emalloc(sizeof(zend_trait_method_reference)); in zend_class_copy_ctor()
497 …memcpy(trait_precedences[i]->trait_method, ce->trait_precedences[i]->trait_method, sizeof(zend_tra… in zend_class_copy_ctor()
/PHP-7.0/Zend/
H A Dzend_inheritance.c1218 && (!alias->trait_method->ce || fn->common.scope == alias->trait_method->ce) in zend_traits_copy_functions()
1233 if (!alias->trait_method->ce) { in zend_traits_copy_functions()
1234 alias->trait_method->ce = fn->common.scope; in zend_traits_copy_functions()
1254 && (!alias->trait_method->ce || fn->common.scope == alias->trait_method->ce) in zend_traits_copy_functions()
1261 if (!alias->trait_method->ce) { in zend_traits_copy_functions()
1262 alias->trait_method->ce = fn->common.scope; in zend_traits_copy_functions()
1311 cur_method_ref = cur_precedence->trait_method; in zend_traits_init_trait_structures()
1369 if (ce->trait_aliases[i]->trait_method->class_name) { in zend_traits_init_trait_structures()
1370 cur_method_ref = ce->trait_aliases[i]->trait_method; in zend_traits_init_trait_structures()
1599 if (!cur_alias->trait_method->ce) { in zend_do_check_for_inconsistent_traits_aliasing()
[all …]
H A Dzend_opcode.c204 if (ce->trait_aliases[i]->trait_method) { in _destroy_zend_class_traits_info()
205 if (ce->trait_aliases[i]->trait_method->method_name) { in _destroy_zend_class_traits_info()
206 zend_string_release(ce->trait_aliases[i]->trait_method->method_name); in _destroy_zend_class_traits_info()
208 if (ce->trait_aliases[i]->trait_method->class_name) { in _destroy_zend_class_traits_info()
209 zend_string_release(ce->trait_aliases[i]->trait_method->class_name); in _destroy_zend_class_traits_info()
211 efree(ce->trait_aliases[i]->trait_method); in _destroy_zend_class_traits_info()
229 zend_string_release(ce->trait_precedences[i]->trait_method->method_name); in _destroy_zend_class_traits_info()
230 zend_string_release(ce->trait_precedences[i]->trait_method->class_name); in _destroy_zend_class_traits_info()
231 efree(ce->trait_precedences[i]->trait_method); in _destroy_zend_class_traits_info()
H A Dzend.h110 zend_trait_method_reference *trait_method; member
118 zend_trait_method_reference *trait_method; member
H A Dzend_compile.c5127 precedence->trait_method = zend_compile_method_ref(method_ref_ast); in zend_compile_trait_precedence()
5152 alias->trait_method = zend_compile_method_ref(method_ref_ast); in zend_compile_trait_alias()
/PHP-7.0/ext/reflection/
H A Dphp_reflection.c4904 zend_trait_method_reference *cur_ref = ce->trait_aliases[i]->trait_method; in ZEND_METHOD()

Completed in 61 milliseconds