Searched refs:kWordBits (Results 1 – 3 of 3) sorted by relevance
77 return storage_size_ * kWordBits; in BitSize()133 return RoundUp(bits, kWordBits) / kWordBits; in BitsToWords()142 if (idx >= storage_size_ * kWordBits) { in SetBit()151 if (idx < storage_size_ * kWordBits) { in ClearBit()161 return (idx < (storage_size_ * kWordBits)) && IsBitSet(storage_, idx); in IsBitSet()285 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()
53 uint32_t word_index = start_index / kWordBits; in FindIndex()