Lines Matching refs:component_size
38 size_t component_size = in SizeOf() local
43 size_t header_size = DataOffset(component_size).SizeValue(); in SizeOf()
44 size_t data_size = component_count * component_size; in SizeOf()
59 size_t component_size) in ComputeArraySize() argument
65 size_t header_size = Array::DataOffset(component_size).SizeValue(); in ComputeArraySize()
66 size_t data_size = component_count * component_size; in ComputeArraySize()
70 size_t component_shift = sizeof(size_t) * 8 - 1 - CLZ(component_size); in ComputeArraySize()
106 SetLengthToUsableSizeVisitor(int32_t min_length, size_t header_size, size_t component_size) : in SetLengthToUsableSizeVisitor() argument
107 minimum_length_(min_length), header_size_(header_size), component_size_(component_size) { in SetLengthToUsableSizeVisitor()
134 size_t component_size, gc::AllocatorType allocator_type, in Alloc() argument
137 size_t size = ComputeArraySize(self, array_class, component_count, component_size); in Alloc()
149 SetLengthToUsableSizeVisitor visitor(component_count, DataOffset(component_size).SizeValue(), in Alloc()
150 component_size); in Alloc()
157 CHECK_EQ(array_class->GetComponentSize(), component_size); in Alloc()