Lines Matching refs:hold
120 state->hold = 0;
240 state->hold = 0;
246 state->hold += value << state->bits;
465 hold = state->hold; \
476 state->hold = hold; \
483 hold = 0; \
493 hold += (unsigned long)(*next++) << bits; \
507 ((unsigned)hold & ((1U << (n)) - 1))
512 hold >>= (n); \
519 hold >>= bits & 7; \
613 unsigned long hold; /* bit buffer */ local
647 if ((state->wrap & 2) && hold == 0x8b1f) { /* gzip header */
649 CRC2(state->check, hold);
661 ((BITS(8) << 8) + (hold >> 8)) % 31) {
683 state->mode = hold & 0x200 ? DICTID : TYPE;
689 state->flags = (int)(hold);
701 state->head->text = (int)((hold >> 8) & 1);
702 if (state->flags & 0x0200) CRC2(state->check, hold);
708 state->head->time = hold;
709 if (state->flags & 0x0200) CRC4(state->check, hold);
715 state->head->xflags = (int)(hold & 0xff);
716 state->head->os = (int)(hold >> 8);
718 if (state->flags & 0x0200) CRC2(state->check, hold);
724 state->length = (unsigned)(hold);
726 state->head->extra_len = (unsigned)hold;
727 if (state->flags & 0x0200) CRC2(state->check, hold);
799 if (hold != (state->check & 0xffff)) {
816 strm->adler = state->check = ZSWAP32(hold);
867 if ((hold & 0xffff) != ((hold >> 16) ^ 0xffff)) {
872 state->length = (unsigned)hold & 0xffff;
1186 state->flags ? hold :
1188 ZSWAP32(hold)) != state->check) {
1201 if (hold != (state->total & 0xffffffffUL)) {
1393 state->hold <<= state->bits & 7;
1397 buf[len++] = (unsigned char)(state->hold);
1398 state->hold >>= 8;