Searched refs:num_interfaces (Results 1 – 17 of 17) sorted by relevance
/php-src/ext/spl/ |
H A D | spl_functions.c | 41 if (pce->num_interfaces) { in spl_add_interfaces() 43 for (uint32_t num_interfaces = 0; num_interfaces < pce->num_interfaces; num_interfaces++) { in spl_add_interfaces() local 44 spl_add_class_name(list, pce->interfaces[num_interfaces], allow, ce_flags); in spl_add_interfaces()
|
/php-src/Zend/ |
H A D | zend_inheritance.c | 337 if (ce1->num_interfaces) { in unlinked_instanceof() 1546 ce_num = ce->num_interfaces; in zend_do_inherit_interfaces() 1569 while (ce_num < ce->num_interfaces) { in zend_do_inherit_interfaces() 1972 if (parent_ce->num_interfaces) { in zend_do_inheritance_ex() 2131 if (iface->num_interfaces) { in do_interface_implementation() 2219 num_interfaces++; in zend_do_implement_interfaces() 2231 ce->num_interfaces = num_interfaces; in zend_do_implement_interfaces() 2240 for (; i < num_interfaces; i++) { in zend_do_implement_interfaces() 3516 if (ce->num_interfaces) { in zend_do_link_class() 3604 if (ce->num_interfaces) { in zend_do_link_class() [all …]
|
H A D | zend_enum.c | 174 uint32_t num_interfaces_before = ce->num_interfaces; in zend_enum_add_interfaces() 176 ce->num_interfaces++; in zend_enum_add_interfaces() 178 ce->num_interfaces++; in zend_enum_add_interfaces() 183 ce->interface_names = erealloc(ce->interface_names, sizeof(zend_class_name) * ce->num_interfaces); in zend_enum_add_interfaces()
|
H A D | zend_interfaces.c | 269 if (class_type->num_interfaces) { in zend_implement_traversable() 271 for (uint32_t i = 0; i < class_type->num_interfaces; i++) { in zend_implement_traversable()
|
H A D | zend_opcode.c | 354 if (ce->num_interfaces > 0 && !(ce->ce_flags & ZEND_ACC_RESOLVED_INTERFACES)) { in destroy_zend_class() 357 for (i = 0; i < ce->num_interfaces; i++) { in destroy_zend_class() 427 if (ce->num_interfaces > 0 && (ce->ce_flags & ZEND_ACC_RESOLVED_INTERFACES)) { in destroy_zend_class() 521 if (ce->num_interfaces > 0) { in destroy_zend_class()
|
H A D | zend.h | 205 uint32_t num_interfaces; member
|
H A D | zend_operators.c | 2482 if (class_ce->num_interfaces) { in zend_class_implements_interface() 2484 for (i = 0; i < class_ce->num_interfaces; i++) { in zend_class_implements_interface() 2500 if (instance_ce->num_interfaces) { in instanceof_function_slow() 2502 for (i = 0; i < instance_ce->num_interfaces; i++) { in instanceof_function_slow()
|
H A D | zend_compile.c | 2093 ce->num_interfaces = 0; in zend_initialize_class_data() 8033 for (uint32_t i = 0; i < ce->num_interfaces; i++) { in add_stringable_interface() 8040 ce->num_interfaces++; in add_stringable_interface() 8042 erealloc(ce->interface_names, sizeof(zend_class_name) * ce->num_interfaces); in add_stringable_interface() 8044 ce->interface_names[ce->num_interfaces - 1].name = in add_stringable_interface() 8046 ce->interface_names[ce->num_interfaces - 1].lc_name = in add_stringable_interface() 8965 ce->num_interfaces = list->children; in zend_compile_implements() 9132 if (!ce->num_interfaces && !ce->num_traits && !ce->num_hooked_prop_variance_checks in zend_compile_class_decl() 9211 && !ce->num_interfaces && !ce->num_traits && !ce->num_hooked_prop_variance_checks in zend_compile_class_decl()
|
H A D | zend_API.c | 3526 ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces, ...) /* {{{ … in zend_class_implements() argument 3530 va_start(interface_list, num_interfaces); in zend_class_implements() 3532 while (num_interfaces--) { in zend_class_implements()
|
H A D | zend_API.h | 311 class_container.num_interfaces = 0; \ 395 ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces, ...);
|
/php-src/ext/opcache/ |
H A D | zend_persist_calc.c | 487 if (ce->num_interfaces && (ce->ce_flags & ZEND_ACC_LINKED)) { in zend_persist_class_entry_calc() 488 ADD_SIZE(sizeof(zend_class_entry*) * ce->num_interfaces); in zend_persist_class_entry_calc() 514 if (ce->num_interfaces) { in zend_persist_class_entry_calc() 518 for (i = 0; i < ce->num_interfaces; i++) { in zend_persist_class_entry_calc() 522 ADD_SIZE(sizeof(zend_class_name) * ce->num_interfaces); in zend_persist_class_entry_calc()
|
H A D | zend_persist.c | 1045 if (ce->num_interfaces && !(ce->ce_flags & ZEND_ACC_LINKED)) { in zend_persist_class_entry() 1048 for (i = 0; i < ce->num_interfaces; i++) { in zend_persist_class_entry() 1052 …names = zend_shared_memdup_free(ce->interface_names, sizeof(zend_class_name) * ce->num_interfaces); in zend_persist_class_entry() 1147 if (ce->num_interfaces) { in zend_update_parent_ce() 1150 …terfaces = zend_shared_memdup_free(ce->interfaces, sizeof(zend_class_entry*) * ce->num_interfaces); in zend_update_parent_ce() 1151 for (i = 0; i < ce->num_interfaces; i++) { in zend_update_parent_ce()
|
H A D | ZendAccelerator.c | 2258 for (i = 0; i < ce->num_traits + ce->num_interfaces; i++) { in zend_accel_inheritance_cache_find() 2341 for (i = 0; i < proto->num_traits + proto->num_interfaces; i++) { in zend_accel_inheritance_cache_add() 2372 (sizeof(void*) * (proto->num_traits + proto->num_interfaces))); in zend_accel_inheritance_cache_add() 2410 (sizeof(void*) * (proto->num_traits + proto->num_interfaces)))); in zend_accel_inheritance_cache_add() 2412 for (i = 0; i < proto->num_traits + proto->num_interfaces; i++) { in zend_accel_inheritance_cache_add() 3745 if (ce->num_interfaces && (ce->ce_flags & ZEND_ACC_LINKED)) { 3747 for (i = 0; i < ce->num_interfaces; i++) { 3787 if (ce->num_interfaces) { 3788 for (uint32_t i = 0; i < ce->num_interfaces; i++) {
|
H A D | zend_file_cache.c | 793 if (ce->num_interfaces) { 803 for (i = 0; i < ce->num_interfaces; i++) { 1655 if (ce->num_interfaces) { 1661 for (i = 0; i < ce->num_interfaces; i++) {
|
/php-src/ |
H A D | .gdbinit | 430 if $ce->num_interfaces != 0 433 while $tmp < $ce->num_interfaces 436 if $tmp < $ce->num_interfaces 447 if $ce->num_interfaces != 0
|
/php-src/ext/reflection/ |
H A D | php_reflection.c | 364 if (ce->num_interfaces) { in _class_string() 373 for (i = 1; i < ce->num_interfaces; ++i) { in _class_string() 5235 if (ce->num_interfaces) { in ZEND_METHOD() 5240 for (i=0; i < ce->num_interfaces; i++) { in ZEND_METHOD() 5261 if (!ce->num_interfaces) { in ZEND_METHOD() 5269 for (i=0; i < ce->num_interfaces; i++) { in ZEND_METHOD()
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit.c | 718 if (ce->num_interfaces) { in zend_jit_class_may_be_modified() 722 for (i = 0; i < ce->num_interfaces; i++) { in zend_jit_class_may_be_modified()
|
Completed in 145 milliseconds