Lines Matching refs:num_elements
83 inline size_t DexCacheArraysLayout::TypesSize(size_t num_elements) const { in TypesSize() argument
85 if (num_elements < cache_size) { in TypesSize()
86 cache_size = num_elements; in TypesSize()
99 inline size_t DexCacheArraysLayout::MethodsSize(size_t num_elements) const { in MethodsSize() argument
101 if (num_elements < cache_size) { in MethodsSize()
102 cache_size = num_elements; in MethodsSize()
116 inline size_t DexCacheArraysLayout::StringsSize(size_t num_elements) const { in StringsSize() argument
118 if (num_elements < cache_size) { in StringsSize()
119 cache_size = num_elements; in StringsSize()
135 inline size_t DexCacheArraysLayout::FieldsSize(size_t num_elements) const { in FieldsSize() argument
137 if (num_elements < cache_size) { in FieldsSize()
138 cache_size = num_elements; in FieldsSize()
147 inline size_t DexCacheArraysLayout::MethodTypesSize(size_t num_elements) const { in MethodTypesSize() argument
149 if (num_elements < cache_size) { in MethodTypesSize()
150 cache_size = num_elements; in MethodTypesSize()
162 inline size_t DexCacheArraysLayout::CallSitesSize(size_t num_elements) const { in CallSitesSize() argument
163 return ArraySize(GcRootAsPointerSize<mirror::CallSite>(), num_elements); in CallSitesSize()
174 inline size_t DexCacheArraysLayout::ArraySize(PointerSize element_size, uint32_t num_elements) { in ArraySize() argument
175 return static_cast<size_t>(element_size) * num_elements; in ArraySize()
178 inline size_t DexCacheArraysLayout::PairArraySize(PointerSize element_size, uint32_t num_elements) { in PairArraySize() argument
179 return 2u * static_cast<size_t>(element_size) * num_elements; in PairArraySize()