Home
last modified time | relevance | path

Searched refs:ImTable (Results 1 – 21 of 21) sorted by relevance

/art/runtime/
Dimtable-inl.h36 inline void ImTable::GetImtHashComponents(ArtMethod* method, in GetImtHashComponents()
85 inline uint32_t ImTable::GetImtIndex(ArtMethod* method) { in GetImtIndex()
91 return method->GetMethodIndex() & (ImTable::kSizeTruncToPowerOfTwo - 1); in GetImtIndex()
105 return mixed_hash % ImTable::kSize; in GetImtIndex()
Dimtable_test.cc94 CHECK_EQ(ImTable::GetImtIndex(methods.first), ImTable::GetImtIndex(methods.second)); in TEST_F()
101 CHECK_EQ(ImTable::GetImtIndex(methods.first), ImTable::GetImtIndex(methods.second)); in TEST_F()
Dimage-inl.h92 ImTable* imt = reinterpret_cast<ImTable*>(base + section.Offset() + pos); in VisitPackedImTables()
93 for (size_t i = 0; i < ImTable::kSize; ++i) { in VisitPackedImTables()
100 pos += ImTable::SizeInBytes(pointer_size); in VisitPackedImTables()
Dimtable.h31 class ImTable {
Druntime_image.cc824 ImTable* im_table = reinterpret_cast<ImTable*>(im_tables_.data() + it.second.second); in RelocateNativePointers()
834 void RelocateImTable(ImTable* im_table, const NativePointerVisitor& visitor) { in RelocateImTable()
835 for (size_t i = 0; i < ImTable::kSize; ++i) { in RelocateImTable()
968 ImTable* table = cls->GetImt(kRuntimePointerSize); in CopyImTable()
974 const size_t size = ImTable::SizeInBytes(kRuntimePointerSize); in CopyImTable()
Dart_method-inl.h785 return ImTable::GetImtIndex(this);
791 imt_index_ = ImTable::GetImtIndex(this);
Dclass_linker.cc1936 ImTable* imt = klass->GetImt(kPointerSize); in CheckObjects()
1937 for (size_t i = 0; i < ImTable::kSize; ++i) { in CheckObjects()
2745 ImTable* object_imt = java_lang_Object->GetImt(image_pointer_size_); in FinishArrayClassSetup()
6127 ArtMethod* imt_data[ImTable::kSize]; in LinkClass()
6144 ImTable* imt = nullptr; in LinkClass()
6152 ImTable* super_imt = klass->FindSuperImt(image_pointer_size_); in LinkClass()
6155 for (size_t i = 0; i < ImTable::kSize && imt_equals; ++i) { in LinkClass()
6165 imt = reinterpret_cast<ImTable*>( in LinkClass()
6167 ImTable::SizeInBytes(image_pointer_size_), in LinkClass()
6441 ImTable* imt = klass->GetImt(kRuntimePointerSize); in GetImtOwner()
[all …]
Dclass_linker_test.cc170 ImTable* imt = JavaLangObject->GetImt(pointer_size); in AssertObjectClass()
172 for (size_t i = 0; i < ImTable::kSize; ++i) { in AssertObjectClass()
241 ImTable* JavaLangObject_imt = JavaLangObject->GetImt(pointer_size); in AssertArrayClass()
/art/dex2oat/linker/
Dimage_writer.h70 class ImTable; variable
484 void CopyAndFixupImTable(ImTable* orig, ImTable* copy)
522 bool TryAssignImTableOffset(ImTable* imt, size_t oat_index) REQUIRES_SHARED(Locks::mutator_lock_);
Dimage_writer.cc1257 ImTable* imt = klass->GetImt(target_ptr_size_); in RecordNativeRelocations()
1261 for (size_t i = 0; i < ImTable::kSize; ++i) { in RecordNativeRelocations()
1278 bool ImageWriter::TryAssignImTableOffset(ImTable* imt, size_t oat_index) { in TryAssignImTableOffset()
1285 const size_t size = ImTable::SizeInBytes(target_ptr_size_); in TryAssignImTableOffset()
2785 void ImageWriter::CopyAndFixupImTable(ImTable* orig, ImTable* copy) { in CopyAndFixupImTable()
2786 for (size_t i = 0; i < ImTable::kSize; ++i) { in CopyAndFixupImTable()
2856 ImTable* orig_imt = reinterpret_cast<ImTable*>(pair.first); in CopyAndFixupNativeData()
2857 ImTable* dest_imt = reinterpret_cast<ImTable*>(dest); in CopyAndFixupNativeData()
/art/tools/cpp-define-generator/
Dart_method.def41 art::ImTable::kSizeTruncToPowerOfTwo - 1)
/art/runtime/mirror/
Dclass-inl.h354 inline ImTable* Class::GetImt(PointerSize pointer_size) { in GetImt()
355 return GetFieldPtrWithSize<ImTable*>(ImtPtrOffset(pointer_size), pointer_size); in GetImt()
358 inline void Class::SetImt(ImTable* imt, PointerSize pointer_size) { in SetImt()
1140 FixupNativePointer<ImTable*, kVerifyFlags>( in FixupNativePointers()
1198 inline ImTable* Class::FindSuperImt(PointerSize pointer_size) { in FindSuperImt()
Dclass.h58 class ImTable; variable
875 ImTable* GetImt(PointerSize pointer_size) REQUIRES_SHARED(Locks::mutator_lock_);
877 void SetImt(ImTable* imt, PointerSize pointer_size) REQUIRES_SHARED(Locks::mutator_lock_);
879 ImTable* FindSuperImt(PointerSize pointer_size) REQUIRES_SHARED(Locks::mutator_lock_);
1265 ImTable* imt,
Dclass.cc1641 ImTable* imt, in CopyClassVisitor()
1666 ImTable* imt_;
1674 ImTable* imt, in CopyOf()
/art/oatdump/
Doatdump.cc2783 ImTable* im_table = PrepareAndGetImTable(runtime, h_klass, pointer_size, &prepared); in DumpImtStats()
2791 for (size_t imt_index = 0; imt_index != ImTable::kSize; ++imt_index) { in DumpImtStats()
2878 static ImTable* PrepareAndGetImTable(Runtime* runtime, in PrepareAndGetImTable()
2910 ImTable* ret = PrepareAndGetImTable(runtime, h_klass, pointer_size, prepared); in PrepareAndGetImTable()
2915 static ImTable* PrepareAndGetImTable(Runtime* runtime, in PrepareAndGetImTable()
2931 ImTable* imt = PrepareAndGetImTable(runtime, in DumpIMTForClass()
2943 for (size_t index = 0; index < ImTable::kSize; ++index) { in DumpIMTForClass()
2968 ImTable::GetImtHashComponents(&iface_method, &class_hash, &name_hash, &signature_hash); in DumpIMTForClass()
2969 uint32_t imt_slot = ImTable::GetImtIndex(&iface_method); in DumpIMTForClass()
2990 ImTable* imt = PrepareAndGetImTable(runtime, in DumpIMTForMethod()
[all …]
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc2266 ImTable* imt = cls->GetImt(kRuntimePointerSize); in artInvokeInterfaceTrampoline()
/art/compiler/optimizing/
Dinstruction_builder.cc995 DCHECK_EQ(*imt_or_vtable_index, ImTable::GetImtIndex(resolved_method)); in ResolveMethod()
Dcode_generator_arm64.cc4649 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface()
7012 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitClassTableGet()
Dcode_generator_x86_64.cc3060 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface()
5005 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitClassTableGet()
Dcode_generator_x86.cc2814 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface()
5116 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitClassTableGet()
Dcode_generator_arm_vixl.cc3673 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface()
10011 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitClassTableGet()