Searched refs:kWordBits (Results 1 – 3 of 3) sorted by relevance
84 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
38 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()
51 uint32_t word_index = start_index / kWordBits; in FindIndex()