Lines Matching refs:array_class
58 static inline size_t ComputeArraySize(Thread* self, Class* array_class, int32_t component_count,
61 DCHECK(array_class != NULL);
63 DCHECK(array_class->IsArrayClass());
73 PrettyDescriptor(array_class).c_str(),
133 inline Array* Array::Alloc(Thread* self, Class* array_class, int32_t component_count,
137 size_t size = ComputeArraySize(self, array_class, component_count, component_size);
146 heap->AllocObjectWithAllocator<kIsInstrumented, true>(self, array_class, size,
152 heap->AllocObjectWithAllocator<kIsInstrumented, true>(self, array_class, size,
156 array_class = result->GetClass(); // In case the array class moved.
157 CHECK_EQ(array_class->GetComponentSize(), component_size);