/art/runtime/base/ |
D | length_prefixed_array.h | 36 T& At(size_t index, size_t element_size = sizeof(T), size_t alignment = alignof(T)) { 38 return AtUnchecked(index, element_size, alignment); 41 const T& At(size_t index, size_t element_size = sizeof(T), size_t alignment = alignof(T)) const { 43 return AtUnchecked(index, element_size, alignment); 46 StrideIterator<T> begin(size_t element_size = sizeof(T), size_t alignment = alignof(T)) { 47 return StrideIterator<T>(&AtUnchecked(0, element_size, alignment), element_size); 50 StrideIterator<const T> begin(size_t element_size = sizeof(T), 52 return StrideIterator<const T>(&AtUnchecked(0, element_size, alignment), element_size); 55 StrideIterator<T> end(size_t element_size = sizeof(T), size_t alignment = alignof(T)) { 56 return StrideIterator<T>(&AtUnchecked(size_, element_size, alignment), element_size); [all …]
|
D | array_slice.h | 40 size_t element_size = sizeof(T)) 43 element_size_(element_size) { in array_() 53 size_t element_size = sizeof(T)) 56 element_size_(element_size) { in array_() 71 size_t element_size = sizeof(T), 75 element_size_(element_size) { in array_()
|
/art/runtime/utils/ |
D | dex_cache_arrays_layout-inl.h | 109 inline size_t DexCacheArraysLayout::ElementOffset(size_t element_size, uint32_t idx) { in ElementOffset() argument 110 return element_size * idx; in ElementOffset() 113 inline size_t DexCacheArraysLayout::ArraySize(size_t element_size, uint32_t num_elements) { in ArraySize() argument 114 return element_size * num_elements; in ArraySize()
|
D | dex_cache_arrays_layout.h | 107 static size_t ElementOffset(size_t element_size, uint32_t idx); 109 static size_t ArraySize(size_t element_size, uint32_t num_elements);
|
/art/runtime/ |
D | dex_file_verifier.h | 45 bool CheckListSize(const void* start, size_t count, size_t element_size, const char* label); 48 bool CheckList(size_t element_size, const char* label, const uint8_t* *ptr);
|
D | dex_instruction.cc | 114 uint16_t element_size = insns[1]; in SizeInCodeUnitsComplexOpcode() local 117 return (4 + (element_size * length + 1) / 2); in SizeInCodeUnitsComplexOpcode()
|
D | dex_file_verifier.cc | 208 bool DexFileVerifier::CheckList(size_t element_size, const char* label, const uint8_t* *ptr) { in CheckList() argument 216 if (!CheckListSize(*ptr + 4, count, element_size, label)) { in CheckList() 221 *ptr += 4 + count * element_size; in CheckList()
|
/art/compiler/optimizing/ |
D | intrinsics_arm64.cc | 1823 const int32_t element_size = Primitive::ComponentSize(type); in GenSystemArrayCopyAddresses() local 1826 uint32_t data_offset = mirror::Array::DataOffset(element_size).Uint32Value(); in GenSystemArrayCopyAddresses() 1829 __ Add(src_base, src, element_size * constant + data_offset); in GenSystemArrayCopyAddresses() 1837 __ Add(dst_base, dst, element_size * constant + data_offset); in GenSystemArrayCopyAddresses() 1845 __ Add(src_end, src_base, element_size * constant); in GenSystemArrayCopyAddresses() 2186 const int32_t element_size = Primitive::ComponentSize(Primitive::kPrimNot); in VisitSystemArrayCopy() local 2192 __ Ldr(tmp, MemOperand(src_curr_addr, element_size, vixl::PostIndex)); in VisitSystemArrayCopy() 2193 __ Str(tmp, MemOperand(dst_curr_addr, element_size, vixl::PostIndex)); in VisitSystemArrayCopy()
|
D | intrinsics_arm.cc | 1548 uint32_t element_size = sizeof(int32_t); in VisitSystemArrayCopy() local 1549 uint32_t offset = mirror::Array::DataOffset(element_size).Uint32Value(); in VisitSystemArrayCopy() 1552 __ AddConstant(temp1, src, element_size * constant + offset); in VisitSystemArrayCopy() 1560 __ AddConstant(temp2, dest, element_size * constant + offset); in VisitSystemArrayCopy() 1568 __ AddConstant(temp3, temp1, element_size * constant); in VisitSystemArrayCopy() 1580 __ ldr(IP, Address(temp1, element_size, Address::PostIndex)); in VisitSystemArrayCopy() 1581 __ str(IP, Address(temp2, element_size, Address::PostIndex)); in VisitSystemArrayCopy()
|
D | intrinsics_x86_64.cc | 1308 uint32_t element_size = sizeof(int32_t); in VisitSystemArrayCopy() local 1309 uint32_t offset = mirror::Array::DataOffset(element_size).Uint32Value(); in VisitSystemArrayCopy() 1312 __ leal(temp1, Address(src, element_size * constant + offset)); in VisitSystemArrayCopy() 1319 __ leal(temp2, Address(dest, element_size * constant + offset)); in VisitSystemArrayCopy() 1326 __ leal(temp3, Address(temp1, element_size * constant)); in VisitSystemArrayCopy() 1340 __ addl(temp1, Immediate(element_size)); in VisitSystemArrayCopy() 1341 __ addl(temp2, Immediate(element_size)); in VisitSystemArrayCopy()
|