Home
last modified time | relevance | path

Searched refs:PointerSize (Results 1 – 25 of 111) sorted by relevance

12345

/art/runtime/
Dimt_conflict_table.h48 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 …]
Dimtable.h43 uint8_t* AddressOfElement(size_t index, PointerSize pointer_size) { in AddressOfElement()
47 ArtMethod* Get(size_t index, PointerSize pointer_size) { in Get()
50 if (pointer_size == PointerSize::k32) { in Get()
59 void Set(size_t index, ArtMethod* method, PointerSize pointer_size) { in Set()
62 if (pointer_size == PointerSize::k32) { in Set()
69 static size_t OffsetOfElement(size_t index, PointerSize pointer_size) { in OffsetOfElement()
73 void Populate(ArtMethod** data, PointerSize pointer_size) { in Populate()
79 constexpr static size_t SizeInBytes(PointerSize pointer_size) { in SizeInBytes()
Dart_method.h84 ArtMethod(ArtMethod* src, PointerSize image_pointer_size) { in ArtMethod()
467 ArtMethod* FindOverriddenMethod(PointerSize pointer_size)
485 const void* GetEntryPointFromQuickCompiledCodePtrSize(PointerSize pointer_size) const { in GetEntryPointFromQuickCompiledCodePtrSize()
496 const void* entry_point_from_quick_compiled_code, PointerSize pointer_size) in SetEntryPointFromQuickCompiledCodePtrSize()
505 static constexpr MemberOffset DataOffset(PointerSize pointer_size) { in DataOffset()
510 static constexpr MemberOffset EntryPointFromJniOffset(PointerSize pointer_size) { in EntryPointFromJniOffset()
514 static constexpr MemberOffset EntryPointFromQuickCompiledCodeOffset(PointerSize pointer_size) { in EntryPointFromQuickCompiledCodeOffset()
520 ImtConflictTable* GetImtConflictTable(PointerSize pointer_size) const { in GetImtConflictTable()
525 ALWAYS_INLINE void SetImtConflictTable(ImtConflictTable* table, PointerSize pointer_size) in SetImtConflictTable()
551 ArtMethod* GetCanonicalMethod(PointerSize pointer_size = kRuntimePointerSize)
[all …]
Dcha.h121 PointerSize pointer_size)
135 PointerSize pointer_size)
149 PointerSize pointer_size)
162 PointerSize pointer_size)
Doffsets.h61 template<PointerSize pointer_size>
67 using ThreadOffset32 = ThreadOffset<PointerSize::k32>;
68 using ThreadOffset64 = ThreadOffset<PointerSize::k64>;
Dthread.h215 template<PointerSize size_of_pointers>
678 template<PointerSize pointer_size>
685 template<PointerSize pointer_size>
692 template<PointerSize pointer_size>
699 template<PointerSize pointer_size>
706 template<PointerSize pointer_size>
713 template<PointerSize pointer_size>
728 template<PointerSize pointer_size>
739 template<PointerSize pointer_size>
747 PointerSize pointer_size) { in QuickEntryPointOffsetWithSize()
[all …]
/art/libartbase/base/
Denums.h25 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;
Denums.cc23 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/
Dthread_arm64.cc27 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/
Dthread_arm.cc27 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()
Djni_frame_arm.h30 constexpr size_t kFramePointerSize = static_cast<size_t>(PointerSize::k32);
31 static_assert(kArmPointerSize == PointerSize::k32, "Unexpected ARM pointer size");
/art/runtime/mirror/
Dmethod.cc28 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>(
Dclass.h62 enum class PointerSize : size_t;
566 PointerSize pointer_size);
569 static uint32_t ClassClassSize(PointerSize pointer_size) { in ClassClassSize()
576 static uint32_t PrimitiveClassSize(PointerSize pointer_size) { in PrimitiveClassSize()
705 ALWAYS_INLINE ArraySlice<ArtMethod> GetDirectMethods(PointerSize pointer_size)
715 ALWAYS_INLINE ArraySlice<ArtMethod> GetMethods(PointerSize pointer_size)
729 ALWAYS_INLINE ArraySlice<ArtMethod> GetDirectMethodsSlice(PointerSize pointer_size)
732 ALWAYS_INLINE ArtMethod* GetDirectMethod(size_t i, PointerSize pointer_size)
736 ALWAYS_INLINE ArtMethod* GetDirectMethodUnchecked(size_t i, PointerSize pointer_size)
738 ALWAYS_INLINE ArtMethod* GetVirtualMethodUnchecked(size_t i, PointerSize pointer_size)
[all …]
Dexecutable.cc25 template <PointerSize kPointerSize>
41 template void Executable::InitializeFromArtMethod<PointerSize::k32>(ArtMethod* method);
42 template void Executable::InitializeFromArtMethod<PointerSize::k64>(ArtMethod* method);
Darray-inl.h34 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 …]
Dclass-inl.h133 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 …]
Darray.h41 static uint32_t ClassSize(PointerSize pointer_size);
233 T GetElementPtrSize(uint32_t idx, PointerSize ptr_size)
235 template<typename T, PointerSize kPtrSize, VerifyObjectFlags kVerifyFlags = kVerifyNone>
241 template<typename T, PointerSize kPtrSize, VerifyObjectFlags kVerifyFlags = kVerifyNone>
246 void** ElementAddress(size_t index, PointerSize ptr_size) REQUIRES_SHARED(Locks::mutator_lock_) { in ElementAddress()
254 void SetElementPtrSize(uint32_t idx, uint64_t element, PointerSize ptr_size)
260 void SetElementPtrSize(uint32_t idx, T* element, PointerSize ptr_size)
266 void Fixup(ObjPtr<mirror::PointerArray> dest, PointerSize pointer_size, const Visitor& visitor)
277 PointerSize pointer_size)
Dmethod.h35 template <PointerSize kPointerSize>
48 template <PointerSize kPointerSize>
/art/libartbase/arch/
Dinstruction_set.h52 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;
84 constexpr PointerSize GetInstructionSetPointerSize(InstructionSet isa) { in GetInstructionSetPointerSize()
156 constexpr PointerSize InstructionSetPointerSize(InstructionSet isa) { in InstructionSetPointerSize()
157 return Is64BitInstructionSet(isa) ? PointerSize::k64 : PointerSize::k32; in InstructionSetPointerSize()
/art/dex2oat/linker/
Dindex_bss_mapping_encoder_test.cc26 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/
Djni_macro_assembler.cc40 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/
Dart_method.def41 art::ArtMethod::EntryPointFromJniOffset(art::PointerSize::k32).Int32Value())
43 art::ArtMethod::EntryPointFromJniOffset(art::PointerSize::k64).Int32Value())
45 art::ArtMethod::DataOffset(art::PointerSize::k32).Int32Value())
47 art::ArtMethod::DataOffset(art::PointerSize::k64).Int32Value())
49 … art::ArtMethod::EntryPointFromQuickCompiledCodeOffset(art::PointerSize::k32).Int32Value())
51 … art::ArtMethod::EntryPointFromQuickCompiledCodeOffset(art::PointerSize::k64).Int32Value())
Dmirror_class.def40 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/
Dthread_x86.cc140 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()
Djni_frame_x86.h30 constexpr size_t kFramePointerSize = static_cast<size_t>(PointerSize::k32);
31 static_assert(kX86PointerSize == PointerSize::k32, "Unexpected x86 pointer size");

12345