Home
last modified time | relevance | path

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

/php-src/ext/spl/
H A Dspl_functions.c55 for (uint32_t num_traits = 0; num_traits < pce->num_traits; num_traits++) { in spl_add_traits() local
56 trait = zend_fetch_class_by_name(pce->trait_names[num_traits].name, in spl_add_traits()
57 pce->trait_names[num_traits].lc_name, ZEND_FETCH_CLASS_TRAIT); in spl_add_traits()
/php-src/ext/opcache/
H A Dzend_persist_calc.c523 if (ce->num_traits) { in zend_persist_class_entry_calc()
526 for (i = 0; i < ce->num_traits; i++) { in zend_persist_class_entry_calc()
530 ADD_SIZE(sizeof(zend_class_name) * ce->num_traits); in zend_persist_class_entry_calc()
H A Dzend_file_cache.c806 if (ce->num_traits) {
814 for (i = 0; i < ce->num_traits; i++) {
1657 if (ce->num_traits) {
1662 for (i = 0; i < ce->num_traits; i++) {
H A Dzend_persist.c1051 if (ce->num_traits) { in zend_persist_class_entry()
1054 for (i = 0; i < ce->num_traits; i++) { in zend_persist_class_entry()
1058 …->trait_names = zend_shared_memdup_free(ce->trait_names, sizeof(zend_class_name) * ce->num_traits); in zend_persist_class_entry()
H A DZendAccelerator.c2257 for (i = 0; i < ce->num_traits + ce->num_interfaces; i++) { in zend_accel_inheritance_cache_find()
2340 for (i = 0; i < proto->num_traits + proto->num_interfaces; i++) { in zend_accel_inheritance_cache_add()
2371 (sizeof(void*) * (proto->num_traits + proto->num_interfaces))); in zend_accel_inheritance_cache_add()
2409 (sizeof(void*) * (proto->num_traits + proto->num_interfaces)))); in zend_accel_inheritance_cache_add()
2411 for (i = 0; i < proto->num_traits + proto->num_interfaces; i++) { in zend_accel_inheritance_cache_add()
3749 if (ce->num_traits) {
3750 for (uint32_t i = 0; i < ce->num_traits; i++) {
/php-src/Zend/
H A Dzend_inheritance.c2455 for (i = 0; i < ce->num_traits; i++) { in zend_check_trait_usage()
2576 for (j = 0; j < ce->num_traits; j++) { in zend_traits_init_trait_structures()
2627 for (i = 0; i < ce->num_traits; i++) { in zend_do_traits_method_binding()
2642 for (i = 0; i < ce->num_traits; i++) { in zend_do_traits_method_binding()
2738 for (i = 0; i < ce->num_traits; i++) { in zend_do_traits_constant_binding()
2810 for (i = 0; i < ce->num_traits; i++) { in zend_do_traits_property_binding()
2940 ZEND_ASSERT(ce->num_traits > 0); in zend_do_bind_traits()
3466 if (ce->num_traits || ce->num_interfaces) { in zend_do_link_class()
3469 for (i = 0; i < ce->num_traits; i++) { in zend_do_link_class()
3506 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.c206 for (i = 0; i < ce->num_traits; i++) { in _destroy_zend_class_traits_info()
364 if (ce->num_traits > 0) { in destroy_zend_class()
H A Dzend_compile.c2104 ce->num_traits = 0; in zend_initialize_class_data()
8904 …ce->trait_names = erealloc(ce->trait_names, sizeof(zend_class_name) * (ce->num_traits + traits->ch… in zend_compile_use_trait()
8915 ce->trait_names[ce->num_traits].name = in zend_compile_use_trait()
8917 …ce->trait_names[ce->num_traits].lc_name = zend_string_tolower(ce->trait_names[ce->num_traits].name… in zend_compile_use_trait()
8918 ce->num_traits++; in zend_compile_use_trait()
9123 if (!ce->num_interfaces && !ce->num_traits && !ce->num_hooked_prop_variance_checks in zend_compile_class_decl()
9198 && !ce->num_interfaces && !ce->num_traits && !ce->num_hooked_prop_variance_checks in zend_compile_class_decl()
H A Dzend_API.h313 class_container.num_traits = 0; \
/php-src/ext/reflection/
H A Dphp_reflection.c5285 if (!ce->num_traits) { in ZEND_METHOD()
5291 for (i=0; i < ce->num_traits; i++) { in ZEND_METHOD()
5314 if (!ce->num_traits) { in ZEND_METHOD()
5320 for (i=0; i < ce->num_traits; i++) { in ZEND_METHOD()
5351 for (j = 0; j < ce->num_traits; j++) { in ZEND_METHOD()
/php-src/ext/opcache/jit/
H A Dzend_jit.c726 if (ce->num_traits) { in zend_jit_class_may_be_modified()
730 for (i=0; i < ce->num_traits; i++) { in zend_jit_class_may_be_modified()

Completed in 190 milliseconds