/art/runtime/ |
D | imt_conflict_table.h | 48 PointerSize pointer_size) { in ImtConflictTable() 62 ImtConflictTable(size_t num_entries, PointerSize pointer_size) { in ImtConflictTable() 68 void SetInterfaceMethod(size_t index, PointerSize pointer_size, ArtMethod* method) { in SetInterfaceMethod() 72 void SetImplementationMethod(size_t index, PointerSize pointer_size, ArtMethod* method) { in SetImplementationMethod() 76 ArtMethod* GetInterfaceMethod(size_t index, PointerSize pointer_size) const { in GetInterfaceMethod() 80 ArtMethod* GetImplementationMethod(size_t index, PointerSize pointer_size) const { in GetImplementationMethod() 84 void** AddressOfInterfaceMethod(size_t index, PointerSize pointer_size) { in AddressOfInterfaceMethod() 88 void** AddressOfImplementationMethod(size_t index, PointerSize pointer_size) { in AddressOfImplementationMethod() 93 bool Equals(ImtConflictTable* other, PointerSize pointer_size) const { in Equals() 112 void Visit(const Visitor& visitor, PointerSize pointer_size) NO_THREAD_SAFETY_ANALYSIS { in Visit() [all …]
|
D | imtable.h | 38 uint8_t* AddressOfElement(size_t index, PointerSize pointer_size) { in AddressOfElement() 42 ArtMethod* Get(size_t index, PointerSize pointer_size) { in Get() 45 if (pointer_size == PointerSize::k32) { in Get() 54 void Set(size_t index, ArtMethod* method, PointerSize pointer_size) { in Set() 57 if (pointer_size == PointerSize::k32) { in Set() 64 static size_t OffsetOfElement(size_t index, PointerSize pointer_size) { in OffsetOfElement() 68 void Populate(ArtMethod** data, PointerSize pointer_size) { in Populate() 74 constexpr static size_t SizeInBytes(PointerSize pointer_size) { in SizeInBytes()
|
D | art_method.h | 84 ArtMethod(ArtMethod* src, PointerSize image_pointer_size) { in ArtMethod() 454 ArtMethod* FindOverriddenMethod(PointerSize pointer_size) 472 const void* GetEntryPointFromQuickCompiledCodePtrSize(PointerSize pointer_size) const { in GetEntryPointFromQuickCompiledCodePtrSize() 483 const void* entry_point_from_quick_compiled_code, PointerSize pointer_size) in SetEntryPointFromQuickCompiledCodePtrSize() 492 static constexpr MemberOffset DataOffset(PointerSize pointer_size) { in DataOffset() 497 static constexpr MemberOffset EntryPointFromJniOffset(PointerSize pointer_size) { in EntryPointFromJniOffset() 501 static constexpr MemberOffset EntryPointFromQuickCompiledCodeOffset(PointerSize pointer_size) { in EntryPointFromQuickCompiledCodeOffset() 507 ImtConflictTable* GetImtConflictTable(PointerSize pointer_size) const { in GetImtConflictTable() 512 ALWAYS_INLINE void SetImtConflictTable(ImtConflictTable* table, PointerSize pointer_size) in SetImtConflictTable() 518 ProfilingInfo* GetProfilingInfo(PointerSize pointer_size) REQUIRES_SHARED(Locks::mutator_lock_) { in GetProfilingInfo() [all …]
|
D | cha.h | 121 PointerSize pointer_size) 135 PointerSize pointer_size) 149 PointerSize pointer_size) 162 PointerSize pointer_size)
|
D | offsets.h | 58 template<PointerSize pointer_size> 64 using ThreadOffset32 = ThreadOffset<PointerSize::k32>; 65 using ThreadOffset64 = ThreadOffset<PointerSize::k64>;
|
D | thread.h | 214 template<PointerSize size_of_pointers> 672 template<PointerSize pointer_size> 679 template<PointerSize pointer_size> 686 template<PointerSize pointer_size> 693 template<PointerSize pointer_size> 700 template<PointerSize pointer_size> 715 template<PointerSize pointer_size> 726 template<PointerSize pointer_size> 734 PointerSize pointer_size) { in QuickEntryPointOffsetWithSize() 735 if (pointer_size == PointerSize::k32) { in QuickEntryPointOffsetWithSize() [all …]
|
/art/libartbase/base/ |
D | enums.h | 25 enum class PointerSize : size_t { enum 30 std::ostream& operator<<(std::ostream& os, const PointerSize& rhs); 32 static constexpr PointerSize kRuntimePointerSize = sizeof(void*) == 8U 33 ? PointerSize::k64 34 : PointerSize::k32;
|
D | enums.cc | 23 std::ostream& operator<<(std::ostream& os, const PointerSize& rhs) { in operator <<() 25 case PointerSize::k32: os << "k32"; break; in operator <<() 26 case PointerSize::k64: os << "k64"; break; in operator <<()
|
/art/runtime/arch/arm64/ |
D | thread_arm64.cc | 27 CHECK_EQ(THREAD_FLAGS_OFFSET, ThreadFlagsOffset<PointerSize::k64>().Int32Value()); in InitCpu() 28 CHECK_EQ(THREAD_CARD_TABLE_OFFSET, CardTableOffset<PointerSize::k64>().Int32Value()); in InitCpu() 29 CHECK_EQ(THREAD_EXCEPTION_OFFSET, ExceptionOffset<PointerSize::k64>().Int32Value()); in InitCpu() 30 CHECK_EQ(THREAD_ID_OFFSET, ThinLockIdOffset<PointerSize::k64>().Int32Value()); in InitCpu()
|
/art/runtime/arch/arm/ |
D | thread_arm.cc | 27 CHECK_EQ(THREAD_FLAGS_OFFSET, ThreadFlagsOffset<PointerSize::k32>().Int32Value()); in InitCpu() 28 CHECK_EQ(THREAD_CARD_TABLE_OFFSET, CardTableOffset<PointerSize::k32>().Int32Value()); in InitCpu() 29 CHECK_EQ(THREAD_EXCEPTION_OFFSET, ExceptionOffset<PointerSize::k32>().Int32Value()); in InitCpu() 30 CHECK_EQ(THREAD_ID_OFFSET, ThinLockIdOffset<PointerSize::k32>().Int32Value()); in InitCpu()
|
/art/runtime/mirror/ |
D | method.cc | 28 template <PointerSize kPointerSize> 38 template ObjPtr<Method> Method::CreateFromArtMethod<PointerSize::k32>( 40 template ObjPtr<Method> Method::CreateFromArtMethod<PointerSize::k64>( 43 template <PointerSize kPointerSize> 54 template ObjPtr<Constructor> Constructor::CreateFromArtMethod<PointerSize::k32>( 56 template ObjPtr<Constructor> Constructor::CreateFromArtMethod<PointerSize::k64>(
|
D | executable.cc | 25 template <PointerSize kPointerSize> 41 template void Executable::InitializeFromArtMethod<PointerSize::k32>(ArtMethod* method); 42 template void Executable::InitializeFromArtMethod<PointerSize::k64>(ArtMethod* method);
|
D | class.h | 62 enum class PointerSize : size_t; 564 PointerSize pointer_size); 567 static uint32_t ClassClassSize(PointerSize pointer_size) { in ClassClassSize() 574 static uint32_t PrimitiveClassSize(PointerSize pointer_size) { in PrimitiveClassSize() 703 ALWAYS_INLINE ArraySlice<ArtMethod> GetDirectMethods(PointerSize pointer_size) 713 ALWAYS_INLINE ArraySlice<ArtMethod> GetMethods(PointerSize pointer_size) 727 ALWAYS_INLINE ArraySlice<ArtMethod> GetDirectMethodsSlice(PointerSize pointer_size) 730 ALWAYS_INLINE ArtMethod* GetDirectMethod(size_t i, PointerSize pointer_size) 734 ALWAYS_INLINE ArtMethod* GetDirectMethodUnchecked(size_t i, PointerSize pointer_size) 736 ALWAYS_INLINE ArtMethod* GetVirtualMethodUnchecked(size_t i, PointerSize pointer_size) [all …]
|
D | array-inl.h | 34 inline uint32_t Array::ClassSize(PointerSize pointer_size) { in ClassSize() 229 template<typename T, PointerSize kPointerSize, VerifyObjectFlags kVerifyFlags> 231 if (kPointerSize == PointerSize::k64) { in GetElementPtrSize() 239 template<typename T, PointerSize kPointerSize, VerifyObjectFlags kVerifyFlags> 244 if (kPointerSize == PointerSize::k64) { in GetElementPtrSizeUnchecked() 256 inline T PointerArray::GetElementPtrSize(uint32_t idx, PointerSize ptr_size) { in GetElementPtrSize() 257 if (ptr_size == PointerSize::k64) { in GetElementPtrSize() 258 return GetElementPtrSize<T, PointerSize::k64, kVerifyFlags>(idx); in GetElementPtrSize() 260 return GetElementPtrSize<T, PointerSize::k32, kVerifyFlags>(idx); in GetElementPtrSize() 264 inline void PointerArray::SetElementPtrSize(uint32_t idx, uint64_t element, PointerSize ptr_size) { in SetElementPtrSize() [all …]
|
D | class-inl.h | 133 inline ArraySlice<ArtMethod> Class::GetDirectMethodsSlice(PointerSize pointer_size) { in GetDirectMethodsSlice() 138 inline ArraySlice<ArtMethod> Class::GetDirectMethodsSliceUnchecked(PointerSize pointer_size) { in GetDirectMethodsSliceUnchecked() 146 inline ArraySlice<ArtMethod> Class::GetDeclaredMethodsSlice(PointerSize pointer_size) { in GetDeclaredMethodsSlice() 151 inline ArraySlice<ArtMethod> Class::GetDeclaredMethodsSliceUnchecked(PointerSize pointer_size) { in GetDeclaredMethodsSliceUnchecked() 159 inline ArraySlice<ArtMethod> Class::GetDeclaredVirtualMethodsSlice(PointerSize pointer_size) { in GetDeclaredVirtualMethodsSlice() 165 PointerSize pointer_size) { in GetDeclaredVirtualMethodsSliceUnchecked() 173 inline ArraySlice<ArtMethod> Class::GetVirtualMethodsSlice(PointerSize pointer_size) { in GetVirtualMethodsSlice() 178 inline ArraySlice<ArtMethod> Class::GetVirtualMethodsSliceUnchecked(PointerSize pointer_size) { in GetVirtualMethodsSliceUnchecked() 187 inline ArraySlice<ArtMethod> Class::GetCopiedMethodsSlice(PointerSize pointer_size) { in GetCopiedMethodsSlice() 192 inline ArraySlice<ArtMethod> Class::GetCopiedMethodsSliceUnchecked(PointerSize pointer_size) { in GetCopiedMethodsSliceUnchecked() [all …]
|
D | method.h | 33 template <PointerSize kPointerSize> 44 template <PointerSize kPointerSize>
|
D | array.h | 41 static uint32_t ClassSize(PointerSize pointer_size); 224 T GetElementPtrSize(uint32_t idx, PointerSize ptr_size) 226 template<typename T, PointerSize kPtrSize, VerifyObjectFlags kVerifyFlags = kVerifyNone> 232 template<typename T, PointerSize kPtrSize, VerifyObjectFlags kVerifyFlags = kVerifyNone> 237 void** ElementAddress(size_t index, PointerSize ptr_size) REQUIRES_SHARED(Locks::mutator_lock_) { in ElementAddress() 245 void SetElementPtrSize(uint32_t idx, uint64_t element, PointerSize ptr_size) 251 void SetElementPtrSize(uint32_t idx, T* element, PointerSize ptr_size) 257 void Fixup(ObjPtr<mirror::PointerArray> dest, PointerSize pointer_size, const Visitor& visitor) 268 PointerSize pointer_size)
|
/art/runtime/utils/ |
D | dex_cache_arrays_layout.h | 45 DexCacheArraysLayout(PointerSize pointer_size, 50 DexCacheArraysLayout(PointerSize pointer_size, const DexFile* dex_file); 62 static constexpr size_t Alignment(PointerSize pointer_size); 122 const PointerSize pointer_size_; // Must be first for construction initialization order. 130 static size_t ElementOffset(PointerSize element_size, uint32_t idx); 132 static size_t ArraySize(PointerSize element_size, uint32_t num_elements); 133 static size_t PairArraySize(PointerSize element_size, uint32_t num_elements);
|
D | dex_cache_arrays_layout-inl.h | 32 inline DexCacheArraysLayout::DexCacheArraysLayout(PointerSize pointer_size, in DexCacheArraysLayout() 51 inline DexCacheArraysLayout::DexCacheArraysLayout(PointerSize pointer_size, const DexFile* dex_file) in DexCacheArraysLayout() 59 inline constexpr size_t DexCacheArraysLayout::Alignment(PointerSize pointer_size) { in Alignment() 73 constexpr PointerSize GcRootAsPointerSize() { in GcRootAsPointerSize() 75 return PointerSize::k32; in GcRootAsPointerSize() 79 return types_offset_ + ElementOffset(PointerSize::k64, in TypeOffset() 113 return strings_offset_ + ElementOffset(PointerSize::k64, string_hash); in StringOffset() 153 return ArraySize(PointerSize::k64, cache_size); in MethodTypesSize() 170 inline size_t DexCacheArraysLayout::ElementOffset(PointerSize element_size, uint32_t idx) { in ElementOffset() 174 inline size_t DexCacheArraysLayout::ArraySize(PointerSize element_size, uint32_t num_elements) { in ArraySize() [all …]
|
/art/libartbase/arch/ |
D | instruction_set.h | 52 static constexpr PointerSize kArmPointerSize = PointerSize::k32; 53 static constexpr PointerSize kArm64PointerSize = PointerSize::k64; 54 static constexpr PointerSize kX86PointerSize = PointerSize::k32; 55 static constexpr PointerSize kX86_64PointerSize = PointerSize::k64; 81 constexpr PointerSize GetInstructionSetPointerSize(InstructionSet isa) { in GetInstructionSetPointerSize() 153 constexpr PointerSize InstructionSetPointerSize(InstructionSet isa) { in InstructionSetPointerSize() 154 return Is64BitInstructionSet(isa) ? PointerSize::k64 : PointerSize::k32; in InstructionSetPointerSize()
|
/art/dex2oat/linker/ |
D | index_bss_mapping_encoder_test.cc | 26 for (PointerSize pointer_size : {PointerSize::k32, PointerSize::k64}) { in TEST() 52 for (PointerSize pointer_size : {PointerSize::k32, PointerSize::k64}) { in TEST() 78 for (PointerSize pointer_size : {PointerSize::k32, PointerSize::k64}) { in TEST()
|
/art/compiler/utils/ |
D | jni_macro_assembler.cc | 40 using MacroAsm32UniquePtr = std::unique_ptr<JNIMacroAssembler<PointerSize::k32>>; 43 MacroAsm32UniquePtr JNIMacroAssembler<PointerSize::k32>::Create( in Create() 66 using MacroAsm64UniquePtr = std::unique_ptr<JNIMacroAssembler<PointerSize::k64>>; 69 MacroAsm64UniquePtr JNIMacroAssembler<PointerSize::k64>::Create( in Create()
|
/art/tools/cpp-define-generator/ |
D | art_method.def | 28 art::ArtMethod::EntryPointFromJniOffset(art::PointerSize::k32).Int32Value()) 30 art::ArtMethod::EntryPointFromJniOffset(art::PointerSize::k64).Int32Value()) 32 … art::ArtMethod::EntryPointFromQuickCompiledCodeOffset(art::PointerSize::k32).Int32Value()) 34 … art::ArtMethod::EntryPointFromQuickCompiledCodeOffset(art::PointerSize::k64).Int32Value())
|
D | mirror_class.def | 40 art::mirror::Class::EmbeddedVTableOffset(art::PointerSize::k32).Int32Value()) 42 art::mirror::Class::EmbeddedVTableOffset(art::PointerSize::k64).Int32Value()) 44 art::mirror::Class::ImtPtrOffset(art::PointerSize::k32).Int32Value()) 46 art::mirror::Class::ImtPtrOffset(art::PointerSize::k64).Int32Value())
|
/art/runtime/arch/x86/ |
D | thread_x86.cc | 140 CHECK_EQ(THREAD_SELF_OFFSET, SelfOffset<PointerSize::k32>().Int32Value()); in InitCpu() 148 CHECK_EQ(THREAD_EXCEPTION_OFFSET, ExceptionOffset<PointerSize::k32>().Int32Value()); in InitCpu() 149 CHECK_EQ(THREAD_CARD_TABLE_OFFSET, CardTableOffset<PointerSize::k32>().Int32Value()); in InitCpu() 150 CHECK_EQ(THREAD_ID_OFFSET, ThinLockIdOffset<PointerSize::k32>().Int32Value()); in InitCpu()
|