Lines Matching defs:bits

52     unsigned sym, bits, low, size;
65 bits = 9;
66 inflate_table9(LENS, state.lens, 288, &(next), &(bits), state.work);
72 bits = 5;
73 inflate_table9(DISTS, state.lens, 32, &(next), &(bits), state.work);
90 printf("{%u,%u,%d}", lenfix[low].op, lenfix[low].bits,
101 printf("{%u,%u,%d}", distfix[low].op, distfix[low].bits,
116 bits = 0; \
139 hold += (unsigned long)(*next++) << bits; \
140 bits += 8; \
143 /* Assure that there are at least n bits in the bit accumulator. If there is
148 while (bits < (unsigned)(n)) \
152 /* Return the low n bits of the bit accumulator (n <= 16) */
156 /* Remove n bits from the bit accumulator */
160 bits -= (unsigned)(n); \
163 /* Remove zero to seven bits as needed to go to a byte boundary */
166 hold >>= bits & 7; \
167 bits -= bits & 7; \
225 unsigned bits; /* bits in bit buffer */
226 unsigned extra; /* extra bits needed */
233 unsigned lenbits; /* index bits for lencode */
234 unsigned distbits; /* index bits for distcode */
237 unsigned len; /* length to copy for repeats, bits to drop */
257 bits = 0;
377 if ((unsigned)(here.bits) <= bits) break;
381 NEEDBITS(here.bits);
382 DROPBITS(here.bits);
387 NEEDBITS(here.bits + 2);
388 DROPBITS(here.bits);
399 NEEDBITS(here.bits + 3);
400 DROPBITS(here.bits);
406 NEEDBITS(here.bits + 7);
407 DROPBITS(here.bits);
462 if ((unsigned)(here.bits) <= bits) break;
469 (BITS(last.bits + last.op) >> last.bits)];
470 if ((unsigned)(last.bits + here.bits) <= bits) break;
473 DROPBITS(last.bits);
475 DROPBITS(here.bits);
504 /* length code -- get extra bits, if any */
516 if ((unsigned)(here.bits) <= bits) break;
523 (BITS(last.bits + last.op) >> last.bits)];
524 if ((unsigned)(last.bits + here.bits) <= bits) break;
527 DROPBITS(last.bits);
529 DROPBITS(here.bits);
537 /* get distance extra bits, if any */