Lines Matching refs:bits

136     state->bits = 0;
247 int ZEXPORT inflatePrime(strm, bits, value) in inflatePrime() argument
249 int bits;
256 if (bits < 0) {
258 state->bits = 0;
261 if (bits > 16 || state->bits + (uInt)bits > 32) return Z_STREAM_ERROR;
262 value &= (1L << bits) - 1;
263 state->hold += (unsigned)value << state->bits;
264 state->bits += (uInt)bits;
288 unsigned sym, bits; local
299 bits = 9;
300 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
306 bits = 5;
307 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
363 state.lencode[low].bits, state.lencode[low].val); in makefixed()
373 printf("{%u,%u,%d}", state.distcode[low].op, state.distcode[low].bits, in makefixed()
483 bits = state->bits; \
494 state->bits = bits; \
501 bits = 0; \
510 hold += (unsigned long)(*next++) << bits; \
511 bits += 8; \
518 while (bits < (unsigned)(n)) \
530 bits -= (unsigned)(n); \
536 hold >>= bits & 7; \
537 bits -= bits & 7; \
631 unsigned bits; /* bits in bit buffer */ local
963 if ((unsigned)(here.bits) <= bits) break;
967 DROPBITS(here.bits);
972 NEEDBITS(here.bits + 2);
973 DROPBITS(here.bits);
984 NEEDBITS(here.bits + 3);
985 DROPBITS(here.bits);
991 NEEDBITS(here.bits + 7);
992 DROPBITS(here.bits);
1056 if ((unsigned)(here.bits) <= bits) break;
1063 (BITS(last.bits + last.op) >> last.bits)];
1064 if ((unsigned)(last.bits + here.bits) <= bits) break;
1067 DROPBITS(last.bits);
1068 state->back += last.bits;
1070 DROPBITS(here.bits);
1071 state->back += here.bits;
1106 if ((unsigned)(here.bits) <= bits) break;
1113 (BITS(last.bits + last.op) >> last.bits)];
1114 if ((unsigned)(last.bits + here.bits) <= bits) break;
1117 DROPBITS(last.bits);
1118 state->back += last.bits;
1120 DROPBITS(here.bits);
1121 state->back += here.bits;
1269 strm->data_type = (int)state->bits + (state->last ? 64 : 0) +
1411 if (strm->avail_in == 0 && state->bits < 8) return Z_BUF_ERROR;
1416 state->hold <<= state->bits & 7;
1417 state->bits -= state->bits & 7;
1419 while (state->bits >= 8) {
1422 state->bits -= 8;
1458 return state->mode == STORED && state->bits == 0;