Lines Matching refs:bit
166 size_t bit = 0; in StoreBits() local
168 for (; bit + kNumBits <= bit_length; bit += kNumBits) { in StoreBits()
169 StoreBits(bit_offset + bit, src.LoadBits(bit, kNumBits), kNumBits); in StoreBits()
171 size_t num_bits = bit_length - bit; in StoreBits()
172 StoreBits(bit_offset + bit, src.LoadBits(bit, num_bits), num_bits); in StoreBits()
180 size_t bit = 0; in PopCount() local
182 for (; bit + kNumBits <= bit_length; bit += kNumBits) { in PopCount()
183 count += POPCOUNT(LoadBits(bit_offset + bit, kNumBits)); in PopCount()
185 count += POPCOUNT(LoadBits(bit_offset + bit, bit_length - bit)); in PopCount()
193 size_t bit = 0; in Compare() local
195 for (; bit + kNumBits <= lhs.size_in_bits(); bit += kNumBits) { in Compare()
196 uint32_t lhs_bits = lhs.LoadBits(bit, kNumBits); in Compare()
197 uint32_t rhs_bits = rhs.LoadBits(bit, kNumBits); in Compare()
202 size_t num_bits = lhs.size_in_bits() - bit; in Compare()
203 uint32_t lhs_bits = lhs.LoadBits(bit, num_bits); in Compare()
204 uint32_t rhs_bits = rhs.LoadBits(bit, num_bits); in Compare()