Lines Matching refs:bits
137 state->bits = 0;
250 int ZEXPORT inflatePrime(strm, bits, value) in inflatePrime() argument
252 int bits;
259 if (bits < 0) {
261 state->bits = 0;
264 if (bits > 16 || state->bits + (uInt)bits > 32) return Z_STREAM_ERROR;
265 value &= (1L << bits) - 1;
266 state->hold += (unsigned)value << state->bits;
267 state->bits += (uInt)bits;
291 unsigned sym, bits; local
302 bits = 9;
303 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
309 bits = 5;
310 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
366 state.lencode[low].bits, state.lencode[low].val); in makefixed()
376 printf("{%u,%u,%d}", state.distcode[low].op, state.distcode[low].bits, in makefixed()
486 bits = state->bits; \
497 state->bits = bits; \
504 bits = 0; \
513 hold += (unsigned long)(*next++) << bits; \
514 bits += 8; \
521 while (bits < (unsigned)(n)) \
533 bits -= (unsigned)(n); \
539 hold >>= bits & 7; \
540 bits -= bits & 7; \
634 unsigned bits; /* bits in bit buffer */ local
981 if ((unsigned)(here.bits) <= bits) break;
985 DROPBITS(here.bits);
990 NEEDBITS(here.bits + 2);
991 DROPBITS(here.bits);
1002 NEEDBITS(here.bits + 3);
1003 DROPBITS(here.bits);
1009 NEEDBITS(here.bits + 7);
1010 DROPBITS(here.bits);
1076 if ((unsigned)(here.bits) <= bits) break;
1083 (BITS(last.bits + last.op) >> last.bits)];
1084 if ((unsigned)(last.bits + here.bits) <= bits) break;
1087 DROPBITS(last.bits);
1088 state->back += last.bits;
1090 DROPBITS(here.bits);
1091 state->back += here.bits;
1128 if ((unsigned)(here.bits) <= bits) break;
1135 (BITS(last.bits + last.op) >> last.bits)];
1136 if ((unsigned)(last.bits + here.bits) <= bits) break;
1139 DROPBITS(last.bits);
1140 state->back += last.bits;
1142 DROPBITS(here.bits);
1143 state->back += here.bits;
1296 strm->data_type = (int)state->bits + (state->last ? 64 : 0) +
1439 if (strm->avail_in == 0 && state->bits < 8) return Z_BUF_ERROR;
1444 state->hold <<= state->bits & 7;
1445 state->bits -= state->bits & 7;
1447 while (state->bits >= 8) {
1450 state->bits -= 8;
1492 return state->mode == STORED && state->bits == 0;