Lines Matching refs:Array
33 class MANAGED Array : public Object {
37 // The size of a java.lang.Class representing an array.
40 // Allocates an array with the given properties, if kFillUsable is true the array will be of at
42 // array will fill it.
44 ALWAYS_INLINE static ObjPtr<Array> Alloc(Thread* self,
52 static ObjPtr<Array> CreateMultiArray(Thread* self,
62 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(Array, length_));
69 SetField32<false, false, kVerifyNone>(OFFSET_OF_OBJECT_MEMBER(Array, length_), length);
73 return OFFSET_OF_OBJECT_MEMBER(Array, length_);
78 size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size);
80 << "Array data offset isn't aligned with component size";
92 return OFFSETOF_MEMBER(Array, first_element_);
125 ObjPtr<Array> CopyOf(Thread* self, int32_t new_length) REQUIRES_SHARED(Locks::mutator_lock_)
136 // The number of array elements.
143 DISALLOW_IMPLICIT_CONSTRUCTORS(Array);
147 class MANAGED PrimitiveArray : public Array {
188 * Works like memmove(), except we guarantee not to allow tearing of array values (ie using
189 * smaller than element size copies). Arguments are assumed to be within the bounds of the array
196 * Works like memcpy(), except we guarantee not to allow tearing of array values (ie using
197 * smaller than element size copies). Arguments are assumed to be within the bounds of the array
207 // Declare the different primitive arrays. Instantiations will be in array.cc.
218 class PointerArray : public Array {
226 // Same as GetElementPtrSize, but uses unchecked version of array conversion. It is thus not
227 // checked whether kPtrSize matches the underlying array. Only use after at least one invocation
237 Array::DataOffset(static_cast<size_t>(ptr_size)).Uint32Value() +
254 // Works like memcpy(), except we guarantee not to allow tearing of array values (ie using smaller
255 // than element size copies). Arguments are assumed to be within the bounds of the array and the