Home
last modified time | relevance | path

Searched refs:ptr_size (Results 1 – 12 of 12) sorted by relevance

/art/runtime/mirror/
Ddex_cache-inl.h187 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 …]
Darray.h207 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)
Ddex_cache.h290 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);
Darray-inl.h398 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()
Dthrowable.cc114 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/
Djni_entrypoints.h25 #define JNI_ENTRYPOINT_OFFSET(ptr_size, x) \ argument
26 Thread::JniEntryPointOffset<ptr_size>(OFFSETOF_MEMBER(JniEntryPoints, x))
/art/runtime/entrypoints/quick/
Dquick_entrypoints.h27 #define QUICK_ENTRYPOINT_OFFSET(ptr_size, x) \ argument
28 Thread::QuickEntryPointOffset<ptr_size>(OFFSETOF_MEMBER(QuickEntryPoints, x))
/art/runtime/base/
Darena_allocator.h332 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/
Dthread.cc3130 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 …]
Ddebugger.cc1638 auto ptr_size = cl->GetImagePointerSize(); in OutputDeclaredMethods() local
1639 for (ArtMethod& m : c->GetMethods(ptr_size)) { in OutputDeclaredMethods()
/art/compiler/optimizing/
Dregister_allocator_linear_scan.cc80 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/
Dti_redefine.cc187 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()