Home
last modified time | relevance | path

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

/PHP-8.3/ext/spl/
H A Dspl_functions.c56 for (uint32_t num_traits = 0; num_traits < pce->num_traits; num_traits++) { in spl_add_traits() local
57 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_persist_calc.c516 if (ce->num_traits) { in zend_persist_class_entry_calc()
519 for (i = 0; i < ce->num_traits; i++) { in zend_persist_class_entry_calc()
523 ADD_SIZE(sizeof(zend_class_name) * ce->num_traits); in zend_persist_class_entry_calc()
H A Dzend_file_cache.c786 if (ce->num_traits) {
794 for (i = 0; i < ce->num_traits; i++) {
1619 if (ce->num_traits) {
1624 for (i = 0; i < ce->num_traits; i++) {
H A Dzend_persist.c1021 if (ce->num_traits) { in zend_persist_class_entry()
1024 for (i = 0; i < ce->num_traits; i++) { in zend_persist_class_entry()
1028 …->trait_names = zend_shared_memdup_free(ce->trait_names, sizeof(zend_class_name) * ce->num_traits); in zend_persist_class_entry()
H A DZendAccelerator.c2246 for (i = 0; i < ce->num_traits + ce->num_interfaces; i++) { in zend_accel_inheritance_cache_find()
2329 for (i = 0; i < proto->num_traits + proto->num_interfaces; i++) { in zend_accel_inheritance_cache_add()
2360 (sizeof(void*) * (proto->num_traits + proto->num_interfaces))); in zend_accel_inheritance_cache_add()
2398 (sizeof(void*) * (proto->num_traits + proto->num_interfaces)))); in zend_accel_inheritance_cache_add()
2400 for (i = 0; i < proto->num_traits + proto->num_interfaces; i++) { in zend_accel_inheritance_cache_add()
3718 if (ce->num_traits) {
3719 for (uint32_t i = 0; i < ce->num_traits; i++) {
/PHP-8.3/Zend/
H A Dzend_inheritance.c2140 for (i = 0; i < ce->num_traits; i++) { in zend_check_trait_usage()
2261 for (j = 0; j < ce->num_traits; j++) { in zend_traits_init_trait_structures()
2312 for (i = 0; i < ce->num_traits; i++) { in zend_do_traits_method_binding()
2327 for (i = 0; i < ce->num_traits; i++) { in zend_do_traits_method_binding()
2423 for (i = 0; i < ce->num_traits; i++) { in zend_do_traits_constant_binding()
2495 for (i = 0; i < ce->num_traits; i++) { in zend_do_traits_property_binding()
2585 ZEND_ASSERT(ce->num_traits > 0); in zend_do_bind_traits()
3047 if (ce->num_traits || ce->num_interfaces) { in zend_do_link_class()
3050 for (i = 0; i < ce->num_traits; i++) { in zend_do_link_class()
3087 traits_and_interfaces[ce->num_traits + i] = iface; in zend_do_link_class()
[all …]
H A Dzend.h206 uint32_t num_traits; member
H A Dzend_opcode.c200 for (i = 0; i < ce->num_traits; i++) { in _destroy_zend_class_traits_info()
358 if (ce->num_traits > 0) { in destroy_zend_class()
H A Dzend_compile.c2023 ce->num_traits = 0; 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()
7983 ce->num_traits++; in zend_compile_use_trait()
8180 if (!ce->num_interfaces && !ce->num_traits in zend_compile_class_decl()
8255 && !ce->num_interfaces && !ce->num_traits in zend_compile_class_decl()
H A Dzend_API.h309 class_container.num_traits = 0; \
/PHP-8.3/ext/reflection/
H A Dphp_reflection.c5189 if (!ce->num_traits) { in ZEND_METHOD()
5195 for (i=0; i < ce->num_traits; i++) { in ZEND_METHOD()
5220 if (!ce->num_traits) { in ZEND_METHOD()
5226 for (i=0; i < ce->num_traits; i++) { in ZEND_METHOD()
5259 for (j = 0; j < ce->num_traits; j++) { in ZEND_METHOD()

Completed in 91 milliseconds