Lines Matching refs:bits
37 state->bits = 0; in zlib_inflateReset()
153 if (state->mode == STORED && state->bits == 0) { in zlib_inflateSyncPacket()
173 bits = state->bits; \
184 state->bits = bits; \
191 bits = 0; \
200 hold += (unsigned long)(*next++) << bits; \
201 bits += 8; \
208 while (bits < (unsigned)(n)) \
220 bits -= (unsigned)(n); \
226 hold >>= bits & 7; \
227 bits -= bits & 7; \
324 unsigned bits; /* bits in bit buffer */ in zlib_inflate() local
488 if ((unsigned)(this.bits) <= bits) break; in zlib_inflate()
492 NEEDBITS(this.bits); in zlib_inflate()
493 DROPBITS(this.bits); in zlib_inflate()
498 NEEDBITS(this.bits + 2); in zlib_inflate()
499 DROPBITS(this.bits); in zlib_inflate()
510 NEEDBITS(this.bits + 3); in zlib_inflate()
511 DROPBITS(this.bits); in zlib_inflate()
517 NEEDBITS(this.bits + 7); in zlib_inflate()
518 DROPBITS(this.bits); in zlib_inflate()
566 if ((unsigned)(this.bits) <= bits) break; in zlib_inflate()
573 (BITS(last.bits + last.op) >> last.bits)]; in zlib_inflate()
574 if ((unsigned)(last.bits + this.bits) <= bits) break; in zlib_inflate()
577 DROPBITS(last.bits); in zlib_inflate()
579 DROPBITS(this.bits); in zlib_inflate()
606 if ((unsigned)(this.bits) <= bits) break; in zlib_inflate()
613 (BITS(last.bits + last.op) >> last.bits)]; in zlib_inflate()
614 if ((unsigned)(last.bits + this.bits) <= bits) break; in zlib_inflate()
617 DROPBITS(last.bits); in zlib_inflate()
619 DROPBITS(this.bits); in zlib_inflate()
729 strm->data_type = state->bits + (state->last ? 64 : 0) + in zlib_inflate()