/art/runtime/mirror/ |
D | dex_cache-inl.h | 186 inline ArtField* DexCache::GetResolvedField(uint32_t field_idx, PointerSize ptr_size) { in GetResolvedField() argument 187 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size); in GetResolvedField() 188 auto pair = GetNativePairPtrSize(GetResolvedFields(), FieldSlotIndex(field_idx), ptr_size); in GetResolvedField() 192 inline void DexCache::SetResolvedField(uint32_t field_idx, ArtField* field, PointerSize ptr_size) { in SetResolvedField() argument 193 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size); in SetResolvedField() 196 SetNativePairPtrSize(GetResolvedFields(), FieldSlotIndex(field_idx), pair, ptr_size); in SetResolvedField() 199 inline void DexCache::ClearResolvedField(uint32_t field_idx, PointerSize ptr_size) { in ClearResolvedField() argument 200 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size); in ClearResolvedField() 205 if (GetNativePairPtrSize(resolved_fields, slot_idx, ptr_size).index == field_idx) { in ClearResolvedField() 207 SetNativePairPtrSize(resolved_fields, slot_idx, cleared, ptr_size); in ClearResolvedField() [all …]
|
D | array.h | 198 T GetElementPtrSize(uint32_t idx, PointerSize ptr_size) 201 void** ElementAddress(size_t index, PointerSize ptr_size) REQUIRES_SHARED(Locks::mutator_lock_) { in ElementAddress() argument 204 Array::DataOffset(static_cast<size_t>(ptr_size)).Uint32Value() + in ElementAddress() 205 static_cast<size_t>(ptr_size) * index); in ElementAddress() 209 void SetElementPtrSize(uint32_t idx, uint64_t element, PointerSize ptr_size) 212 void SetElementPtrSize(uint32_t idx, T* element, PointerSize ptr_size)
|
D | dex_cache.h | 280 ALWAYS_INLINE ArtMethod* GetResolvedMethod(uint32_t method_idx, PointerSize ptr_size) 285 PointerSize ptr_size) 289 ALWAYS_INLINE ArtField* GetResolvedField(uint32_t idx, PointerSize ptr_size) 293 ALWAYS_INLINE void SetResolvedField(uint32_t idx, ArtField* field, PointerSize ptr_size) 295 ALWAYS_INLINE void ClearResolvedField(uint32_t idx, PointerSize ptr_size) 413 static PtrType GetElementPtrSize(PtrType* ptr_array, size_t idx, PointerSize ptr_size); 416 static void SetElementPtrSize(PtrType* ptr_array, size_t idx, PtrType ptr, PointerSize ptr_size); 421 PointerSize ptr_size); 427 PointerSize ptr_size);
|
D | throwable.cc | 113 const PointerSize ptr_size = Runtime::Current()->GetClassLinker()->GetImagePointerSize(); in Dump() local 115 ArtMethod* method = method_trace->GetElementPtrSize<ArtMethod*>(i, ptr_size); in Dump() 116 uintptr_t dex_pc = method_trace->GetElementPtrSize<uintptr_t>(i + depth, ptr_size); in Dump()
|
D | array-inl.h | 399 inline T PointerArray::GetElementPtrSize(uint32_t idx, PointerSize ptr_size) { in GetElementPtrSize() argument 402 if (ptr_size == PointerSize::k64) { in GetElementPtrSize() 411 inline void PointerArray::SetElementPtrSize(uint32_t idx, uint64_t element, PointerSize ptr_size) { in SetElementPtrSize() argument 412 if (ptr_size == PointerSize::k64) { in SetElementPtrSize() 423 inline void PointerArray::SetElementPtrSize(uint32_t idx, T* element, PointerSize ptr_size) { in SetElementPtrSize() argument 426 ptr_size); in SetElementPtrSize() 447 PointerSize ptr_size) { in Memcpy() argument 450 if (ptr_size == PointerSize::k64) { in Memcpy()
|
/art/runtime/entrypoints/jni/ |
D | jni_entrypoints.h | 25 #define JNI_ENTRYPOINT_OFFSET(ptr_size, x) \ argument 26 Thread::JniEntryPointOffset<ptr_size>(OFFSETOF_MEMBER(JniEntryPoints, x))
|
/art/runtime/entrypoints/quick/ |
D | quick_entrypoints.h | 27 #define QUICK_ENTRYPOINT_OFFSET(ptr_size, x) \ argument 28 Thread::QuickEntryPointOffset<ptr_size>(OFFSETOF_MEMBER(QuickEntryPoints, x))
|
/art/runtime/base/ |
D | arena_allocator.h | 329 size_t ptr_size, 332 DCHECK_GE(new_size, ptr_size); 333 DCHECK_EQ(ptr == nullptr, ptr_size == 0u); 335 const size_t aligned_ptr_size = RoundUp(ptr_size, kAlignment); 352 memcpy(new_ptr, ptr, ptr_size);
|
/art/runtime/ |
D | thread.cc | 2786 template<PointerSize ptr_size> 2793 DO_THREAD_OFFSET(ThreadFlagsOffset<ptr_size>(), "state_and_flags") in DumpThreadOffset() 2794 DO_THREAD_OFFSET(CardTableOffset<ptr_size>(), "card_table") in DumpThreadOffset() 2795 DO_THREAD_OFFSET(ExceptionOffset<ptr_size>(), "exception") in DumpThreadOffset() 2796 DO_THREAD_OFFSET(PeerOffset<ptr_size>(), "peer"); in DumpThreadOffset() 2797 DO_THREAD_OFFSET(JniEnvOffset<ptr_size>(), "jni_env") in DumpThreadOffset() 2798 DO_THREAD_OFFSET(SelfOffset<ptr_size>(), "self") in DumpThreadOffset() 2799 DO_THREAD_OFFSET(StackEndOffset<ptr_size>(), "stack_end") in DumpThreadOffset() 2800 DO_THREAD_OFFSET(ThinLockIdOffset<ptr_size>(), "thin_lock_thread_id") in DumpThreadOffset() 2801 DO_THREAD_OFFSET(TopOfManagedStackOffset<ptr_size>(), "top_quick_frame_method") in DumpThreadOffset() [all …]
|
D | debugger.cc | 1563 auto ptr_size = cl->GetImagePointerSize(); in OutputDeclaredMethods() local 1564 for (ArtMethod& m : c->GetMethods(ptr_size)) { in OutputDeclaredMethods()
|
/art/runtime/openjdkjvmti/ |
D | ti_redefine.cc | 182 auto ptr_size = cl->GetImagePointerSize(); in VisitFrame() local 183 const size_t method_size = art::ArtMethod::Size(ptr_size); in VisitFrame() 188 new_obsolete_method->CopyFrom(old_method, ptr_size); in VisitFrame()
|
/art/compiler/optimizing/ |
D | register_allocator_linear_scan.cc | 80 size_t ptr_size = static_cast<size_t>(InstructionSetPointerSize(codegen->GetInstructionSet())); in RegisterAllocatorLinearScan() local 81 reserved_out_slots_ = ptr_size / kVRegSize + codegen->GetGraph()->GetMaximumNumberOfOutVRegs(); in RegisterAllocatorLinearScan()
|