Home
last modified time | relevance | path

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

/art/runtime/mirror/
Ddex_cache-inl.h247 inline ArtField* DexCache::GetResolvedField(uint32_t field_idx, PointerSize ptr_size) { in GetResolvedField() argument
248 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size); in GetResolvedField()
249 auto pair = GetNativePairPtrSize(GetResolvedFields(), FieldSlotIndex(field_idx), ptr_size); in GetResolvedField()
253 inline void DexCache::SetResolvedField(uint32_t field_idx, ArtField* field, PointerSize ptr_size) { in SetResolvedField() argument
254 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size); in SetResolvedField()
257 SetNativePairPtrSize(GetResolvedFields(), FieldSlotIndex(field_idx), pair, ptr_size); in SetResolvedField()
260 inline void DexCache::ClearResolvedField(uint32_t field_idx, PointerSize ptr_size) { in ClearResolvedField() argument
261 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size); in ClearResolvedField()
266 if (GetNativePairPtrSize(resolved_fields, slot_idx, ptr_size).index == field_idx) { in ClearResolvedField()
268 SetNativePairPtrSize(resolved_fields, slot_idx, cleared, ptr_size); in ClearResolvedField()
[all …]
Darray-inl.h256 inline T PointerArray::GetElementPtrSize(uint32_t idx, PointerSize ptr_size) { in GetElementPtrSize() argument
257 if (ptr_size == PointerSize::k64) { in GetElementPtrSize()
264 inline void PointerArray::SetElementPtrSize(uint32_t idx, uint64_t element, PointerSize ptr_size) { in SetElementPtrSize() argument
265 if (ptr_size == PointerSize::k64) { in SetElementPtrSize()
276 inline void PointerArray::SetElementPtrSize(uint32_t idx, T* element, PointerSize ptr_size) { in SetElementPtrSize() argument
278 idx, reinterpret_cast<uintptr_t>(element), ptr_size); in SetElementPtrSize()
301 PointerSize ptr_size) { in Memcpy() argument
304 if (ptr_size == PointerSize::k64) { in Memcpy()
Darray.h224 T GetElementPtrSize(uint32_t idx, PointerSize ptr_size)
237 void** ElementAddress(size_t index, PointerSize ptr_size) REQUIRES_SHARED(Locks::mutator_lock_) { in ElementAddress() argument
240 Array::DataOffset(static_cast<size_t>(ptr_size)).Uint32Value() + in ElementAddress()
241 static_cast<size_t>(ptr_size) * index); 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)
Dthrowable.cc119 const PointerSize ptr_size = Runtime::Current()->GetClassLinker()->GetImagePointerSize(); in Dump() local
121 ArtMethod* method = method_trace->GetElementPtrSize<ArtMethod*>(i, ptr_size); in Dump()
122 uintptr_t dex_pc = method_trace->GetElementPtrSize<uintptr_t>(i + depth, ptr_size); in Dump()
Ddex_cache.h301 ALWAYS_INLINE ArtMethod* GetResolvedMethod(uint32_t method_idx, PointerSize ptr_size)
306 PointerSize ptr_size)
308 ALWAYS_INLINE void ClearResolvedMethod(uint32_t method_idx, PointerSize ptr_size)
312 ALWAYS_INLINE ArtField* GetResolvedField(uint32_t idx, PointerSize ptr_size)
316 ALWAYS_INLINE void SetResolvedField(uint32_t idx, ArtField* field, PointerSize ptr_size)
318 ALWAYS_INLINE void ClearResolvedField(uint32_t idx, PointerSize ptr_size)
460 PointerSize ptr_size);
466 PointerSize ptr_size);
/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/libartbase/base/
Darena_allocator.h305 size_t ptr_size,
308 DCHECK_GE(new_size, ptr_size);
309 DCHECK_EQ(ptr == nullptr, ptr_size == 0u);
311 const size_t aligned_ptr_size = RoundUp(ptr_size, kAlignment);
329 memcpy(new_ptr, ptr, ptr_size);
/art/runtime/
Dthread.cc3325 template<PointerSize ptr_size>
3332 DO_THREAD_OFFSET(ThreadFlagsOffset<ptr_size>(), "state_and_flags") in DumpThreadOffset()
3333 DO_THREAD_OFFSET(CardTableOffset<ptr_size>(), "card_table") in DumpThreadOffset()
3334 DO_THREAD_OFFSET(ExceptionOffset<ptr_size>(), "exception") in DumpThreadOffset()
3335 DO_THREAD_OFFSET(PeerOffset<ptr_size>(), "peer"); in DumpThreadOffset()
3336 DO_THREAD_OFFSET(JniEnvOffset<ptr_size>(), "jni_env") in DumpThreadOffset()
3337 DO_THREAD_OFFSET(SelfOffset<ptr_size>(), "self") in DumpThreadOffset()
3338 DO_THREAD_OFFSET(StackEndOffset<ptr_size>(), "stack_end") in DumpThreadOffset()
3339 DO_THREAD_OFFSET(ThinLockIdOffset<ptr_size>(), "thin_lock_thread_id") in DumpThreadOffset()
3340 DO_THREAD_OFFSET(IsGcMarkingOffset<ptr_size>(), "is_gc_marking") in DumpThreadOffset()
[all …]
/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/runtime/jni/
Djni_id_manager.cc167 size_t GetIdOffset(ObjPtr<mirror::Class> k, ArtField* f, PointerSize ptr_size ATTRIBUTE_UNUSED) { in GetIdOffset()
/art/openjdkjvmti/
Dti_redefine.cc311 auto ptr_size = cl->GetImagePointerSize(); in VisitFrame() local
312 const size_t method_size = art::ArtMethod::Size(ptr_size); in VisitFrame()
317 new_obsolete_method->CopyFrom(old_method, ptr_size); in VisitFrame()