Home
last modified time | relevance | path

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

/art/runtime/base/
Dbit_vector.h84 return storage_size_ * kWordBits; in BitSize()
145 return RoundUp(bits, kWordBits) / kWordBits; in BitsToWords()
154 if (idx >= storage_size_ * kWordBits) { in SetBit()
163 if (idx < storage_size_ * kWordBits) { in ClearBit()
173 return (idx < (storage_size_ * kWordBits)) && IsBitSet(storage_, idx); in IsBitSet()
297 static constexpr uint32_t kWordBits = kWordBytes * 8; variable
Dbit_vector.cc38 static_assert(sizeof(*storage_) * 8u == kWordBits, "word bits"); in BitVector()
158 DCHECK_LT(static_cast<uint32_t> (highest_bit), storage_size_ * kWordBits); in Union()
190 DCHECK_LT(static_cast<uint32_t> (highest_bit), storage_size_ * kWordBits); in UnionIfNotIn()
241 DCHECK_LE(end, storage_size_ * kWordBits); in NumSetBits()
282 return 31 - CLZ(value) + (idx * kWordBits); in GetHighestBitSet()
304 uint32_t size = 1 + (highest_bit / kWordBits); in Copy()
342 for (size_t i = 0; i < storage_size_ * kWordBits; i++) { in DumpHelper()
349 if (idx >= storage_size_ * kWordBits) { in EnsureSize()
Dbit_vector-inl.h51 uint32_t word_index = start_index / kWordBits; in FindIndex()