Home
last modified time | relevance | path

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

/art/runtime/
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()
Dimtable-inl.h36 inline void ImTable::GetImtHashComponents(ArtMethod* method, in GetImtHashComponents()
85 inline uint32_t ImTable::GetImtIndex(ArtMethod* method) { in GetImtIndex()
98 return mixed_hash % ImTable::kSize; in GetImtIndex()
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.h30 class ImTable {
Dart_method-inl.h422 DCHECK_EQ(imt_index, ImTable::GetImtIndex(this)) << PrettyMethod(); in GetImtIndex()
425 return ImTable::GetImtIndex(this); in GetImtIndex()
431 imt_index_ = ~ImTable::GetImtIndex(this); in CalculateAndSetImtIndex()
Dclass_linker.cc1913 ImTable* imt = klass->GetImt(pointer_size); in CheckObjects()
1914 for (size_t i = 0; i < ImTable::kSize; ++i) { in CheckObjects()
2686 ImTable* object_imt = java_lang_Object->GetImt(image_pointer_size_); in FinishArrayClassSetup()
6083 static ImTable* FindSuperImt(ObjPtr<mirror::Class> klass, PointerSize pointer_size) in FindSuperImt()
6104 ArtMethod* imt_data[ImTable::kSize]; in LinkClass()
6121 ImTable* imt = nullptr; in LinkClass()
6129 ImTable* super_imt = FindSuperImt(klass.Get(), image_pointer_size_); in LinkClass()
6132 for (size_t i = 0; i < ImTable::kSize && imt_equals; ++i) { in LinkClass()
6142 imt = reinterpret_cast<ImTable*>( in LinkClass()
6143 allocator->Alloc(self, ImTable::SizeInBytes(image_pointer_size_))); in LinkClass()
[all …]
Dclass_linker_test.cc173 ImTable* imt = JavaLangObject->GetImt(pointer_size); in AssertObjectClass()
175 for (size_t i = 0; i < ImTable::kSize; ++i) { in AssertObjectClass()
246 ImTable* JavaLangObject_imt = JavaLangObject->GetImt(pointer_size); in AssertArrayClass()
/art/dex2oat/linker/
Dimage_writer.h70 class ImTable; variable
491 void CopyAndFixupImTable(ImTable* orig, ImTable* copy)
556 bool TryAssignImTableOffset(ImTable* imt, size_t oat_index) REQUIRES_SHARED(Locks::mutator_lock_);
Dimage_writer.cc1675 ImTable* imt = as_klass->GetImt(target_ptr_size_); in RecordNativeRelocations()
1679 for (size_t i = 0; i < ImTable::kSize; ++i) { in RecordNativeRelocations()
1711 bool ImageWriter::TryAssignImTableOffset(ImTable* imt, size_t oat_index) { in TryAssignImTableOffset()
1718 const size_t size = ImTable::SizeInBytes(target_ptr_size_); in TryAssignImTableOffset()
2769 void ImageWriter::CopyAndFixupImTable(ImTable* orig, ImTable* copy) { in CopyAndFixupImTable()
2770 for (size_t i = 0; i < ImTable::kSize; ++i) { in CopyAndFixupImTable()
2841 ImTable* orig_imt = reinterpret_cast<ImTable*>(pair.first); in CopyAndFixupNativeData()
2842 ImTable* dest_imt = reinterpret_cast<ImTable*>(dest); in CopyAndFixupNativeData()
/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()
1161 FixupNativePointer<ImTable*, kVerifyFlags>( in FixupNativePointers()
Dclass.h58 class ImTable; variable
862 ImTable* GetImt(PointerSize pointer_size) REQUIRES_SHARED(Locks::mutator_lock_);
864 void SetImt(ImTable* imt, PointerSize pointer_size) REQUIRES_SHARED(Locks::mutator_lock_);
1237 ImTable* imt,
Dclass.cc1326 ImTable* imt, in CopyClassVisitor()
1351 ImTable* imt_;
1359 ImTable* imt, in CopyOf()
/art/oatdump/
Doatdump.cc3084 ImTable* im_table = PrepareAndGetImTable(runtime, h_klass, pointer_size, &prepared); in DumpImtStats()
3092 for (size_t imt_index = 0; imt_index != ImTable::kSize; ++imt_index) { in DumpImtStats()
3179 static ImTable* PrepareAndGetImTable(Runtime* runtime, in PrepareAndGetImTable()
3211 ImTable* ret = PrepareAndGetImTable(runtime, h_klass, pointer_size, prepared); in PrepareAndGetImTable()
3216 static ImTable* PrepareAndGetImTable(Runtime* runtime, in PrepareAndGetImTable()
3232 ImTable* imt = PrepareAndGetImTable(runtime, in DumpIMTForClass()
3244 for (size_t index = 0; index < ImTable::kSize; ++index) { in DumpIMTForClass()
3269 ImTable::GetImtHashComponents(&iface_method, &class_hash, &name_hash, &signature_hash); in DumpIMTForClass()
3270 uint32_t imt_slot = ImTable::GetImtIndex(&iface_method); in DumpIMTForClass()
3291 ImTable* imt = PrepareAndGetImTable(runtime, in DumpIMTForMethod()
[all …]
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc2390 ImTable* imt = cls->GetImt(kRuntimePointerSize); in artInvokeInterfaceTrampoline()
/art/compiler/optimizing/
Dinstruction_builder.cc936 *target_method = MethodReference(/*file=*/ nullptr, ImTable::GetImtIndex(resolved_method)); in ResolveMethod()
Dcode_generator_arm64.cc4351 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface()
6610 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitClassTableGet()
Dcode_generator_x86_64.cc2747 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface()
4686 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitClassTableGet()
Dcode_generator_x86.cc2474 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface()
4771 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitClassTableGet()
Dcode_generator_arm_vixl.cc3492 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface()
9678 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitClassTableGet()