Lines Matching refs:hold
136 state->hold = 0;
259 state->hold = 0;
265 state->hold += (unsigned)value << state->bits;
494 hold = state->hold; \
505 state->hold = hold; \
512 hold = 0; \
522 hold += (unsigned long)(*next++) << bits; \
536 ((unsigned)hold & ((1U << (n)) - 1))
541 hold >>= (n); \
548 hold >>= bits & 7; \
642 unsigned long hold; /* bit buffer */ local
676 if ((state->wrap & 2) && hold == 0x8b1f) { /* gzip header */
680 CRC2(state->check, hold);
692 ((BITS(8) << 8) + (hold >> 8)) % 31) {
714 state->mode = hold & 0x200 ? DICTID : TYPE;
720 state->flags = (int)(hold);
732 state->head->text = (int)((hold >> 8) & 1);
734 CRC2(state->check, hold);
740 state->head->time = hold;
742 CRC4(state->check, hold);
748 state->head->xflags = (int)(hold & 0xff);
749 state->head->os = (int)(hold >> 8);
752 CRC2(state->check, hold);
758 state->length = (unsigned)(hold);
760 state->head->extra_len = (unsigned)hold;
762 CRC2(state->check, hold);
834 if ((state->wrap & 4) && hold != (state->check & 0xffff)) {
851 strm->adler = state->check = ZSWAP32(hold);
902 if ((hold & 0xffff) != ((hold >> 16) ^ 0xffff)) {
907 state->length = (unsigned)hold & 0xffff;
1221 state->flags ? hold :
1223 ZSWAP32(hold)) != state->check) {
1236 if (hold != (state->total & 0xffffffffUL)) {
1438 state->hold <<= state->bits & 7;
1442 buf[len++] = (unsigned char)(state->hold);
1443 state->hold >>= 8;