Lines Matching refs:bitPos
42 int bitPos; member
135 bitC->bitPos = 0; in BIT_initCStream()
149 bitC->bitContainer |= (value & BIT_mask[nbBits]) << bitC->bitPos; in BIT_addBits()
150 bitC->bitPos += nbBits; in BIT_addBits()
157 bitC->bitContainer |= value << bitC->bitPos; in BIT_addBitsFast()
158 bitC->bitPos += nbBits; in BIT_addBitsFast()
165 size_t const nbBytes = bitC->bitPos >> 3; in BIT_flushBitsFast()
168 bitC->bitPos &= 7; in BIT_flushBitsFast()
177 size_t const nbBytes = bitC->bitPos >> 3; in BIT_flushBits()
182 bitC->bitPos &= 7; in BIT_flushBits()
197 return (bitC->ptr - bitC->startPtr) + (bitC->bitPos > 0); in BIT_closeCStream()