/art/runtime/ |
D | imtable-inl.h | 36 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()
|
D | imtable_test.cc | 94 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()
|
D | imtable.h | 31 class ImTable {
|
D | runtime_image.cc | 833 ImTable* im_table = reinterpret_cast<ImTable*>(im_tables_.data() + entry.second.second); in RelocateNativePointers() 843 void RelocateImTable(ImTable* im_table, const NativePointerVisitor& visitor) { in RelocateImTable() 844 for (size_t i = 0; i < ImTable::kSize; ++i) { in RelocateImTable() 988 ImTable* table = cls->GetImt(kRuntimePointerSize); in CopyImTable() 994 const size_t size = ImTable::SizeInBytes(kRuntimePointerSize); in CopyImTable()
|
D | art_method-inl.h | 789 return ImTable::GetImtIndex(this); 795 imt_index_ = ImTable::GetImtIndex(this);
|
D | class_linker.cc | 2007 ImTable* imt = klass->GetImt(kPointerSize); in CheckObjects() 2008 for (size_t i = 0; i < ImTable::kSize; ++i) { in CheckObjects() 2823 ImTable* object_imt = java_lang_Object->GetImt(image_pointer_size_); in FinishArrayClassSetup() 6309 ArtMethod* imt_data[ImTable::kSize]; in LinkClass() 6326 ImTable* imt = nullptr; in LinkClass() 6334 ImTable* super_imt = klass->FindSuperImt(image_pointer_size_); in LinkClass() 6337 for (size_t i = 0; i < ImTable::kSize && imt_equals; ++i) { in LinkClass() 6347 imt = reinterpret_cast<ImTable*>( in LinkClass() 6349 ImTable::SizeInBytes(image_pointer_size_), in LinkClass() 6629 ImTable* imt = klass->GetImt(kRuntimePointerSize); in GetImtOwner() [all …]
|
D | class_linker_test.cc | 170 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/runtime/oat/ |
D | image-inl.h | 92 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()
|
/art/dex2oat/linker/ |
D | image_writer.h | 71 class ImTable; variable 474 void CopyAndFixupImTable(ImTable* orig, ImTable* copy) 516 bool TryAssignImTableOffset(ImTable* imt, size_t oat_index) REQUIRES_SHARED(Locks::mutator_lock_);
|
D | image_writer.cc | 1493 ImTable* imt = klass->GetImt(target_ptr_size_); in RecordNativeRelocations() 1497 for (size_t i = 0; i < ImTable::kSize; ++i) { in RecordNativeRelocations() 1514 bool ImageWriter::TryAssignImTableOffset(ImTable* imt, size_t oat_index) { in TryAssignImTableOffset() 1521 const size_t size = ImTable::SizeInBytes(target_ptr_size_); in TryAssignImTableOffset() 2932 void ImageWriter::CopyAndFixupImTable(ImTable* orig, ImTable* copy) { in CopyAndFixupImTable() 2933 for (size_t i = 0; i < ImTable::kSize; ++i) { in CopyAndFixupImTable() 3003 ImTable* orig_imt = reinterpret_cast<ImTable*>(pair.first); in CopyAndFixupNativeData() 3004 ImTable* dest_imt = reinterpret_cast<ImTable*>(dest); in CopyAndFixupNativeData()
|
/art/tools/cpp-define-generator/ |
D | art_method.def | 41 art::ImTable::kSizeTruncToPowerOfTwo - 1)
|
/art/runtime/mirror/ |
D | class-inl.h | 354 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() 1147 FixupNativePointer<ImTable*, kVerifyFlags>( in FixupNativePointers() 1223 inline ImTable* Class::FindSuperImt(PointerSize pointer_size) { in FindSuperImt()
|
D | class.h | 58 class ImTable; variable 879 ImTable* GetImt(PointerSize pointer_size) REQUIRES_SHARED(Locks::mutator_lock_); 881 void SetImt(ImTable* imt, PointerSize pointer_size) REQUIRES_SHARED(Locks::mutator_lock_); 883 ImTable* FindSuperImt(PointerSize pointer_size) REQUIRES_SHARED(Locks::mutator_lock_); 1274 ImTable* imt,
|
D | class.cc | 1645 ImTable* imt, in CopyClassVisitor() 1670 ImTable* imt_; 1678 ImTable* imt, in CopyOf()
|
/art/oatdump/ |
D | oatdump.cc | 2804 ImTable* im_table = PrepareAndGetImTable(runtime, h_klass, pointer_size, &prepared); in DumpImtStats() 2812 for (size_t imt_index = 0; imt_index != ImTable::kSize; ++imt_index) { in DumpImtStats() 2899 static ImTable* PrepareAndGetImTable(Runtime* runtime, in PrepareAndGetImTable() 2931 ImTable* ret = PrepareAndGetImTable(runtime, h_klass, pointer_size, prepared); in PrepareAndGetImTable() 2936 static ImTable* PrepareAndGetImTable(Runtime* runtime, in PrepareAndGetImTable() 2952 ImTable* imt = PrepareAndGetImTable(runtime, in DumpIMTForClass() 2964 for (size_t index = 0; index < ImTable::kSize; ++index) { in DumpIMTForClass() 2989 ImTable::GetImtHashComponents(&iface_method, &class_hash, &name_hash, &signature_hash); in DumpIMTForClass() 2990 uint32_t imt_slot = ImTable::GetImtIndex(&iface_method); in DumpIMTForClass() 3011 ImTable* imt = PrepareAndGetImTable(runtime, in DumpIMTForMethod() [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 2277 ImTable* imt = cls->GetImt(kRuntimePointerSize); in artInvokeInterfaceTrampoline()
|
/art/compiler/optimizing/ |
D | instruction_builder.cc | 1004 DCHECK_EQ(*imt_or_vtable_index, ImTable::GetImtIndex(resolved_method)); in ResolveMethod()
|
D | code_generator_arm64.cc | 4798 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface() 7152 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitClassTableGet()
|
D | code_generator_riscv64.cc | 3437 ImTable::OffsetOfElement(instruction->GetIndex(), kRiscv64PointerSize)); in VisitClassTableGet() 4166 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface()
|
D | code_generator_x86_64.cc | 3230 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface() 5175 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitClassTableGet()
|
D | code_generator_x86.cc | 2936 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface() 5237 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitClassTableGet()
|
D | code_generator_arm_vixl.cc | 3758 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface() 10174 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitClassTableGet()
|