Searched refs:num_interfaces (Results 1 – 16 of 16) sorted by relevance
/PHP-8.2/ext/spl/ |
H A D | spl_functions.c | 42 if (pce->num_interfaces) { in spl_add_interfaces() 44 for (uint32_t num_interfaces = 0; num_interfaces < pce->num_interfaces; num_interfaces++) { in spl_add_interfaces() local 45 spl_add_class_name(list, pce->interfaces[num_interfaces], allow, ce_flags); in spl_add_interfaces()
|
/PHP-8.2/Zend/ |
H A D | zend_inheritance.c | 319 if (ce1->num_interfaces) { in unlinked_instanceof() 1346 ce_num = ce->num_interfaces; in zend_do_inherit_interfaces() 1369 while (ce_num < ce->num_interfaces) { in zend_do_inherit_interfaces() 1635 if (parent_ce->num_interfaces) { in zend_do_inheritance_ex() 1752 if (iface->num_interfaces) { in do_interface_implementation() 1840 num_interfaces++; in zend_do_implement_interfaces() 1852 ce->num_interfaces = num_interfaces; in zend_do_implement_interfaces() 1861 for (; i < num_interfaces; i++) { in zend_do_implement_interfaces() 2918 if (ce->num_interfaces) { in zend_do_link_class() 3002 if (ce->num_interfaces) { in zend_do_link_class() [all …]
|
H A D | zend_enum.c | 169 uint32_t num_interfaces_before = ce->num_interfaces; in zend_enum_add_interfaces() 171 ce->num_interfaces++; in zend_enum_add_interfaces() 173 ce->num_interfaces++; in zend_enum_add_interfaces() 178 ce->interface_names = erealloc(ce->interface_names, sizeof(zend_class_name) * ce->num_interfaces); in zend_enum_add_interfaces()
|
H A D | zend_opcode.c | 340 if (ce->num_interfaces > 0 && !(ce->ce_flags & ZEND_ACC_RESOLVED_INTERFACES)) { in destroy_zend_class() 343 for (i = 0; i < ce->num_interfaces; i++) { in destroy_zend_class() 406 if (ce->num_interfaces > 0 && (ce->ce_flags & ZEND_ACC_RESOLVED_INTERFACES)) { in destroy_zend_class() 493 if (ce->num_interfaces > 0) { in destroy_zend_class()
|
H A D | zend_interfaces.c | 268 if (class_type->num_interfaces) { in zend_implement_traversable() 270 for (uint32_t i = 0; i < class_type->num_interfaces; i++) { in zend_implement_traversable()
|
H A D | zend.h | 203 uint32_t num_interfaces; member
|
H A D | zend_operators.c | 2357 if (class_ce->num_interfaces) { in zend_class_implements_interface() 2359 for (i = 0; i < class_ce->num_interfaces; i++) { in zend_class_implements_interface() 2375 if (instance_ce->num_interfaces) { in instanceof_function_slow() 2377 for (i = 0; i < instance_ce->num_interfaces; i++) { in instanceof_function_slow()
|
H A D | zend_compile.c | 1896 ce->num_interfaces = 0; in zend_initialize_class_data() 7261 for (uint32_t i = 0; i < ce->num_interfaces; i++) { in add_stringable_interface() 7268 ce->num_interfaces++; in add_stringable_interface() 7270 erealloc(ce->interface_names, sizeof(zend_class_name) * ce->num_interfaces); in add_stringable_interface() 7272 ce->interface_names[ce->num_interfaces - 1].name = in add_stringable_interface() 7274 ce->interface_names[ce->num_interfaces - 1].lc_name = in add_stringable_interface() 7849 ce->num_interfaces = list->children; in zend_compile_implements() 8008 if (!ce->num_interfaces && !ce->num_traits in zend_compile_class_decl() 8078 && !ce->num_interfaces && !ce->num_traits in zend_compile_class_decl()
|
H A D | zend_API.c | 3254 ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces, ...) /* {{{ … in zend_class_implements() argument 3258 va_start(interface_list, num_interfaces); in zend_class_implements() 3260 while (num_interfaces--) { in zend_class_implements()
|
H A D | zend_API.h | 304 class_container.num_interfaces = 0; \ 385 ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces, ...);
|
/PHP-8.2/ext/opcache/ |
H A D | zend_persist_calc.c | 476 if (ce->num_interfaces && (ce->ce_flags & ZEND_ACC_LINKED)) { in zend_persist_class_entry_calc() 477 ADD_SIZE(sizeof(zend_class_entry*) * ce->num_interfaces); in zend_persist_class_entry_calc() 503 if (ce->num_interfaces) { in zend_persist_class_entry_calc() 507 for (i = 0; i < ce->num_interfaces; i++) { in zend_persist_class_entry_calc() 511 ADD_SIZE(sizeof(zend_class_name) * ce->num_interfaces); in zend_persist_class_entry_calc()
|
H A D | zend_persist.c | 1005 if (ce->num_interfaces && !(ce->ce_flags & ZEND_ACC_LINKED)) { in zend_persist_class_entry() 1008 for (i = 0; i < ce->num_interfaces; i++) { in zend_persist_class_entry() 1012 …names = zend_shared_memdup_free(ce->interface_names, sizeof(zend_class_name) * ce->num_interfaces); in zend_persist_class_entry() 1099 if (ce->num_interfaces) { in zend_update_parent_ce() 1102 …terfaces = zend_shared_memdup_free(ce->interfaces, sizeof(zend_class_entry*) * ce->num_interfaces); in zend_update_parent_ce() 1103 for (i = 0; i < ce->num_interfaces; i++) { in zend_update_parent_ce()
|
H A D | ZendAccelerator.c | 2272 for (i = 0; i < ce->num_traits + ce->num_interfaces; i++) { in zend_accel_inheritance_cache_find() 2355 for (i = 0; i < proto->num_traits + proto->num_interfaces; i++) { in zend_accel_inheritance_cache_add() 2386 (sizeof(void*) * (proto->num_traits + proto->num_interfaces))); in zend_accel_inheritance_cache_add() 2424 (sizeof(void*) * (proto->num_traits + proto->num_interfaces)))); in zend_accel_inheritance_cache_add() 2426 for (i = 0; i < proto->num_traits + proto->num_interfaces; i++) { in zend_accel_inheritance_cache_add() 3689 if (ce->num_interfaces && (ce->ce_flags & ZEND_ACC_LINKED)) { 3691 for (i = 0; i < ce->num_interfaces; i++) { 3731 if (ce->num_interfaces) { 3732 for (uint32_t i = 0; i < ce->num_interfaces; i++) {
|
H A D | zend_file_cache.c | 768 if (ce->num_interfaces) { 778 for (i = 0; i < ce->num_interfaces; i++) { 1603 if (ce->num_interfaces) { 1609 for (i = 0; i < ce->num_interfaces; i++) {
|
/PHP-8.2/ |
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-8.2/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() 5118 if (ce->num_interfaces) { in ZEND_METHOD() 5123 for (i=0; i < ce->num_interfaces; i++) { in ZEND_METHOD() 5146 if (!ce->num_interfaces) { in ZEND_METHOD() 5154 for (i=0; i < ce->num_interfaces; i++) { in ZEND_METHOD()
|
Completed in 373 milliseconds