Home
last modified time | relevance | path

Searched refs:iftable (Results 1 – 10 of 10) sorted by relevance

/art/runtime/
Ddebug_print.cc158 ObjPtr<mirror::IfTable> iftable = src_class->GetIfTable(); in DumpB77342775DebugData() local
159 CHECK(iftable != nullptr); in DumpB77342775DebugData()
160 size_t ifcount = iftable->Count(); in DumpB77342775DebugData()
168 ObjPtr<mirror::Class> iface = iftable->GetInterface(i); in DumpB77342775DebugData()
Dcha.cc161 ObjPtr<mirror::IfTable> iftable = klass->GetIfTable<kDefaultVerifyFlags, kWithoutReadBarrier>(); in ResetSingleImplementationInHierarchy() local
165 iftable->GetInterface<kDefaultVerifyFlags, kWithoutReadBarrier>(i); in ResetSingleImplementationInHierarchy()
167 count = iftable->GetMethodArrayCount<kDefaultVerifyFlags, kWithoutReadBarrier>(i); in ResetSingleImplementationInHierarchy()
596 ObjPtr<mirror::IfTable> iftable = klass->GetIfTable(); in UpdateAfterLoadingOf() local
599 ObjPtr<mirror::Class> interface = iftable->GetInterface(i); in UpdateAfterLoadingOf()
600 for (size_t j = 0, count = iftable->GetMethodArrayCount(i); j < count; ++j) { in UpdateAfterLoadingOf()
602 ObjPtr<mirror::PointerArray> method_array = iftable->GetMethodArray(i); in UpdateAfterLoadingOf()
Dclass_linker.cc1771 ObjPtr<mirror::IfTable> iftable = klass->GetIfTable(); in CheckObjects() local
1773 if (iftable->GetMethodArrayCount(i) > 0) { in CheckObjects()
1774 ic.CheckArtMethodPointerArray(iftable->GetMethodArray(i), nullptr); in CheckObjects()
6635 ObjPtr<mirror::IfTable> iftable = AllocIfTable(self, ifcount, super_iftable->GetClass()); in SetupInterfaceLookupTable() local
6636 if (UNLIKELY(iftable == nullptr)) { in SetupInterfaceLookupTable()
6647 iftable->SetInterface(i, super_interface); in SetupInterfaceLookupTable()
6650 iftable->SetMethodArray(i, method_array); in SetupInterfaceLookupTable()
6661 iftable->SetInterface(current_index, new_interface); in SetupInterfaceLookupTable()
6669 ObjPtr<mirror::Class> if_a = iftable->GetInterface(i); in SetupInterfaceLookupTable()
6671 ObjPtr<mirror::Class> if_b = iftable->GetInterface(j); in SetupInterfaceLookupTable()
[all …]
Dart_method.cc225 ObjPtr<mirror::IfTable> iftable = GetDeclaringClass()->GetIfTable(); in FindOverriddenMethod() local
226 for (size_t i = 0; i < iftable->Count() && result == nullptr; i++) { in FindOverriddenMethod()
227 ObjPtr<mirror::Class> interface = iftable->GetInterface(i); in FindOverriddenMethod()
Dclass_linker_test.cc289 ObjPtr<mirror::IfTable> iftable = klass->GetIfTable(); in AssertClass() local
291 ObjPtr<mirror::Class> interface = iftable->GetInterface(i); in AssertClass()
294 EXPECT_EQ(0U, iftable->GetMethodArrayCount(i)); in AssertClass()
296 EXPECT_EQ(interface->NumDeclaredVirtualMethods(), iftable->GetMethodArrayCount(i)); in AssertClass()
/art/runtime/mirror/
Dclass.cc537 ObjPtr<IfTable> iftable = klass->GetIfTable(); in FindInterfaceMethodWithSignature() local
538 for (int32_t i = 0, iftable_count = iftable->Count(); i < iftable_count; ++i) { in FindInterfaceMethodWithSignature()
539 ObjPtr<Class> iface = iftable->GetInterface(i); in FindInterfaceMethodWithSignature()
980 MutableHandle<IfTable> iftable(hs.NewHandle(GetIfTable())); in FindVirtualMethodForInterfaceSuper() local
988 DCHECK_LT(k, iftable->Count()); in FindVirtualMethodForInterfaceSuper()
989 iface.Assign(iftable->GetInterface(k)); in FindVirtualMethodForInterfaceSuper()
1523 ObjPtr<IfTable> iftable = GetIfTable(); in GetDirectInterface() local
1524 DCHECK(iftable != nullptr); in GetDirectInterface()
1525 DCHECK_EQ(iftable->Count(), 2u); in GetDirectInterface()
1527 ObjPtr<Class> interface = iftable->GetInterface(idx); in GetDirectInterface()
[all …]
Dclass-inl.h391 ObjPtr<IfTable> iftable = GetIfTable(); in Implements() local
393 if (iftable->GetInterface(i) == klass) { in Implements()
643 ObjPtr<IfTable> iftable = GetIfTable(); in FindVirtualMethodForInterface() local
645 if (iftable->GetInterface(i) == declaring_class) { in FindVirtualMethodForInterface()
646 return iftable->GetMethodArray(i)->GetElementPtrSize<ArtMethod*>( in FindVirtualMethodForInterface()
/art/runtime/gc/space/
Dimage_space.cc1265 ObjPtr<mirror::IfTable> iftable = klass->GetIfTable<kVerifyNone, kWithoutReadBarrier>(); in RelocateInPlace() local
1266 if (iftable != nullptr && app_image_objects.InDest(iftable.Ptr())) { in RelocateInPlace()
1272 iftable->GetMethodArrayOrNull<kVerifyNone, kWithoutReadBarrier>(i); in RelocateInPlace()
2790 ObjPtr<mirror::IfTable> iftable = klass->GetIfTable<kVerifyNone, kWithoutReadBarrier>(); in DoRelocateSpaces() local
2791 if (kExtension ? simple_relocate_visitor.InDest(iftable.Ptr()) : iftable != nullptr) { in DoRelocateSpaces()
2792 int32_t ifcount = iftable->Count<kVerifyNone>(); in DoRelocateSpaces()
2795 iftable->GetMethodArrayOrNull<kVerifyNone, kWithoutReadBarrier>(i); in DoRelocateSpaces()
/art/compiler/optimizing/
Dinstruction_builder.cc1612 ObjPtr<mirror::IfTable> iftable = cls->GetIfTable(); in HasTrivialInitialization() local
1613 DCHECK(iftable != nullptr); in HasTrivialInitialization()
1614 for (int32_t i = 0, count = iftable->Count(); i != count; ++i) { in HasTrivialInitialization()
1615 ObjPtr<mirror::Class> iface = iftable->GetInterface(i); in HasTrivialInitialization()
/art/dex2oat/linker/
Dimage_writer.cc1862 ObjPtr<mirror::IfTable> iftable = klass->GetIfTable<kVerifyNone, kWithoutReadBarrier>(); in VisitNewMethodPointerArrays() local
1867 iftable->GetMethodArrayOrNull<kVerifyNone, kWithoutReadBarrier>(i); in VisitNewMethodPointerArrays()