Lines Matching defs:bitcnt
108 int bitcnt; /* number of bits in bit buffer */
131 while (s->bitcnt < need) {
134 val |= (long)(s->in[s->incnt++]) << s->bitcnt; /* load eight bits */
135 s->bitcnt += 8;
140 s->bitcnt -= need;
167 /* discard leftover bits from current byte (assumes s->bitcnt < 8) */
169 s->bitcnt = 0;
274 left = s->bitcnt;
285 s->bitcnt = (s->bitcnt - len) & 7;
809 s.bitcnt = 0;