/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 | 41 uint8_t* AddressOfElement(size_t index, PointerSize pointer_size) { in AddressOfElement() 45 ArtMethod* Get(size_t index, PointerSize pointer_size) { in Get() 48 if (pointer_size == PointerSize::k32) { in Get() 57 void Set(size_t index, ArtMethod* method, PointerSize pointer_size) { in Set() 60 if (pointer_size == PointerSize::k32) { in Set() 67 static size_t OffsetOfElement(size_t index, PointerSize pointer_size) { in OffsetOfElement() 71 void Populate(ArtMethod** data, PointerSize pointer_size) { in Populate() 77 constexpr static size_t SizeInBytes(PointerSize pointer_size) { in SizeInBytes()
|
D | art_method.h | 82 ArtMethod(ArtMethod* src, PointerSize image_pointer_size) { in ArtMethod() 410 ArtMethod* FindOverriddenMethod(PointerSize pointer_size) 427 ALWAYS_INLINE const void* GetEntryPointFromQuickCompiledCodePtrSize(PointerSize pointer_size) { in GetEntryPointFromQuickCompiledCodePtrSize() 437 const void* entry_point_from_quick_compiled_code, PointerSize pointer_size) { in SetEntryPointFromQuickCompiledCodePtrSize() 452 static constexpr MemberOffset DataOffset(PointerSize pointer_size) { in DataOffset() 457 static constexpr MemberOffset EntryPointFromJniOffset(PointerSize pointer_size) { in EntryPointFromJniOffset() 461 static constexpr MemberOffset EntryPointFromQuickCompiledCodeOffset(PointerSize pointer_size) { in EntryPointFromQuickCompiledCodeOffset() 467 ImtConflictTable* GetImtConflictTable(PointerSize pointer_size) { in GetImtConflictTable() 472 ALWAYS_INLINE void SetImtConflictTable(ImtConflictTable* table, PointerSize pointer_size) { in SetImtConflictTable() 477 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 | 55 template<PointerSize pointer_size> 61 using ThreadOffset32 = ThreadOffset<PointerSize::k32>; 62 using ThreadOffset64 = ThreadOffset<PointerSize::k64>;
|
D | thread.h | 213 template<PointerSize size_of_pointers> 647 template<PointerSize pointer_size> 654 template<PointerSize pointer_size> 661 template<PointerSize pointer_size> 668 template<PointerSize pointer_size> 675 template<PointerSize pointer_size> 690 template<PointerSize pointer_size> 702 PointerSize pointer_size) { in QuickEntryPointOffsetWithSize() 703 if (pointer_size == PointerSize::k32) { in QuickEntryPointOffsetWithSize() 704 return QuickEntryPointOffset<PointerSize::k32>(quick_entrypoint_offset). in QuickEntryPointOffsetWithSize() [all …]
|
/art/runtime/mirror/ |
D | method.cc | 28 template <PointerSize kPointerSize, bool kTransactionActive> 38 template ObjPtr<Method> Method::CreateFromArtMethod<PointerSize::k32, false>( 40 template ObjPtr<Method> Method::CreateFromArtMethod<PointerSize::k32, true>( 42 template ObjPtr<Method> Method::CreateFromArtMethod<PointerSize::k64, false>( 44 template ObjPtr<Method> Method::CreateFromArtMethod<PointerSize::k64, true>( 47 template <PointerSize kPointerSize, bool kTransactionActive> 58 template ObjPtr<Constructor> Constructor::CreateFromArtMethod<PointerSize::k32, false>( 60 template ObjPtr<Constructor> Constructor::CreateFromArtMethod<PointerSize::k32, true>( 62 template ObjPtr<Constructor> Constructor::CreateFromArtMethod<PointerSize::k64, false>( 64 template ObjPtr<Constructor> Constructor::CreateFromArtMethod<PointerSize::k64, true>(
|
D | executable.cc | 25 template <PointerSize kPointerSize, bool kTransactionActive> 37 template bool Executable::CreateFromArtMethod<PointerSize::k32, false>(ArtMethod* method); 38 template bool Executable::CreateFromArtMethod<PointerSize::k32, true>(ArtMethod* method); 39 template bool Executable::CreateFromArtMethod<PointerSize::k64, false>(ArtMethod* method); 40 template bool Executable::CreateFromArtMethod<PointerSize::k64, true>(ArtMethod* method);
|
D | class.h | 56 enum class PointerSize : size_t; 500 PointerSize pointer_size); 503 static uint32_t ClassClassSize(PointerSize pointer_size) { in ClassClassSize() 510 static uint32_t PrimitiveClassSize(PointerSize pointer_size) { in PrimitiveClassSize() 635 ALWAYS_INLINE ArraySlice<ArtMethod> GetDirectMethods(PointerSize pointer_size) 645 ALWAYS_INLINE ArraySlice<ArtMethod> GetMethods(PointerSize pointer_size) 659 ALWAYS_INLINE ArraySlice<ArtMethod> GetDirectMethodsSlice(PointerSize pointer_size) 662 ALWAYS_INLINE ArtMethod* GetDirectMethod(size_t i, PointerSize pointer_size) 666 ALWAYS_INLINE ArtMethod* GetDirectMethodUnchecked(size_t i, PointerSize pointer_size) 668 ALWAYS_INLINE ArtMethod* GetVirtualMethodUnchecked(size_t i, PointerSize pointer_size) [all …]
|
D | array-inl.h | 33 inline uint32_t Array::ClassSize(PointerSize pointer_size) { in ClassSize() 228 template<typename T, PointerSize kPointerSize, VerifyObjectFlags kVerifyFlags> 232 if (kPointerSize == PointerSize::k64) { in GetElementPtrSize() 237 template<typename T, PointerSize kPointerSize, VerifyObjectFlags kVerifyFlags> 241 if (kPointerSize == PointerSize::k64) { in GetElementPtrSizeUnchecked() 247 inline T PointerArray::GetElementPtrSize(uint32_t idx, PointerSize ptr_size) { in GetElementPtrSize() 248 if (ptr_size == PointerSize::k64) { in GetElementPtrSize() 249 return GetElementPtrSize<T, PointerSize::k64, kVerifyFlags>(idx); in GetElementPtrSize() 251 return GetElementPtrSize<T, PointerSize::k32, kVerifyFlags>(idx); in GetElementPtrSize() 255 inline void PointerArray::SetElementPtrSize(uint32_t idx, uint64_t element, PointerSize ptr_size) { in SetElementPtrSize() [all …]
|
D | class-inl.h | 131 inline ArraySlice<ArtMethod> Class::GetDirectMethodsSlice(PointerSize pointer_size) { in GetDirectMethodsSlice() 136 inline ArraySlice<ArtMethod> Class::GetDirectMethodsSliceUnchecked(PointerSize pointer_size) { in GetDirectMethodsSliceUnchecked() 144 inline ArraySlice<ArtMethod> Class::GetDeclaredMethodsSlice(PointerSize pointer_size) { in GetDeclaredMethodsSlice() 149 inline ArraySlice<ArtMethod> Class::GetDeclaredMethodsSliceUnchecked(PointerSize pointer_size) { in GetDeclaredMethodsSliceUnchecked() 157 inline ArraySlice<ArtMethod> Class::GetDeclaredVirtualMethodsSlice(PointerSize pointer_size) { in GetDeclaredVirtualMethodsSlice() 163 PointerSize pointer_size) { in GetDeclaredVirtualMethodsSliceUnchecked() 171 inline ArraySlice<ArtMethod> Class::GetVirtualMethodsSlice(PointerSize pointer_size) { in GetVirtualMethodsSlice() 176 inline ArraySlice<ArtMethod> Class::GetVirtualMethodsSliceUnchecked(PointerSize pointer_size) { in GetVirtualMethodsSliceUnchecked() 185 inline ArraySlice<ArtMethod> Class::GetCopiedMethodsSlice(PointerSize pointer_size) { in GetCopiedMethodsSlice() 190 inline ArraySlice<ArtMethod> Class::GetCopiedMethodsSliceUnchecked(PointerSize pointer_size) { in GetCopiedMethodsSliceUnchecked() [all …]
|
D | array.h | 38 static uint32_t ClassSize(PointerSize pointer_size); 221 T GetElementPtrSize(uint32_t idx, PointerSize ptr_size) 223 template<typename T, PointerSize kPtrSize, VerifyObjectFlags kVerifyFlags = kVerifyNone> 229 template<typename T, PointerSize kPtrSize, VerifyObjectFlags kVerifyFlags = kVerifyNone> 234 void** ElementAddress(size_t index, PointerSize ptr_size) REQUIRES_SHARED(Locks::mutator_lock_) { in ElementAddress() 242 void SetElementPtrSize(uint32_t idx, uint64_t element, PointerSize ptr_size) 245 void SetElementPtrSize(uint32_t idx, T* element, PointerSize ptr_size) 251 void Fixup(ObjPtr<mirror::PointerArray> dest, PointerSize pointer_size, const Visitor& visitor) 262 PointerSize pointer_size)
|
/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/libartbase/arch/ |
D | instruction_set.h | 58 static constexpr PointerSize kArmPointerSize = PointerSize::k32; 59 static constexpr PointerSize kArm64PointerSize = PointerSize::k64; 60 static constexpr PointerSize kMipsPointerSize = PointerSize::k32; 61 static constexpr PointerSize kMips64PointerSize = PointerSize::k64; 62 static constexpr PointerSize kX86PointerSize = PointerSize::k32; 63 static constexpr PointerSize kX86_64PointerSize = PointerSize::k64; 95 constexpr PointerSize GetInstructionSetPointerSize(InstructionSet isa) { in GetInstructionSetPointerSize() 179 constexpr PointerSize InstructionSetPointerSize(InstructionSet isa) { in InstructionSetPointerSize() 180 return Is64BitInstructionSet(isa) ? PointerSize::k64 : PointerSize::k32; in InstructionSetPointerSize()
|
/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/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/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/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/runtime/arch/mips/ |
D | thread_mips.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()
|
/art/runtime/arch/mips64/ |
D | thread_mips64.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()
|
/art/compiler/utils/ |
D | jni_macro_assembler.cc | 46 using MacroAsm32UniquePtr = std::unique_ptr<JNIMacroAssembler<PointerSize::k32>>; 49 MacroAsm32UniquePtr JNIMacroAssembler<PointerSize::k32>::Create( in Create() 81 using MacroAsm64UniquePtr = std::unique_ptr<JNIMacroAssembler<PointerSize::k64>>; 84 MacroAsm64UniquePtr JNIMacroAssembler<PointerSize::k64>::Create( in Create()
|
/art/tools/cpp-define-generator/ |
D | art_method.def | 26 art::ArtMethod::EntryPointFromJniOffset(art::PointerSize::k32).Int32Value()) 28 art::ArtMethod::EntryPointFromJniOffset(art::PointerSize::k64).Int32Value()) 30 … art::ArtMethod::EntryPointFromQuickCompiledCodeOffset(art::PointerSize::k32).Int32Value()) 32 … art::ArtMethod::EntryPointFromQuickCompiledCodeOffset(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()
|