Home
last modified time | relevance | path

Searched refs:kHeapReferenceSize (Results 1 – 13 of 13) sorted by relevance

/art/runtime/mirror/
Dobject_array-alloc-inl.h43 ComponentSizeShiftWidth(kHeapReferenceSize), in Alloc()
49 ComponentSizeShiftWidth(kHeapReferenceSize)); in Alloc()
Dobject_reference.h160 static_assert(sizeof(mirror::HeapReference<mirror::Object>) == kHeapReferenceSize,
Dobject_array-inl.h323 return MemberOffset(DataOffset(kHeapReferenceSize).Int32Value() + (i * kHeapReferenceSize)); in OffsetOfElement()
Dclass-inl.h692 ? MemberOffset(RoundUp(super_class->GetObjectSize<kVerifyFlags>(), kHeapReferenceSize)) in GetFirstReferenceInstanceFieldOffset()
821 size += num_ref_static_fields * kHeapReferenceSize; in ComputeClassSize()
/art/runtime/
Druntime_globals.h86 static constexpr size_t kHeapReferenceSize = sizeof(uint32_t); variable
Dobj_ptr.h43 kHeapReferenceSize * kBitsPerByte - kObjectAlignmentShift;
/art/runtime/gc/
Dheap_verification_test.cc160 v->LogHeapCorruption(arr.Get(), ObjArray::DataOffset(kHeapReferenceSize), string.Get(), false); in TEST_F()
/art/runtime/gc/space/
Dimage_space.cc436 static_assert(IsAligned<kHeapReferenceSize>(kObjectAlignment), "Object alignment check."); in VisitClass()
451 static_assert(IsAligned<kHeapReferenceSize>(sizeof(mirror::Object)), "Size alignment check."); in VisitClass()
455 static_assert(sizeof(mirror::HeapReference<mirror::Object>) == kHeapReferenceSize, in VisitClass()
458 MemberOffset(instance_field_offset.Uint32Value() + kHeapReferenceSize); in VisitClass()
475 static_assert(sizeof(mirror::HeapReference<mirror::Object>) == kHeapReferenceSize, in VisitClass()
478 MemberOffset(static_field_offset.Uint32Value() + kHeapReferenceSize); in VisitClass()
/art/runtime/interpreter/mterp/
Dmterp.cc845 static_assert(kHeapReferenceSize == sizeof(uint32_t), "Unexpected kHeapReferenceSize");
/art/compiler/optimizing/
Dcode_generator_arm64.cc4055 mirror::Array::DataOffset(kHeapReferenceSize).Uint32Value(); in VisitCheckCast()
4214 __ Add(temp, temp, 2 * kHeapReferenceSize); in VisitCheckCast()
Dcode_generator_arm_vixl.cc8080 mirror::Array::DataOffset(kHeapReferenceSize).Uint32Value(); in VisitCheckCast()
8244 __ Add(temp, temp, Operand::From(2 * kHeapReferenceSize)); in VisitCheckCast()
Dcode_generator_x86_64.cc6785 mirror::Array::DataOffset(kHeapReferenceSize).Uint32Value(); in VisitCheckCast()
Dcode_generator_x86.cc7480 mirror::Array::DataOffset(kHeapReferenceSize).Uint32Value(); in VisitCheckCast()