Home
last modified time | relevance | path

Searched refs:component_size_shift (Results 1 – 4 of 4) sorted by relevance

/art/runtime/mirror/
Darray-alloc-inl.h36 static inline size_t ComputeArraySize(int32_t component_count, size_t component_size_shift) { in ComputeArraySize() argument
39 size_t component_size = 1U << component_size_shift; in ComputeArraySize()
41 size_t data_size = static_cast<size_t>(component_count) << component_size_shift; in ComputeArraySize()
49 DCHECK_LE((1U << component_size_shift), 8U); in ComputeArraySize()
55 const size_t length_limit = (0U - header_size) >> component_size_shift; in ComputeArraySize()
89 size_t component_size_shift) : in SetLengthToUsableSizeVisitor() argument
91 component_size_shift_(component_size_shift) { in SetLengthToUsableSizeVisitor()
122 size_t component_size_shift, in Alloc() argument
127 DCHECK_EQ(array_class->GetComponentSizeShift(), component_size_shift); in Alloc()
128 DCHECK_EQ(array_class->GetComponentSize(), (1U << component_size_shift)); in Alloc()
[all …]
Darray.cc55 size_t component_size_shift = h_component_type->GetPrimitiveTypeSizeShift(); in RecursiveCreateMultiArray() local
58 Array::Alloc(self, array_class.Get(), array_length, component_size_shift, allocator_type))); in RecursiveCreateMultiArray()
Darray-inl.h42 size_t component_size_shift = in SizeOf() local
48 size_t header_size = DataOffset(1U << component_size_shift).SizeValue(); in SizeOf()
49 size_t data_size = component_count << component_size_shift; in SizeOf()
Darray.h50 size_t component_size_shift,