Searched defs:component_count (Results 1 - 3 of 3) sorted by relevance

/art/runtime/entrypoints/
H A Dentrypoint_utils.cc38 int32_t component_count,
42 if (UNLIKELY(component_count < 0)) {
43 ThrowNegativeArraySizeException(component_count);
81 int32_t component_count, Thread* self,
84 mirror::Class* klass = CheckFilledNewArrayAlloc(type_idx, referrer, component_count, self,
93 return mirror::Array::Alloc<false>(self, klass, component_count, klass->GetComponentSize(),
100 int32_t component_count,
104 mirror::Class* klass = CheckFilledNewArrayAlloc(type_idx, referrer, component_count, self,
112 return mirror::Array::Alloc<true>(self, klass, component_count, klass->GetComponentSize(),
80 CheckAndAllocArrayFromCode(uint32_t type_idx, mirror::ArtMethod* referrer, int32_t component_count, Thread* self, bool access_check, gc::AllocatorType ) argument
98 CheckAndAllocArrayFromCodeInstrumented(uint32_t type_idx, mirror::ArtMethod* referrer, int32_t component_count, Thread* self, bool access_check, gc::AllocatorType ) argument
H A Dentrypoint_utils-inl.h178 int32_t component_count,
180 if (UNLIKELY(component_count < 0)) {
181 ThrowNegativeArraySizeException(component_count);
214 int32_t component_count,
218 mirror::Class* klass = CheckArrayAlloc<kAccessCheck>(type_idx, method, component_count,
225 return mirror::Array::Alloc<kInstrumented>(self, klass, component_count,
229 return mirror::Array::Alloc<kInstrumented>(self, klass, component_count,
236 int32_t component_count,
240 if (UNLIKELY(component_count < 0)) {
241 ThrowNegativeArraySizeException(component_count);
176 CheckArrayAlloc(uint32_t type_idx, mirror::ArtMethod* method, int32_t component_count, bool* slow_path) argument
212 AllocArrayFromCode(uint32_t type_idx, mirror::ArtMethod* method, int32_t component_count, Thread* self, gc::AllocatorType allocator_type) argument
234 AllocArrayFromCodeResolved(mirror::Class* klass, mirror::ArtMethod* method, int32_t component_count, Thread* self, gc::AllocatorType allocator_type) argument
[all...]
/art/runtime/mirror/
H A Darray-inl.h41 int32_t component_count = local
44 size_t data_size = component_count * component_size;
58 static inline size_t ComputeArraySize(Thread* self, Class* array_class, int32_t component_count,
62 DCHECK_GE(component_count, 0);
66 size_t data_size = component_count * component_size;
71 if (UNLIKELY(data_size >> component_shift != size_t(component_count) || size < data_size)) {
74 component_count).c_str());
133 inline Array* Array::Alloc(Thread* self, Class* array_class, int32_t component_count, argument
137 size_t size = ComputeArraySize(self, array_class, component_count, component_size);
144 SetLengthVisitor visitor(component_count);
[all...]

Completed in 449 milliseconds