Searched refs:component_size (Results 1 – 5 of 5) sorted by relevance
/art/runtime/mirror/ |
D | array.h | 41 size_t component_size, gc::AllocatorType allocator_type, 68 static MemberOffset DataOffset(size_t component_size) { in DataOffset() argument 69 if (component_size != sizeof(int64_t)) { in DataOffset() 77 void* GetRawData(size_t component_size, int32_t index) in GetRawData() argument 79 intptr_t data = reinterpret_cast<intptr_t>(this) + DataOffset(component_size).Int32Value() + in GetRawData() 80 + (index * component_size); in GetRawData() 84 const void* GetRawData(size_t component_size, int32_t index) const { in GetRawData() argument 85 intptr_t data = reinterpret_cast<intptr_t>(this) + DataOffset(component_size).Int32Value() + in GetRawData() 86 + (index * component_size); in GetRawData()
|
D | array-inl.h | 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 [all …]
|
/art/compiler/dex/quick/ |
D | gen_common.cc | 414 size_t component_size = sizeof(int32_t); in GenFilledNewArray() local 463 mirror::Array::DataOffset(component_size).Int32Value()); in GenFilledNewArray() 481 -mirror::Array::DataOffset(component_size).Int32Value()); in GenFilledNewArray() 488 mirror::Array::DataOffset(component_size).Int32Value() + i * 4, rl_arg.reg); in GenFilledNewArray()
|
/art/runtime/ |
D | jni_internal.cc | 2204 const size_t component_size = array->GetClass()->GetComponentSize(); in ReleasePrimitiveArrayCritical() local 2205 ReleasePrimitiveArray(soa, array, component_size, elements, mode); in ReleasePrimitiveArrayCritical() 2619 const size_t component_size = sizeof(ElementT); in GetPrimitiveArray() local 2620 size_t size = array->GetLength() * component_size; in GetPrimitiveArray() 2646 size_t component_size, void* elements, jint mode) in ReleasePrimitiveArray() argument 2648 void* array_data = array->GetRawData(component_size, 0); in ReleasePrimitiveArray() 2651 size_t bytes = array->GetLength() * component_size; in ReleasePrimitiveArray()
|
D | check_jni.cc | 1084 size_t component_size = a->GetClass()->GetComponentSize(); in CreateGuardedPACopy() local 1085 size_t byte_count = a->GetLength() * component_size; in CreateGuardedPACopy() 1086 void* result = GuardedCopy::Create(a->GetRawData(component_size, 0), byte_count, true); in CreateGuardedPACopy()
|