/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 | 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()
|
D | imtable.h | 31 class ImTable {
|
D | runtime_image.cc | 824 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()
|
D | art_method-inl.h | 785 return ImTable::GetImtIndex(this); 791 imt_index_ = ImTable::GetImtIndex(this);
|
D | class_linker.cc | 1936 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 …]
|
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/dex2oat/linker/ |
D | image_writer.h | 70 class ImTable; variable 484 void CopyAndFixupImTable(ImTable* orig, ImTable* copy) 522 bool TryAssignImTableOffset(ImTable* imt, size_t oat_index) REQUIRES_SHARED(Locks::mutator_lock_);
|
D | image_writer.cc | 1257 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/ |
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() 1140 FixupNativePointer<ImTable*, kVerifyFlags>( in FixupNativePointers() 1198 inline ImTable* Class::FindSuperImt(PointerSize pointer_size) { in FindSuperImt()
|
D | class.h | 58 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,
|
D | class.cc | 1641 ImTable* imt, in CopyClassVisitor() 1666 ImTable* imt_; 1674 ImTable* imt, in CopyOf()
|
/art/oatdump/ |
D | oatdump.cc | 2783 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/ |
D | quick_trampoline_entrypoints.cc | 2266 ImTable* imt = cls->GetImt(kRuntimePointerSize); in artInvokeInterfaceTrampoline()
|
/art/compiler/optimizing/ |
D | instruction_builder.cc | 995 DCHECK_EQ(*imt_or_vtable_index, ImTable::GetImtIndex(resolved_method)); in ResolveMethod()
|
D | code_generator_arm64.cc | 4649 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()
|
D | code_generator_x86_64.cc | 3060 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()
|
D | code_generator_x86.cc | 2814 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()
|
D | code_generator_arm_vixl.cc | 3673 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()
|