Home
last modified time | relevance | path

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

/art/libartbase/base/
Dbit_vector.h41 static constexpr uint32_t kWordBits = kWordBytes * 8; variable
89 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()
242 return storage_size_ * kWordBits; in GetBitSizeOf()
Dbit_vector.cc38 static_assert(sizeof(*storage_) * 8u == kWordBits, "word bits"); in BitVector()
157 DCHECK_LT(static_cast<uint32_t> (highest_bit), storage_size_ * kWordBits); in Union()
189 DCHECK_LT(static_cast<uint32_t> (highest_bit), storage_size_ * kWordBits); in UnionIfNotIn()
240 DCHECK_LE(end, storage_size_ * kWordBits); in NumSetBits()
281 return 31 - CLZ(value) + (idx * kWordBits); in GetHighestBitSet()
303 uint32_t size = 1 + (highest_bit / kWordBits); in Copy()
341 for (size_t i = 0; i < storage_size_ * kWordBits; i++) { in DumpHelper()
348 if (idx >= storage_size_ * kWordBits) { in EnsureSize()
Dbit_vector-inl.h53 uint32_t word_index = start_index / kWordBits; in FindIndex()