Searched refs:num_elements (Results 1 – 3 of 3) sorted by relevance
44 inline size_t DexCacheArraysLayout::TypesSize(size_t num_elements) const { in TypesSize() argument45 return ArraySize(sizeof(mirror::HeapReference<mirror::Class>), num_elements); in TypesSize()52 inline size_t DexCacheArraysLayout::MethodsSize(size_t num_elements) const { in MethodsSize() argument53 return ArraySize(pointer_size_, num_elements); in MethodsSize()60 inline size_t DexCacheArraysLayout::StringsSize(size_t num_elements) const { in StringsSize() argument61 return ArraySize(sizeof(mirror::HeapReference<mirror::String>), num_elements); in StringsSize()68 inline size_t DexCacheArraysLayout::FieldsSize(size_t num_elements) const { in FieldsSize() argument69 return ArraySize(pointer_size_, num_elements); in FieldsSize()76 inline size_t DexCacheArraysLayout::ArraySize(size_t element_size, uint32_t num_elements) { in ArraySize() argument77 size_t array_size = mirror::ComputeArraySize(num_elements, ComponentSizeShiftWidth(element_size)); in ArraySize()
56 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);
1134 const size_t num_elements = arr->GetLength(); in FixupPointerArray() local1137 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()