Home
last modified time | relevance | path

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

/PHP-7.0/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.0/Zend/
H A Dzend_inheritance.c1027 uint32_t current_trait_num = ce->num_traits; in zend_do_implement_trait()
1028 uint32_t parent_trait_num = ce->parent ? ce->parent->num_traits : 0; in zend_do_implement_trait()
1030 for (i = 0; i < ce->num_traits; i++) { in zend_do_implement_trait()
1032 memmove(ce->traits + i, ce->traits + i + 1, sizeof(zend_class_entry*) * (--ce->num_traits - i)); in zend_do_implement_trait()
1041 if (ce->num_traits >= current_trait_num) { in zend_do_implement_trait()
1048 ce->traits[ce->num_traits++] = trait; in zend_do_implement_trait()
1285 for (i = 0; i < ce->num_traits; i++) { in zend_check_trait_usage()
1427 for (i = 0; i < ce->num_traits; i++) { in zend_do_traits_method_binding()
1509 for (i = 0; i < ce->num_traits; i++) { in zend_do_traits_property_binding()
1641 if (ce->num_traits <= 0) { in zend_do_bind_traits()
H A Dzend.h174 uint32_t num_traits; member
H A Dzend_opcode.c197 if (ce->num_traits > 0 && ce->traits) { in _destroy_zend_class_traits_info()
H A Dzend_compile.c1676 ce->num_traits = 0; in zend_initialize_class_data()
5198 ce->num_traits++; in zend_compile_use_trait()
5381 if (ce->num_traits == 0) { in zend_compile_class_decl()
5424 if (ce->num_traits > 0) { in zend_compile_class_decl()
5426 ce->num_traits = 0; in zend_compile_class_decl()
H A Dzend_API.h217 class_container.num_traits = 0; \
/PHP-7.0/ext/opcache/
H A Dzend_persist.c783 if (ce->num_traits && ce->traits) { in zend_persist_class_entry()
/PHP-7.0/ext/reflection/
H A Dphp_reflection.c4857 for (i=0; i < ce->num_traits; i++) { in ZEND_METHOD()
4880 for (i=0; i < ce->num_traits; i++) { in ZEND_METHOD()

Completed in 101 milliseconds