/art/runtime/mirror/ |
D | dex_cache-inl.h | 187 inline ArtField* DexCache::GetResolvedField(uint32_t field_idx, PointerSize ptr_size) { in GetResolvedField() argument 188 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size); in GetResolvedField() 189 auto pair = GetNativePairPtrSize(GetResolvedFields(), FieldSlotIndex(field_idx), ptr_size); in GetResolvedField() 193 inline void DexCache::SetResolvedField(uint32_t field_idx, ArtField* field, PointerSize ptr_size) { in SetResolvedField() argument 194 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size); in SetResolvedField() 197 SetNativePairPtrSize(GetResolvedFields(), FieldSlotIndex(field_idx), pair, ptr_size); in SetResolvedField() 200 inline void DexCache::ClearResolvedField(uint32_t field_idx, PointerSize ptr_size) { in ClearResolvedField() argument 201 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size); in ClearResolvedField() 206 if (GetNativePairPtrSize(resolved_fields, slot_idx, ptr_size).index == field_idx) { in ClearResolvedField() 208 SetNativePairPtrSize(resolved_fields, slot_idx, cleared, ptr_size); in ClearResolvedField() [all …]
|
D | array.h | 207 T GetElementPtrSize(uint32_t idx, PointerSize ptr_size) 210 void** ElementAddress(size_t index, PointerSize ptr_size) REQUIRES_SHARED(Locks::mutator_lock_) { in ElementAddress() argument 213 Array::DataOffset(static_cast<size_t>(ptr_size)).Uint32Value() + in ElementAddress() 214 static_cast<size_t>(ptr_size) * index); in ElementAddress() 218 void SetElementPtrSize(uint32_t idx, uint64_t element, PointerSize ptr_size) 221 void SetElementPtrSize(uint32_t idx, T* element, PointerSize ptr_size)
|
D | dex_cache.h | 290 ALWAYS_INLINE ArtMethod* GetResolvedMethod(uint32_t method_idx, PointerSize ptr_size) 295 PointerSize ptr_size) 297 ALWAYS_INLINE void ClearResolvedMethod(uint32_t method_idx, PointerSize ptr_size) 301 ALWAYS_INLINE ArtField* GetResolvedField(uint32_t idx, PointerSize ptr_size) 305 ALWAYS_INLINE void SetResolvedField(uint32_t idx, ArtField* field, PointerSize ptr_size) 307 ALWAYS_INLINE void ClearResolvedField(uint32_t idx, PointerSize ptr_size) 423 PointerSize ptr_size); 429 PointerSize ptr_size);
|
D | array-inl.h | 398 inline T PointerArray::GetElementPtrSize(uint32_t idx, PointerSize ptr_size) { in GetElementPtrSize() argument 401 if (ptr_size == PointerSize::k64) { in GetElementPtrSize() 410 inline void PointerArray::SetElementPtrSize(uint32_t idx, uint64_t element, PointerSize ptr_size) { in SetElementPtrSize() argument 411 if (ptr_size == PointerSize::k64) { in SetElementPtrSize() 422 inline void PointerArray::SetElementPtrSize(uint32_t idx, T* element, PointerSize ptr_size) { in SetElementPtrSize() argument 425 ptr_size); in SetElementPtrSize() 446 PointerSize ptr_size) { in Memcpy() argument 449 if (ptr_size == PointerSize::k64) { in Memcpy()
|
D | throwable.cc | 114 const PointerSize ptr_size = Runtime::Current()->GetClassLinker()->GetImagePointerSize(); in Dump() local 116 ArtMethod* method = method_trace->GetElementPtrSize<ArtMethod*>(i, ptr_size); in Dump() 117 uintptr_t dex_pc = method_trace->GetElementPtrSize<uintptr_t>(i + depth, ptr_size); in Dump()
|
/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 | 332 size_t ptr_size, 335 DCHECK_GE(new_size, ptr_size); 336 DCHECK_EQ(ptr == nullptr, ptr_size == 0u); 338 const size_t aligned_ptr_size = RoundUp(ptr_size, kAlignment); 356 memcpy(new_ptr, ptr, ptr_size);
|
/art/runtime/ |
D | thread.cc | 3130 template<PointerSize ptr_size> 3137 DO_THREAD_OFFSET(ThreadFlagsOffset<ptr_size>(), "state_and_flags") in DumpThreadOffset() 3138 DO_THREAD_OFFSET(CardTableOffset<ptr_size>(), "card_table") in DumpThreadOffset() 3139 DO_THREAD_OFFSET(ExceptionOffset<ptr_size>(), "exception") in DumpThreadOffset() 3140 DO_THREAD_OFFSET(PeerOffset<ptr_size>(), "peer"); in DumpThreadOffset() 3141 DO_THREAD_OFFSET(JniEnvOffset<ptr_size>(), "jni_env") in DumpThreadOffset() 3142 DO_THREAD_OFFSET(SelfOffset<ptr_size>(), "self") in DumpThreadOffset() 3143 DO_THREAD_OFFSET(StackEndOffset<ptr_size>(), "stack_end") in DumpThreadOffset() 3144 DO_THREAD_OFFSET(ThinLockIdOffset<ptr_size>(), "thin_lock_thread_id") in DumpThreadOffset() 3145 DO_THREAD_OFFSET(IsGcMarkingOffset<ptr_size>(), "is_gc_marking") in DumpThreadOffset() [all …]
|
D | debugger.cc | 1638 auto ptr_size = cl->GetImagePointerSize(); in OutputDeclaredMethods() local 1639 for (ArtMethod& m : c->GetMethods(ptr_size)) { in OutputDeclaredMethods()
|
/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()
|
/art/openjdkjvmti/ |
D | ti_redefine.cc | 187 auto ptr_size = cl->GetImagePointerSize(); in VisitFrame() local 188 const size_t method_size = art::ArtMethod::Size(ptr_size); in VisitFrame() 193 new_obsolete_method->CopyFrom(old_method, ptr_size); in VisitFrame()
|