Lines Matching defs:hold
121 state->hold = 0;
232 state->hold = 0;
238 state->hold += (unsigned)value << state->bits;
451 hold = state->hold; \
462 state->hold = hold; \
469 hold = 0; \
479 hold += (unsigned long)(*next++) << bits; \
493 ((unsigned)hold & ((1U << (n)) - 1))
498 hold >>= (n); \
505 hold >>= bits & 7; \
596 unsigned long hold; /* bit buffer */
630 if ((state->wrap & 2) && hold == 0x8b1f) { /* gzip header */
634 CRC2(state->check, hold);
645 ((BITS(8) << 8) + (hold >> 8)) % 31) {
668 state->mode = hold & 0x200 ? DICTID : TYPE;
674 state->flags = (int)(hold);
686 state->head->text = (int)((hold >> 8) & 1);
688 CRC2(state->check, hold);
695 state->head->time = hold;
697 CRC4(state->check, hold);
704 state->head->xflags = (int)(hold & 0xff);
705 state->head->os = (int)(hold >> 8);
708 CRC2(state->check, hold);
715 state->length = (unsigned)(hold);
717 state->head->extra_len = (unsigned)hold;
719 CRC2(state->check, hold);
796 if ((state->wrap & 4) && hold != (state->check & 0xffff)) {
813 strm->adler = state->check = ZSWAP32(hold);
867 if ((hold & 0xffff) != ((hold >> 16) ^ 0xffff)) {
872 state->length = (unsigned)hold & 0xffff;
1197 state->flags ? hold :
1199 ZSWAP32(hold)) != state->check) {
1213 if ((state->wrap & 4) && hold != (state->total & 0xffffffff)) {
1392 state->hold >>= state->bits & 7;
1396 buf[len++] = (unsigned char)(state->hold);
1397 state->hold >>= 8;