Home
last modified time | relevance | path

Searched refs:PointerSize (Results 1 – 25 of 115) 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.h38 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()
Dart_method.h84 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 …]
Dcha.h121 PointerSize pointer_size)
135 PointerSize pointer_size)
149 PointerSize pointer_size)
162 PointerSize pointer_size)
Doffsets.h58 template<PointerSize pointer_size>
64 using ThreadOffset32 = ThreadOffset<PointerSize::k32>;
65 using ThreadOffset64 = ThreadOffset<PointerSize::k64>;
Dthread.h214 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/
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()
/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>(
Dexecutable.cc25 template <PointerSize kPointerSize>
41 template void Executable::InitializeFromArtMethod<PointerSize::k32>(ArtMethod* method);
42 template void Executable::InitializeFromArtMethod<PointerSize::k64>(ArtMethod* method);
Dclass.h62 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 …]
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 …]
Dmethod.h33 template <PointerSize kPointerSize>
44 template <PointerSize kPointerSize>
Darray.h41 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/
Ddex_cache_arrays_layout.h45 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);
Ddex_cache_arrays_layout-inl.h32 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/
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;
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/
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.def28 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())
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()

12345