Home
last modified time | relevance | path

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

/PHP-7.1/ext/spl/
H A Dspl_functions.c108 uint32_t num_traits; in spl_add_traits() local
110 for (num_traits = 0; num_traits < pce->num_traits; num_traits++) { in spl_add_traits()
111 spl_add_class_name(list, pce->traits[num_traits], allow, ce_flags); in spl_add_traits()
/PHP-7.1/Zend/
H A Dzend_inheritance.c1074 uint32_t current_trait_num = ce->num_traits; in zend_do_implement_trait()
1075 uint32_t parent_trait_num = ce->parent ? ce->parent->num_traits : 0; in zend_do_implement_trait()
1077 for (i = 0; i < ce->num_traits; i++) { in zend_do_implement_trait()
1079 memmove(ce->traits + i, ce->traits + i + 1, sizeof(zend_class_entry*) * (--ce->num_traits - i)); in zend_do_implement_trait()
1088 if (ce->num_traits >= current_trait_num) { in zend_do_implement_trait()
1095 ce->traits[ce->num_traits++] = trait; in zend_do_implement_trait()
1337 for (i = 0; i < ce->num_traits; i++) { in zend_check_trait_usage()
1479 for (i = 0; i < ce->num_traits; i++) { in zend_do_traits_method_binding()
1561 for (i = 0; i < ce->num_traits; i++) { in zend_do_traits_property_binding()
1693 if (ce->num_traits <= 0) { in zend_do_bind_traits()
H A Dzend.h159 uint32_t num_traits; member
H A Dzend_opcode.c195 if (ce->num_traits > 0 && ce->traits) { in _destroy_zend_class_traits_info()
H A Dzend_compile.c1791 ce->num_traits = 0; in zend_initialize_class_data()
5860 ce->num_traits++; in zend_compile_use_trait()
6041 if (ce->num_traits == 0) { in zend_compile_class_decl()
6084 if (ce->num_traits > 0) { in zend_compile_class_decl()
6086 ce->num_traits = 0; in zend_compile_class_decl()
H A Dzend_API.h219 class_container.num_traits = 0; \
/PHP-7.1/ext/opcache/
H A Dzend_persist.c725 if (ce->num_traits && ce->traits) { in zend_persist_class_entry()
/PHP-7.1/ext/reflection/
H A Dphp_reflection.c5080 for (i=0; i < ce->num_traits; i++) { in ZEND_METHOD()
5103 for (i=0; i < ce->num_traits; i++) { in ZEND_METHOD()

Completed in 80 milliseconds