Home
last modified time | relevance | path

Searched refs:num_elements (Results 1 – 3 of 3) sorted by relevance

/art/compiler/utils/
Ddex_cache_arrays_layout-inl.h44 inline size_t DexCacheArraysLayout::TypesSize(size_t num_elements) const { in TypesSize() argument
45 return ArraySize(sizeof(mirror::HeapReference<mirror::Class>), num_elements); in TypesSize()
52 inline size_t DexCacheArraysLayout::MethodsSize(size_t num_elements) const { in MethodsSize() argument
53 return ArraySize(pointer_size_, num_elements); in MethodsSize()
60 inline size_t DexCacheArraysLayout::StringsSize(size_t num_elements) const { in StringsSize() argument
61 return ArraySize(sizeof(mirror::HeapReference<mirror::String>), num_elements); in StringsSize()
68 inline size_t DexCacheArraysLayout::FieldsSize(size_t num_elements) const { in FieldsSize() argument
69 return ArraySize(pointer_size_, num_elements); in FieldsSize()
76 inline size_t DexCacheArraysLayout::ArraySize(size_t element_size, uint32_t num_elements) { in ArraySize() argument
77 size_t array_size = mirror::ComputeArraySize(num_elements, ComponentSizeShiftWidth(element_size)); in ArraySize()
Ddex_cache_arrays_layout.h56 size_t TypesSize(size_t num_elements) const;
64 size_t MethodsSize(size_t num_elements) const;
72 size_t StringsSize(size_t num_elements) const;
80 size_t FieldsSize(size_t num_elements) const;
92 static size_t ArraySize(size_t element_size, uint32_t num_elements);
/art/compiler/
Dimage_writer.cc1134 const size_t num_elements = arr->GetLength(); in FixupPointerArray() local
1137 for (size_t i = 0, count = num_elements; i < count; ++i) { in FixupPointerArray()
1145 << method << " idx=" << i << "/" << num_elements << " with declaring class " in FixupPointerArray()
1151 << field << " idx=" << i << "/" << num_elements << " with declaring class " in FixupPointerArray()