Lines Matching refs:num_interfaces

337 	if (ce1->num_interfaces) {  in unlinked_instanceof()
342 for (i = 0; i < ce1->num_interfaces; i++) { in unlinked_instanceof()
348 for (i = 0; i < ce1->num_interfaces; i++) { in unlinked_instanceof()
1543 uint32_t i, ce_num, if_num = iface->num_interfaces; in zend_do_inherit_interfaces()
1546 ce_num = ce->num_interfaces; in zend_do_inherit_interfaces()
1563 ce->interfaces[ce->num_interfaces++] = entry; 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()
2140 uint32_t current_iface_num = ce->num_interfaces; in zend_do_implement_interface()
2141 uint32_t parent_iface_num = ce->parent ? ce->parent->num_interfaces : 0; in zend_do_implement_interface()
2147 for (i = 0; i < ce->num_interfaces; i++) { in zend_do_implement_interface()
2149 …e->interfaces + i, ce->interfaces + i + 1, sizeof(zend_class_entry*) * (--ce->num_interfaces - i)); in zend_do_implement_interface()
2165 if (ce->num_interfaces >= current_iface_num) { in zend_do_implement_interface()
2172 ce->interfaces[ce->num_interfaces++] = iface; in zend_do_implement_interface()
2182 uint32_t num_parent_interfaces = ce->parent ? ce->parent->num_interfaces : 0; in zend_do_implement_interfaces()
2183 uint32_t num_interfaces = num_parent_interfaces; in zend_do_implement_interfaces() local
2188 for (i = 0; i < ce->num_interfaces; i++) { in zend_do_implement_interfaces()
2198 for (j = 0; j < num_interfaces; j++) { in zend_do_implement_interfaces()
2218 interfaces[num_interfaces] = iface; in zend_do_implement_interfaces()
2219 num_interfaces++; in zend_do_implement_interfaces()
2224 for (i = 0; i < ce->num_interfaces; i++) { 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()
3487 if (ce->num_traits || ce->num_interfaces) { in zend_do_link_class()
3488 …nterfaces = do_alloca(sizeof(zend_class_entry*) * (ce->num_traits + ce->num_interfaces), use_heap); in zend_do_link_class()
3516 if (ce->num_interfaces) { in zend_do_link_class()
3517 for (i = 0; i < ce->num_interfaces; i++) { in zend_do_link_class()
3604 if (ce->num_interfaces) { in zend_do_link_class()
3606 uint32_t num_parent_interfaces = parent ? parent->num_interfaces : 0; in zend_do_link_class()
3608 sizeof(zend_class_entry *) * (ce->num_interfaces + num_parent_interfaces)); in zend_do_link_class()
3615 sizeof(zend_class_entry *) * ce->num_interfaces); in zend_do_link_class()
3618 } else if (parent && parent->num_interfaces) { in zend_do_link_class()
3655 ce->num_interfaces++; in zend_do_link_class()
3657 sizeof(zend_class_entry *) * ce->num_interfaces, ce->type == ZEND_INTERNAL_CLASS); in zend_do_link_class()
3658 ce->interfaces[ce->num_interfaces - 1] = zend_ce_stringable; in zend_do_link_class()
3888 if (parent_ce && parent_ce->num_interfaces) { in zend_try_early_bind()