Home
last modified time | relevance | path

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

/art/runtime/
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.cc1947 ObjPtr<mirror::IfTable> iftable = in CheckObjects() local
1949 int32_t iftable_count = (iftable != nullptr) ? iftable->Count() : 0; in CheckObjects()
1952 iftable->GetMethodArrayOrNull<kDefaultVerifyFlags, kWithoutReadBarrier>(i); in CheckObjects()
6926 ObjPtr<mirror::IfTable> iftable = AllocIfTable(self, ifcount, super_iftable->GetClass()); in SetupInterfaceLookupTable() local
6927 if (UNLIKELY(iftable == nullptr)) { in SetupInterfaceLookupTable()
6938 iftable->SetInterface(i, super_interface); in SetupInterfaceLookupTable()
6941 iftable->SetMethodArray(i, method_array); in SetupInterfaceLookupTable()
6952 iftable->SetInterface(current_index, new_interface); in SetupInterfaceLookupTable()
6960 ObjPtr<mirror::Class> if_a = iftable->GetInterface(i); in SetupInterfaceLookupTable()
6962 ObjPtr<mirror::Class> if_b = iftable->GetInterface(j); in SetupInterfaceLookupTable()
[all …]
Dart_method.cc277 ObjPtr<mirror::IfTable> iftable = GetDeclaringClass()->GetIfTable(); in FindOverriddenMethod() local
278 for (size_t i = 0; i < iftable->Count() && result == nullptr; i++) { in FindOverriddenMethod()
279 ObjPtr<mirror::Class> interface = iftable->GetInterface(i); in FindOverriddenMethod()
Dclass_linker_test.cc298 ObjPtr<mirror::IfTable> iftable = klass->GetIfTable(); in AssertClass() local
300 ObjPtr<mirror::Class> interface = iftable->GetInterface(i); in AssertClass()
303 EXPECT_EQ(0U, iftable->GetMethodArrayCount(i)); in AssertClass()
305 EXPECT_EQ(interface->NumDeclaredVirtualMethods(), iftable->GetMethodArrayCount(i)); in AssertClass()
Druntime_image.cc740 mirror::IfTable* iftable = FromImageOffsetToRuntimeContent<mirror::IfTable>( in RelocateMethodPointerArrays() local
746 int32_t iftable_count = iftable->Count(); in RelocateMethodPointerArrays()
751 iftable->GetMethodArrayOrNull<kVerifyNone, kWithoutReadBarrier>(i).Ptr())); in RelocateMethodPointerArrays()
/art/runtime/mirror/
Dclass.cc534 ObjPtr<IfTable> iftable = klass->GetIfTable(); in FindInterfaceMethodWithSignature() local
535 for (int32_t i = 0, iftable_count = iftable->Count(); i < iftable_count; ++i) { in FindInterfaceMethodWithSignature()
536 ObjPtr<Class> iface = iftable->GetInterface(i); in FindInterfaceMethodWithSignature()
977 MutableHandle<IfTable> iftable(hs.NewHandle(GetIfTable())); in FindVirtualMethodForInterfaceSuper() local
985 DCHECK_LT(k, iftable->Count()); in FindVirtualMethodForInterfaceSuper()
986 iface.Assign(iftable->GetInterface(k)); in FindVirtualMethodForInterfaceSuper()
1520 ObjPtr<IfTable> iftable = GetIfTable(); in GetDirectInterface() local
1521 DCHECK(iftable != nullptr); in GetDirectInterface()
1522 DCHECK_EQ(iftable->Count(), 2u); in GetDirectInterface()
1524 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()
586 ObjPtr<IfTable> iftable = GetIfTable(); in FindVirtualMethodForInterface() local
588 if (iftable->GetInterface(i) == declaring_class) { in FindVirtualMethodForInterface()
589 return iftable->GetMethodArray(i)->GetElementPtrSize<ArtMethod*>( in FindVirtualMethodForInterface()
/art/runtime/gc/space/
Dimage_space.cc1332 ObjPtr<mirror::IfTable> iftable = klass->GetIfTable<kVerifyNone, kWithoutReadBarrier>(); in RelocateInPlace() local
1333 if (iftable != nullptr && app_image_objects.InDest(iftable.Ptr())) { in RelocateInPlace()
1339 iftable->GetMethodArrayOrNull<kVerifyNone, kWithoutReadBarrier>(i); in RelocateInPlace()
2633 ObjPtr<mirror::IfTable> iftable = klass->GetIfTable<kVerifyNone, kWithoutReadBarrier>(); in DoRelocateSpaces() local
2634 if (kExtension ? simple_relocate_visitor.InDest(iftable.Ptr()) : iftable != nullptr) { in DoRelocateSpaces()
2635 int32_t ifcount = iftable->Count<kVerifyNone>(); in DoRelocateSpaces()
2638 iftable->GetMethodArrayOrNull<kVerifyNone, kWithoutReadBarrier>(i); in DoRelocateSpaces()
/art/compiler/optimizing/
Dinstruction_builder.cc1638 ObjPtr<mirror::IfTable> iftable = cls->GetIfTable(); in HasTrivialInitialization() local
1639 DCHECK(iftable != nullptr); in HasTrivialInitialization()
1640 for (int32_t i = 0, count = iftable->Count(); i != count; ++i) { in HasTrivialInitialization()
1641 ObjPtr<mirror::Class> iface = iftable->GetInterface(i); in HasTrivialInitialization()
/art/dex2oat/linker/
Dimage_writer.cc1670 ObjPtr<mirror::IfTable> iftable = klass->GetIfTable<kVerifyNone, kWithoutReadBarrier>(); in VisitNewMethodPointerArrays() local
1675 iftable->GetMethodArrayOrNull<kVerifyNone, kWithoutReadBarrier>(i); in VisitNewMethodPointerArrays()