Lines Matching refs:iface
4821 MutableHandle<mirror::Class> iface(hs.NewHandle<mirror::Class>(nullptr)); in VerifyClass() local
4824 iface.Assign(klass->GetIfTable()->GetInterface(i)); in VerifyClass()
4825 DCHECK(iface != nullptr); in VerifyClass()
4827 if (LIKELY(!iface->HasDefaultMethods() || iface->IsVerified())) { in VerifyClass()
4829 } else if (UNLIKELY(!AttemptSupertypeVerification(self, verifier_deps, klass, iface))) { in VerifyClass()
4833 } else if (UNLIKELY(!iface->IsVerified())) { in VerifyClass()
4836 supertype.Assign(iface.Get()); in VerifyClass()
5388 ObjPtr<mirror::Class> iface = klass->GetIfTable()->GetInterface(i); in CanWeInitializeClass() local
5389 if (iface->HasDefaultMethods() && !iface->IsInitialized()) { in CanWeInitializeClass()
5390 if (!can_init_parents || !CanWeInitializeClass(iface, can_init_statics, can_init_parents)) { in CanWeInitializeClass()
5717 Handle<mirror::Class> iface, in InitializeDefaultInterfaceRecursive() argument
5720 CHECK(iface->IsInterface()); in InitializeDefaultInterfaceRecursive()
5721 size_t num_direct_ifaces = iface->NumDirectInterfaces(); in InitializeDefaultInterfaceRecursive()
5728 ObjPtr<mirror::Class> super_iface = iface->GetDirectInterface(i); in InitializeDefaultInterfaceRecursive()
5729 CHECK(super_iface != nullptr) << iface->PrettyDescriptor() << " iface #" << i; in InitializeDefaultInterfaceRecursive()
5746 if (iface->HasDefaultMethods()) { in InitializeDefaultInterfaceRecursive()
5747 result = EnsureInitialized(self, iface, can_init_statics, can_init_parents); in InitializeDefaultInterfaceRecursive()
5759 ObjectTryLock<mirror::Class> lock(self, iface); in InitializeDefaultInterfaceRecursive()
5761 iface->SetRecursivelyInitialized(); in InitializeDefaultInterfaceRecursive()
6811 ObjPtr<mirror::Class> iface = super_iftable->GetInterface(i); in FindNewIfTableInterfaces() local
6812 DCHECK(NotSubinterfaceOfAny(classes_in_iftable, iface)) << "Bad ordering."; in FindNewIfTableInterfaces()
6813 classes_in_iftable.Put(iface.Ptr()); in FindNewIfTableInterfaces()
7542 void UpdateStateForInterface(ObjPtr<mirror::Class> iface, in UpdateStateForInterface() argument
7550 DCHECK(iface == interface_method->GetDeclaringClass()); in UpdateStateForInterface()
7551 DCHECK(iface == iftable->GetInterface(index)); in UpdateStateForInterface()
7557 if (ContainsOverridingMethodOf(iftable, index + 1, ifcount, iface, interface_method)) { in UpdateStateForInterface()
7566 void UpdateState(ObjPtr<mirror::Class> iface, in UpdateState() argument
7582 DCHECK(iface == interface_method->GetDeclaringClass()); in UpdateState()
7583 DCHECK(iface == iftable->GetInterface(index)); in UpdateState()
7588 return ContainsImplementingMethod(iftable, index + 1, ifcount, iface, vtable_index); in UpdateState()
7590 UpdateStateImpl(iface, interface_method, slow_is_masked); in UpdateState()
7613 ObjPtr<mirror::Class> iface = iftable->GetInterface(i); in FinalizeState() local
7614 DCHECK(iface == super_iftable->GetInterface(i)); in FinalizeState()
7618 ArtMethod* interface_method = iface->GetVirtualMethod(index, kPointerSize); in FinalizeState()
7624 super_iftable, i + 1u, super_ifcount, iface, super_method) || in FinalizeState()
7626 iftable, super_ifcount, ifcount, iface, vtable_index); in FinalizeState()
7628 UpdateStateImpl(iface, interface_method, slow_is_masked); in FinalizeState()
7638 ObjPtr<mirror::Class> iface = super_method->GetDeclaringClass(); in FinalizeState() local
7640 iface, super_method, vtable_index, iftable, ifcount, /*index=*/ super_ifcount - 1u); in FinalizeState()
7659 void UpdateStateImpl(ObjPtr<mirror::Class> iface, in UpdateStateImpl() argument
7669 if (GetMainMethod()->GetDeclaringClass()->Implements(iface)) { in UpdateStateImpl()
7722 ObjPtr<mirror::Class> iface, in ContainsOverridingMethodOf() argument
7730 if (current_iface->Implements(iface)) { in ContainsOverridingMethodOf()
7759 ObjPtr<mirror::Class> iface, in ContainsImplementingMethod() argument
7764 iftable->GetInterface(i)->Implements(iface)) { in ContainsImplementingMethod()
8071 auto update_imt = [=](ObjPtr<mirror::Class> iface, size_t j, ArtMethod* implementation) in FinalizeIfTable()
8074 ArtMethod** imt_ptr = &out_imt[iface->GetVirtualMethod(j, kPointerSize)->GetImtIndex()]; in FinalizeIfTable()
8091 ObjPtr<mirror::Class> iface = iftable->GetInterface(i); in FinalizeIfTable() local
8102 update_imt(iface, j, implementation); in FinalizeIfTable()
8109 HandleWrapperObjPtr<mirror::Class> h_iface = hs.NewHandleWrapper(&iface); in FinalizeIfTable()
8140 update_imt(iface, j, implementation); in FinalizeIfTable()
8153 ObjPtr<mirror::Class> iface = iftable->GetInterface(i); in FinalizeIfTable() local
8160 update_imt(iface, j, implementation); in FinalizeIfTable()
8385 ObjPtr<mirror::Class> iface = iftable->GetInterface(i); in AssignVTableIndexes() local
8389 ArtMethod* interface_method = iface->GetVirtualMethod(j, kPointerSize); in AssignVTableIndexes()
8448 it->UpdateState(iface, interface_method, vtable_index, iftable, ifcount, i); in AssignVTableIndexes()
8525 ObjPtr<mirror::Class> iface = iftable->GetInterface(i); in FindCopiedMethodsForInterface() local
8526 if (!iface->HasDefaultMethods()) { in FindCopiedMethodsForInterface()
8529 size_t num_methods = iface->NumDeclaredVirtualMethods(); in FindCopiedMethodsForInterface()
8531 ArtMethod* interface_method = iface->GetVirtualMethod(j, kPointerSize); in FindCopiedMethodsForInterface()
8554 new_record.UpdateStateForInterface(iface, interface_method, iftable, ifcount, i); in FindCopiedMethodsForInterface()
8563 it->UpdateStateForInterface(iface, interface_method, iftable, ifcount, i); in FindCopiedMethodsForInterface()