Lines Matching refs:Array
20 #include "array-inl.h"
39 size_t header_size = Array::DataOffset(component_size).SizeValue();
53 // The array length limit (exclusive).
62 // Used for setting the array length in the allocation code path to ensure it is guarded by a
72 ObjPtr<Array> array = ObjPtr<Array>::DownCast(obj);
73 // DCHECK(array->IsArrayInstance());
74 array->SetLength(length_);
83 // Similar to SetLengthVisitor, used for setting the array length to fill the usable size of an
84 // array.
96 ObjPtr<Array> array = ObjPtr<Array>::DownCast(obj);
97 // DCHECK(array->IsArrayInstance());
100 uint8_t* old_end = reinterpret_cast<uint8_t*>(array->GetRawData(1U << component_size_shift_,
102 uint8_t* new_end = reinterpret_cast<uint8_t*>(array->GetRawData(1U << component_size_shift_,
106 array->SetLength(length);
118 inline ObjPtr<Array> Array::Alloc(Thread* self,
142 ObjPtr<Array> result;
145 result = ObjPtr<Array>::DownCast(
152 result = ObjPtr<Array>::DownCast(
157 array_class = result->GetClass(); // In case the array class moved.