Lines Matching defs:bitcnt
94 int bitcnt; /* number of bits in bit buffer */
117 while (s->bitcnt < need) {
119 val |= (long)(s->in[s->incnt++]) << s->bitcnt; /* load eight bits */
120 s->bitcnt += 8;
125 s->bitcnt -= need;
152 /* discard leftover bits from current byte (assumes s->bitcnt < 8) */
154 s->bitcnt = 0;
257 left = s->bitcnt;
268 s->bitcnt = (s->bitcnt - len) & 7;
759 s.bitcnt = 0;