Lines Matching refs:bits
138 state->bits = 0;
249 int ZEXPORT inflatePrime(strm, bits, value) in inflatePrime() argument
251 int bits;
258 if (bits < 0) {
260 state->bits = 0;
263 if (bits > 16 || state->bits + (uInt)bits > 32) return Z_STREAM_ERROR;
264 value &= (1L << bits) - 1;
265 state->hold += (unsigned)value << state->bits;
266 state->bits += (uInt)bits;
290 unsigned sym, bits; local
301 bits = 9;
302 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
308 bits = 5;
309 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
365 state.lencode[low].bits, state.lencode[low].val); in makefixed()
375 printf("{%u,%u,%d}", state.distcode[low].op, state.distcode[low].bits, in makefixed()
485 bits = state->bits; \
496 state->bits = bits; \
503 bits = 0; \
512 hold += (unsigned long)(*next++) << bits; \
513 bits += 8; \
520 while (bits < (unsigned)(n)) \
532 bits -= (unsigned)(n); \
538 hold >>= bits & 7; \
539 bits -= bits & 7; \
633 unsigned bits; /* bits in bit buffer */ local
979 if ((unsigned)(here.bits) <= bits) break;
983 DROPBITS(here.bits);
988 NEEDBITS(here.bits + 2);
989 DROPBITS(here.bits);
1000 NEEDBITS(here.bits + 3);
1001 DROPBITS(here.bits);
1007 NEEDBITS(here.bits + 7);
1008 DROPBITS(here.bits);
1074 if ((unsigned)(here.bits) <= bits) break;
1081 (BITS(last.bits + last.op) >> last.bits)];
1082 if ((unsigned)(last.bits + here.bits) <= bits) break;
1085 DROPBITS(last.bits);
1086 state->back += last.bits;
1088 DROPBITS(here.bits);
1089 state->back += here.bits;
1126 if ((unsigned)(here.bits) <= bits) break;
1133 (BITS(last.bits + last.op) >> last.bits)];
1134 if ((unsigned)(last.bits + here.bits) <= bits) break;
1137 DROPBITS(last.bits);
1138 state->back += last.bits;
1140 DROPBITS(here.bits);
1141 state->back += here.bits;
1294 strm->data_type = (int)state->bits + (state->last ? 64 : 0) +
1437 if (strm->avail_in == 0 && state->bits < 8) return Z_BUF_ERROR;
1442 state->hold <<= state->bits & 7;
1443 state->bits -= state->bits & 7;
1445 while (state->bits >= 8) {
1448 state->bits -= 8;
1490 return state->mode == STORED && state->bits == 0;