Searched refs:num_elements (Results 1 – 6 of 6) sorted by relevance
83 inline size_t DexCacheArraysLayout::TypesSize(size_t num_elements) const { in TypesSize() argument85 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() argument101 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() argument118 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[all …]
70 size_t TypesSize(size_t num_elements) const;80 size_t MethodsSize(size_t num_elements) const;90 size_t StringsSize(size_t num_elements) const;100 size_t FieldsSize(size_t num_elements) const;108 size_t MethodTypesSize(size_t num_elements) const;116 size_t CallSitesSize(size_t num_elements) const;132 static size_t ArraySize(PointerSize element_size, uint32_t num_elements);133 static size_t PairArraySize(PointerSize element_size, uint32_t num_elements);
33 Builder(std::vector<uint8_t>* out_data, size_t num_elements) : out_data_(out_data) { in Builder() argument34 EncodeUnsignedLeb128(out_data_, num_elements); in Builder()
71 static size_t ComputeSize(size_t num_elements,74 size_t result = OffsetOfElement(num_elements, element_size, alignment);
506 void reserve(size_t num_elements) { in reserve() argument507 size_t num_buckets = num_elements / max_load_factor_; in reserve()509 while (static_cast<size_t>(num_buckets * max_load_factor_) <= num_elements + 1u) { in reserve()
2930 const size_t num_elements = arr->GetLength(); in FixupPointerArray() local2934 for (size_t i = 0, count = num_elements; i < count; ++i) { in FixupPointerArray()2942 << method << " idx=" << i << "/" << num_elements << " with declaring class " in FixupPointerArray()2948 << field << " idx=" << i << "/" << num_elements << " with declaring class " in FixupPointerArray()