Searched refs:component_count (Results 1 - 7 of 7) sorted by relevance

/art/runtime/entrypoints/quick/
H A Dquick_alloc_entrypoints.cc117 uint32_t type_idx, int32_t component_count, ArtMethod* method, Thread* self) \
120 return AllocArrayFromCode<false, instrumented_bool>(type_idx, component_count, method, self, \
124 mirror::Class* klass, int32_t component_count, ArtMethod* method, Thread* self) \
127 return AllocArrayFromCodeResolved<false, instrumented_bool>(klass, component_count, method, self, \
131 uint32_t type_idx, int32_t component_count, ArtMethod* method, Thread* self) \
134 return AllocArrayFromCode<true, instrumented_bool>(type_idx, component_count, method, self, \
138 uint32_t type_idx, int32_t component_count, ArtMethod* method, Thread* self) \
142 return CheckAndAllocArrayFromCode(type_idx, component_count, method, self, false, allocator_type); \
144 return CheckAndAllocArrayFromCodeInstrumented(type_idx, component_count, method, self, false, allocator_type); \
148 uint32_t type_idx, int32_t component_count, ArtMetho
[all...]
/art/runtime/mirror/
H A Darray-inl.h44 int32_t component_count = local
47 size_t data_size = component_count << component_size_shift;
69 static inline size_t ComputeArraySize(int32_t component_count, size_t component_size_shift) { argument
70 DCHECK_GE(component_count, 0);
74 size_t data_size = static_cast<size_t>(component_count) << component_size_shift;
80 // 64-bit. No overflow as component_count is 32-bit and the maximum
89 if (UNLIKELY(length_limit <= static_cast<size_t>(component_count))) {
153 inline Array* Array::Alloc(Thread* self, Class* array_class, int32_t component_count, argument
160 size_t size = ComputeArraySize(component_count, component_size_shift);
169 component_count)
[all...]
H A Darray.h37 // least component_count size, however, if there's usable space at the end of the allocation the
40 ALWAYS_INLINE static Array* Alloc(Thread* self, Class* array_class, int32_t component_count,
/art/runtime/entrypoints/
H A Dentrypoint_utils.cc37 int32_t component_count,
42 if (UNLIKELY(component_count < 0)) {
43 ThrowNegativeArraySizeException(component_count);
78 mirror::Array* CheckAndAllocArrayFromCode(uint32_t type_idx, int32_t component_count, argument
82 mirror::Class* klass = CheckFilledNewArrayAlloc(type_idx, component_count, referrer, self,
91 return mirror::Array::Alloc<false>(self, klass, component_count,
98 int32_t component_count,
103 mirror::Class* klass = CheckFilledNewArrayAlloc(type_idx, component_count, referrer, self,
111 return mirror::Array::Alloc<true>(self, klass, component_count,
97 CheckAndAllocArrayFromCodeInstrumented(uint32_t type_idx, int32_t component_count, ArtMethod* referrer, Thread* self, bool access_check, gc::AllocatorType ) argument
H A Dentrypoint_utils.h83 int32_t component_count,
94 int32_t component_count,
102 int32_t component_count,
108 extern mirror::Array* CheckAndAllocArrayFromCode(uint32_t type_idx, int32_t component_count,
115 int32_t component_count,
H A Dentrypoint_utils-inl.h195 int32_t component_count,
198 if (UNLIKELY(component_count < 0)) {
199 ThrowNegativeArraySizeException(component_count);
231 int32_t component_count,
236 mirror::Class* klass = CheckArrayAlloc<kAccessCheck>(type_idx, component_count, method,
243 return mirror::Array::Alloc<kInstrumented>(self, klass, component_count,
247 return mirror::Array::Alloc<kInstrumented>(self, klass, component_count,
254 int32_t component_count,
259 if (UNLIKELY(component_count < 0)) {
260 ThrowNegativeArraySizeException(component_count);
194 CheckArrayAlloc(uint32_t type_idx, int32_t component_count, ArtMethod* method, bool* slow_path) argument
230 AllocArrayFromCode(uint32_t type_idx, int32_t component_count, ArtMethod* method, Thread* self, gc::AllocatorType allocator_type) argument
253 AllocArrayFromCodeResolved(mirror::Class* klass, int32_t component_count, ArtMethod* method, Thread* self, gc::AllocatorType allocator_type) argument
[all...]
/art/runtime/gc/accounting/
H A Dmod_union_table_test.cc48 Thread* self, space::ContinuousMemMapAllocSpace* space, size_t component_count)
51 const size_t size = mirror::ComputeArraySize(component_count, 2);
57 obj->SetLength(static_cast<int32_t>(component_count));

Completed in 745 milliseconds