Searched refs:kWordBits (Results 1 – 3 of 3) sorted by relevance
83 return storage_size_ * kWordBits; in BitSize()130 return RoundUp(bits, kWordBits) / kWordBits; in BitsToWords()139 if (idx >= storage_size_ * kWordBits) { in SetBit()148 if (idx < storage_size_ * kWordBits) { in ClearBit()158 return (idx < (storage_size_ * kWordBits)) && IsBitSet(storage_, idx); in IsBitSet()264 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()346 for (size_t i = 0; i < storage_size_ * kWordBits; i++) { in DumpHelper()353 if (idx >= storage_size_ * kWordBits) { in EnsureSize()
51 uint32_t word_index = start_index / kWordBits; in FindIndex()