Home
last modified time | relevance | path

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

/PHP-8.3/ext/spl/
H A Dspl_functions.c57 trait = zend_fetch_class_by_name(pce->trait_names[num_traits].name, in spl_add_traits()
58 pce->trait_names[num_traits].lc_name, ZEND_FETCH_CLASS_TRAIT); in spl_add_traits()
/PHP-8.3/ext/opcache/
H A Dzend_file_cache.c788 zend_class_name *trait_names; local
790 SERIALIZE_PTR(ce->trait_names);
791 trait_names = ce->trait_names;
792 UNSERIALIZE_PTR(trait_names);
795 SERIALIZE_STR(trait_names[i].name);
796 SERIALIZE_STR(trait_names[i].lc_name);
1622 UNSERIALIZE_PTR(ce->trait_names);
1625 UNSERIALIZE_STR(ce->trait_names[i].name);
1626 UNSERIALIZE_STR(ce->trait_names[i].lc_name);
H A Dzend_persist_calc.c520 ADD_INTERNED_STRING(ce->trait_names[i].name); in zend_persist_class_entry_calc()
521 ADD_INTERNED_STRING(ce->trait_names[i].lc_name); in zend_persist_class_entry_calc()
H A Dzend_persist.c1025 zend_accel_store_interned_string(ce->trait_names[i].name); in zend_persist_class_entry()
1026 zend_accel_store_interned_string(ce->trait_names[i].lc_name); in zend_persist_class_entry()
1028 …ce->trait_names = zend_shared_memdup_free(ce->trait_names, sizeof(zend_class_name) * ce->num_trait… in zend_persist_class_entry()
H A DZendAccelerator.c3721 zend_hash_find_ptr(EG(class_table), ce->trait_names[i].lc_name);
3724 error->name = ZSTR_VAL(ce->trait_names[i].name);
/PHP-8.3/Zend/
H A Dzend_opcode.c201 zend_string_release_ex(ce->trait_names[i].name, 0); in _destroy_zend_class_traits_info()
202 zend_string_release_ex(ce->trait_names[i].lc_name, 0); in _destroy_zend_class_traits_info()
204 efree(ce->trait_names); in _destroy_zend_class_traits_info()
H A Dzend.h214 zend_class_name *trait_names; member
H A Dzend_compile.c2024 ce->trait_names = NULL; in zend_initialize_class_data()
7969 …ce->trait_names = erealloc(ce->trait_names, sizeof(zend_class_name) * (ce->num_traits + traits->ch… in zend_compile_use_trait()
7980 ce->trait_names[ce->num_traits].name = in zend_compile_use_trait()
7982 …ce->trait_names[ce->num_traits].lc_name = zend_string_tolower(ce->trait_names[ce->num_traits].name… in zend_compile_use_trait()
H A Dzend_inheritance.c3051 zend_class_entry *trait = zend_fetch_class_by_name(ce->trait_names[i].name, in zend_do_link_class()
3052 ce->trait_names[i].lc_name, ZEND_FETCH_CLASS_TRAIT); in zend_do_link_class()
H A Dzend_API.h308 class_container.trait_names = NULL; \
/PHP-8.3/ext/reflection/
H A Dphp_reflection.c5199 trait_ce = zend_fetch_class_by_name(ce->trait_names[i].name, in ZEND_METHOD()
5200 ce->trait_names[i].lc_name, ZEND_FETCH_CLASS_TRAIT); in ZEND_METHOD()
5203 zend_hash_update(Z_ARRVAL_P(return_value), ce->trait_names[i].name, &trait); in ZEND_METHOD()
5227 add_next_index_str(return_value, zend_string_copy(ce->trait_names[i].name)); in ZEND_METHOD()
5261 zend_hash_find_ptr(CG(class_table), ce->trait_names[j].lc_name); in ZEND_METHOD()

Completed in 94 milliseconds