Lines Matching refs:bits

137     state->bits = 0;
248 int ZEXPORT inflatePrime(strm, bits, value) in inflatePrime() argument
250 int bits;
257 if (bits < 0) {
259 state->bits = 0;
262 if (bits > 16 || state->bits + (uInt)bits > 32) return Z_STREAM_ERROR;
263 value &= (1L << bits) - 1;
264 state->hold += (unsigned)value << state->bits;
265 state->bits += (uInt)bits;
289 unsigned sym, bits; local
300 bits = 9;
301 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
307 bits = 5;
308 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
364 state.lencode[low].bits, state.lencode[low].val); in makefixed()
374 printf("{%u,%u,%d}", state.distcode[low].op, state.distcode[low].bits, in makefixed()
484 bits = state->bits; \
495 state->bits = bits; \
502 bits = 0; \
511 hold += (unsigned long)(*next++) << bits; \
512 bits += 8; \
519 while (bits < (unsigned)(n)) \
531 bits -= (unsigned)(n); \
537 hold >>= bits & 7; \
538 bits -= bits & 7; \
632 unsigned bits; /* bits in bit buffer */ local
969 if ((unsigned)(here.bits) <= bits) break;
973 DROPBITS(here.bits);
978 NEEDBITS(here.bits + 2);
979 DROPBITS(here.bits);
990 NEEDBITS(here.bits + 3);
991 DROPBITS(here.bits);
997 NEEDBITS(here.bits + 7);
998 DROPBITS(here.bits);
1064 if ((unsigned)(here.bits) <= bits) break;
1071 (BITS(last.bits + last.op) >> last.bits)];
1072 if ((unsigned)(last.bits + here.bits) <= bits) break;
1075 DROPBITS(last.bits);
1076 state->back += last.bits;
1078 DROPBITS(here.bits);
1079 state->back += here.bits;
1116 if ((unsigned)(here.bits) <= bits) break;
1123 (BITS(last.bits + last.op) >> last.bits)];
1124 if ((unsigned)(last.bits + here.bits) <= bits) break;
1127 DROPBITS(last.bits);
1128 state->back += last.bits;
1130 DROPBITS(here.bits);
1131 state->back += here.bits;
1282 strm->data_type = (int)state->bits + (state->last ? 64 : 0) +
1424 if (strm->avail_in == 0 && state->bits < 8) return Z_BUF_ERROR;
1429 state->hold <<= state->bits & 7;
1430 state->bits -= state->bits & 7;
1432 while (state->bits >= 8) {
1435 state->bits -= 8;
1471 return state->mode == STORED && state->bits == 0;