Lines Matching refs:num_interfaces
319 if (ce1->num_interfaces) { in unlinked_instanceof()
324 for (i = 0; i < ce1->num_interfaces; i++) { in unlinked_instanceof()
330 for (i = 0; i < ce1->num_interfaces; i++) { in unlinked_instanceof()
1343 uint32_t i, ce_num, if_num = iface->num_interfaces; in zend_do_inherit_interfaces()
1346 ce_num = ce->num_interfaces; in zend_do_inherit_interfaces()
1363 ce->interfaces[ce->num_interfaces++] = entry; 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()
1761 uint32_t current_iface_num = ce->num_interfaces; in zend_do_implement_interface()
1762 uint32_t parent_iface_num = ce->parent ? ce->parent->num_interfaces : 0; in zend_do_implement_interface()
1768 for (i = 0; i < ce->num_interfaces; i++) { in zend_do_implement_interface()
1770 …e->interfaces + i, ce->interfaces + i + 1, sizeof(zend_class_entry*) * (--ce->num_interfaces - i)); in zend_do_implement_interface()
1786 if (ce->num_interfaces >= current_iface_num) { in zend_do_implement_interface()
1793 ce->interfaces[ce->num_interfaces++] = iface; in zend_do_implement_interface()
1803 uint32_t num_parent_interfaces = ce->parent ? ce->parent->num_interfaces : 0; in zend_do_implement_interfaces()
1804 uint32_t num_interfaces = num_parent_interfaces; in zend_do_implement_interfaces() local
1809 for (i = 0; i < ce->num_interfaces; i++) { in zend_do_implement_interfaces()
1819 for (j = 0; j < num_interfaces; j++) { in zend_do_implement_interfaces()
1839 interfaces[num_interfaces] = iface; in zend_do_implement_interfaces()
1840 num_interfaces++; in zend_do_implement_interfaces()
1845 for (i = 0; i < ce->num_interfaces; i++) { 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()
2889 if (ce->num_traits || ce->num_interfaces) { in zend_do_link_class()
2890 …nterfaces = do_alloca(sizeof(zend_class_entry*) * (ce->num_traits + ce->num_interfaces), use_heap); in zend_do_link_class()
2918 if (ce->num_interfaces) { in zend_do_link_class()
2919 for (i = 0; i < ce->num_interfaces; i++) { in zend_do_link_class()
3002 if (ce->num_interfaces) { in zend_do_link_class()
3004 uint32_t num_parent_interfaces = parent ? parent->num_interfaces : 0; in zend_do_link_class()
3006 sizeof(zend_class_entry *) * (ce->num_interfaces + num_parent_interfaces)); in zend_do_link_class()
3013 sizeof(zend_class_entry *) * ce->num_interfaces); in zend_do_link_class()
3016 } else if (parent && parent->num_interfaces) { in zend_do_link_class()
3034 ce->num_interfaces++; in zend_do_link_class()
3036 sizeof(zend_class_entry *) * ce->num_interfaces, ce->type == ZEND_INTERNAL_CLASS); in zend_do_link_class()
3037 ce->interfaces[ce->num_interfaces - 1] = zend_ce_stringable; in zend_do_link_class()
3232 if (parent_ce && parent_ce->num_interfaces) { in zend_try_early_bind()