Home | History | Annotate | Download | only in mirror

Lines Matching refs:Array

17 #include "array-inl.h"
36 // Create a multi-dimensional array of Objects or primitive types.
42 // Recursively create an array with multiple dimensions. Elements may be
44 static Array* RecursiveCreateMultiArray(Thread* self,
50 Handle<Array> new_array(
52 Array::Alloc<true>(self, array_class.Get(), array_length,
60 // Create a new sub-array in every element of the array.
64 ObjPtr<Array> sub_array = RecursiveCreateMultiArray(self, h_component_type,
71 new_array->AsObjectArray<Array>()->Set<false, false>(i, sub_array);
77 Array* Array::CreateMultiArray(Thread* self, Handle<Class> element_class,
95 // Find/generate the array class.
113 // Create the array.
114 ObjPtr<Array> new_array = RecursiveCreateMultiArray(self, array_class, 0, dimensions);
121 void Array::ThrowArrayIndexOutOfBoundsException(int32_t index) {
125 void Array::ThrowArrayStoreException(ObjPtr<Object> object) {
129 Array* Array::CopyOf(Thread* self, int32_t new_length) {
140 ObjPtr<Array> new_array = Alloc<true>(self, GetClass(), new_length, component_shift, allocator_type);
152 // Explicitly instantiate all the primitive array types.