Lines Matching refs:CurBit
30 /// CurBit - Always between 0 and 31 inclusive, specifies the next bit to use.
31 unsigned CurBit;
33 /// CurValue - The current value. Only bits < CurBit are valid.
85 : Out(O), CurBit(0), CurValue(0), CurCodeSize(2) {}
88 assert(CurBit == 0 && "Unflushed data remaining");
93 uint64_t GetCurrentBitNo() const { return GetBufferOffset() * 8 + CurBit; }
122 CurValue |= Val << CurBit;
123 if (CurBit + NumBits < 32) {
124 CurBit += NumBits;
131 if (CurBit)
132 CurValue = Val >> (32-CurBit);
135 CurBit = (CurBit+NumBits) & 31;
139 if (CurBit) {
141 CurBit = 0;