• Home
  • Raw
  • Download

Lines Matching refs:iface

5003     MutableHandle<mirror::Class> iface(hs.NewHandle<mirror::Class>(nullptr));  in VerifyClass()  local
5006 iface.Assign(klass->GetIfTable()->GetInterface(i)); in VerifyClass()
5007 DCHECK(iface != nullptr); in VerifyClass()
5009 if (LIKELY(!iface->HasDefaultMethods() || iface->IsVerified())) { in VerifyClass()
5011 } else if (UNLIKELY(!AttemptSupertypeVerification(self, verifier_deps, klass, iface))) { in VerifyClass()
5015 } else if (UNLIKELY(!iface->IsVerified())) { in VerifyClass()
5018 supertype.Assign(iface.Get()); in VerifyClass()
5570 ObjPtr<mirror::Class> iface = klass->GetIfTable()->GetInterface(i); in CanWeInitializeClass() local
5571 if (iface->HasDefaultMethods() && !iface->IsInitialized()) { in CanWeInitializeClass()
5572 if (!can_init_parents || !CanWeInitializeClass(iface, can_init_statics, can_init_parents)) { in CanWeInitializeClass()
5899 Handle<mirror::Class> iface, in InitializeDefaultInterfaceRecursive() argument
5902 CHECK(iface->IsInterface()); in InitializeDefaultInterfaceRecursive()
5903 size_t num_direct_ifaces = iface->NumDirectInterfaces(); in InitializeDefaultInterfaceRecursive()
5910 ObjPtr<mirror::Class> super_iface = iface->GetDirectInterface(i); in InitializeDefaultInterfaceRecursive()
5911 CHECK(super_iface != nullptr) << iface->PrettyDescriptor() << " iface #" << i; in InitializeDefaultInterfaceRecursive()
5928 if (iface->HasDefaultMethods()) { in InitializeDefaultInterfaceRecursive()
5929 result = EnsureInitialized(self, iface, can_init_statics, can_init_parents); in InitializeDefaultInterfaceRecursive()
5941 ObjectTryLock<mirror::Class> lock(self, iface); in InitializeDefaultInterfaceRecursive()
5943 iface->SetRecursivelyInitialized(); in InitializeDefaultInterfaceRecursive()
7010 ObjPtr<mirror::Class> iface = super_iftable->GetInterface(i); in FindNewIfTableInterfaces() local
7011 DCHECK(NotSubinterfaceOfAny(classes_in_iftable, iface)) << "Bad ordering."; in FindNewIfTableInterfaces()
7012 classes_in_iftable.Put(iface.Ptr()); in FindNewIfTableInterfaces()
7741 void UpdateStateForInterface(ObjPtr<mirror::Class> iface, in UpdateStateForInterface() argument
7749 DCHECK(iface == interface_method->GetDeclaringClass()); in UpdateStateForInterface()
7750 DCHECK(iface == iftable->GetInterface(index)); in UpdateStateForInterface()
7756 if (ContainsOverridingMethodOf(iftable, index + 1, ifcount, iface, interface_method)) { in UpdateStateForInterface()
7765 void UpdateState(ObjPtr<mirror::Class> iface, in UpdateState() argument
7781 DCHECK(iface == interface_method->GetDeclaringClass()); in UpdateState()
7782 DCHECK(iface == iftable->GetInterface(index)); in UpdateState()
7787 return ContainsImplementingMethod(iftable, index + 1, ifcount, iface, vtable_index); in UpdateState()
7789 UpdateStateImpl(iface, interface_method, slow_is_masked); in UpdateState()
7812 ObjPtr<mirror::Class> iface = iftable->GetInterface(i); in FinalizeState() local
7813 DCHECK(iface == super_iftable->GetInterface(i)); in FinalizeState()
7817 ArtMethod* interface_method = iface->GetVirtualMethod(index, kPointerSize); in FinalizeState()
7823 super_iftable, i + 1u, super_ifcount, iface, super_method) || in FinalizeState()
7825 iftable, super_ifcount, ifcount, iface, vtable_index); in FinalizeState()
7827 UpdateStateImpl(iface, interface_method, slow_is_masked); in FinalizeState()
7837 ObjPtr<mirror::Class> iface = super_method->GetDeclaringClass(); in FinalizeState() local
7839 iface, super_method, vtable_index, iftable, ifcount, /*index=*/ super_ifcount - 1u); in FinalizeState()
7858 void UpdateStateImpl(ObjPtr<mirror::Class> iface, in UpdateStateImpl() argument
7868 if (GetMainMethod()->GetDeclaringClass()->Implements(iface)) { in UpdateStateImpl()
7921 ObjPtr<mirror::Class> iface, in ContainsOverridingMethodOf() argument
7929 if (current_iface->Implements(iface)) { in ContainsOverridingMethodOf()
7958 ObjPtr<mirror::Class> iface, in ContainsImplementingMethod() argument
7963 iftable->GetInterface(i)->Implements(iface)) { in ContainsImplementingMethod()
8267 auto update_imt = [=](ObjPtr<mirror::Class> iface, size_t j, ArtMethod* implementation) in FinalizeIfTable()
8270 ArtMethod** imt_ptr = &out_imt[iface->GetVirtualMethod(j, kPointerSize)->GetImtIndex()]; in FinalizeIfTable()
8287 ObjPtr<mirror::Class> iface = iftable->GetInterface(i); in FinalizeIfTable() local
8298 update_imt(iface, j, implementation); in FinalizeIfTable()
8305 HandleWrapperObjPtr<mirror::Class> h_iface = hs.NewHandleWrapper(&iface); in FinalizeIfTable()
8336 update_imt(iface, j, implementation); in FinalizeIfTable()
8349 ObjPtr<mirror::Class> iface = iftable->GetInterface(i); in FinalizeIfTable() local
8356 update_imt(iface, j, implementation); in FinalizeIfTable()
8581 ObjPtr<mirror::Class> iface = iftable->GetInterface(i); in AssignVTableIndexes() local
8585 ArtMethod* interface_method = iface->GetVirtualMethod(j, kPointerSize); in AssignVTableIndexes()
8644 it->UpdateState(iface, interface_method, vtable_index, iftable, ifcount, i); in AssignVTableIndexes()
8721 ObjPtr<mirror::Class> iface = iftable->GetInterface(i); in FindCopiedMethodsForInterface() local
8722 if (!iface->HasDefaultMethods()) { in FindCopiedMethodsForInterface()
8725 size_t num_methods = iface->NumDeclaredVirtualMethods(); in FindCopiedMethodsForInterface()
8727 ArtMethod* interface_method = iface->GetVirtualMethod(j, kPointerSize); in FindCopiedMethodsForInterface()
8750 new_record.UpdateStateForInterface(iface, interface_method, iftable, ifcount, i); in FindCopiedMethodsForInterface()
8759 it->UpdateStateForInterface(iface, interface_method, iftable, ifcount, i); in FindCopiedMethodsForInterface()