Lines Matching defs:bits
18 /* architecture-specific bits */
47 state->bits = 0;
172 if (state->mode == STORED && state->bits == 0) {
192 bits = state->bits; \
203 state->bits = bits; \
210 bits = 0; \
219 hold += (unsigned long)(*next++) << bits; \
220 bits += 8; \
223 /* Assure that there are at least n bits in the bit accumulator. If there is
227 while (bits < (unsigned)(n)) \
231 /* Return the low n bits of the bit accumulator (n < 16) */
235 /* Remove n bits from the bit accumulator */
239 bits -= (unsigned)(n); \
242 /* Remove zero to seven bits as needed to go to a byte boundary */
245 hold >>= bits & 7; \
246 bits -= bits & 7; \
269 the requested bits are not available. The typical use of the BITS macros
277 input left to load n bits into the accumulator, or it continues. BITS(n)
278 gives the low n bits in the accumulator. When done, DROPBITS(n) drops
279 the low n bits off the accumulator. INITBITS() clears the accumulator
280 and sets the number of available bits to zero. BYTEBITS() discards just
281 enough bits to put the accumulator on a byte boundary. After BYTEBITS()
338 unsigned bits; /* bits in bit buffer */
344 unsigned len; /* length to copy for repeats, bits to drop */
509 if ((unsigned)(this.bits) <= bits) break;
513 NEEDBITS(this.bits);
514 DROPBITS(this.bits);
519 NEEDBITS(this.bits + 2);
520 DROPBITS(this.bits);
531 NEEDBITS(this.bits + 3);
532 DROPBITS(this.bits);
538 NEEDBITS(this.bits + 7);
539 DROPBITS(this.bits);
588 if ((unsigned)(this.bits) <= bits) break;
595 (BITS(last.bits + last.op) >> last.bits)];
596 if ((unsigned)(last.bits + this.bits) <= bits) break;
599 DROPBITS(last.bits);
601 DROPBITS(this.bits);
630 if ((unsigned)(this.bits) <= bits) break;
637 (BITS(last.bits + last.op) >> last.bits)];
638 if ((unsigned)(last.bits + this.bits) <= bits) break;
641 DROPBITS(last.bits);
643 DROPBITS(this.bits);
757 strm->data_type = state->bits + (state->last ? 64 : 0) +