Lines Matching refs:bits
47 state->bits = 0; in zlib_inflateReset()
172 if (state->mode == STORED && state->bits == 0) { in zlib_inflateSyncPacket()
192 bits = state->bits; \
203 state->bits = bits; \
210 bits = 0; \
219 hold += (unsigned long)(*next++) << bits; \
220 bits += 8; \
227 while (bits < (unsigned)(n)) \
239 bits -= (unsigned)(n); \
245 hold >>= bits & 7; \
246 bits -= bits & 7; \
338 unsigned bits; /* bits in bit buffer */ in zlib_inflate() local
509 if ((unsigned)(this.bits) <= bits) break; in zlib_inflate()
513 NEEDBITS(this.bits); in zlib_inflate()
514 DROPBITS(this.bits); in zlib_inflate()
519 NEEDBITS(this.bits + 2); in zlib_inflate()
520 DROPBITS(this.bits); in zlib_inflate()
531 NEEDBITS(this.bits + 3); in zlib_inflate()
532 DROPBITS(this.bits); in zlib_inflate()
538 NEEDBITS(this.bits + 7); in zlib_inflate()
539 DROPBITS(this.bits); in zlib_inflate()
588 if ((unsigned)(this.bits) <= bits) break; in zlib_inflate()
595 (BITS(last.bits + last.op) >> last.bits)]; in zlib_inflate()
596 if ((unsigned)(last.bits + this.bits) <= bits) break; in zlib_inflate()
599 DROPBITS(last.bits); in zlib_inflate()
601 DROPBITS(this.bits); in zlib_inflate()
630 if ((unsigned)(this.bits) <= bits) break; in zlib_inflate()
637 (BITS(last.bits + last.op) >> last.bits)]; in zlib_inflate()
638 if ((unsigned)(last.bits + this.bits) <= bits) break; in zlib_inflate()
641 DROPBITS(last.bits); in zlib_inflate()
643 DROPBITS(this.bits); in zlib_inflate()
757 strm->data_type = state->bits + (state->last ? 64 : 0) + in zlib_inflate()