Lines Matching refs:shift
92 size_t shift = (bit_start_ + bit_offset) % kBitsPerByte; in LoadBit() local
93 return ((data[index] >> shift) & 1) != 0; in LoadBit()
100 size_t shift = (bit_start_ + bit_offset) % kBitsPerByte; in StoreBit() local
101 data[index] &= ~(1 << shift); // Clear bit. in StoreBit()
102 data[index] |= (value ? 1 : 0) << shift; // Set bit. in StoreBit()
119 size_t shift = (bit_start_ + bit_offset) % kBitsPerIntPtrT; in LoadBits() local
120 uintptr_t value = data_[index] >> shift; in LoadBits()
121 size_t finished_bits = kBitsPerIntPtrT - shift; in LoadBits()
143 size_t shift = (bit_start_ + bit_offset) % kBitsPerByte; in StoreBits() local
144 data[index] &= ~(mask << shift); // Clear bits. in StoreBits()
145 data[index] |= (value << shift); // Set bits. in StoreBits()
146 size_t finished_bits = kBitsPerByte - shift; in StoreBits()