Lines Matching refs:hold
135 state->hold = 0;
257 state->hold = 0;
263 state->hold += (unsigned)value << state->bits;
482 hold = state->hold; \
493 state->hold = hold; \
500 hold = 0; \
510 hold += (unsigned long)(*next++) << bits; \
524 ((unsigned)hold & ((1U << (n)) - 1))
529 hold >>= (n); \
536 hold >>= bits & 7; \
630 unsigned long hold; /* bit buffer */ local
664 if ((state->wrap & 2) && hold == 0x8b1f) { /* gzip header */
668 CRC2(state->check, hold);
680 ((BITS(8) << 8) + (hold >> 8)) % 31) {
702 state->mode = hold & 0x200 ? DICTID : TYPE;
708 state->flags = (int)(hold);
720 state->head->text = (int)((hold >> 8) & 1);
722 CRC2(state->check, hold);
728 state->head->time = hold;
730 CRC4(state->check, hold);
736 state->head->xflags = (int)(hold & 0xff);
737 state->head->os = (int)(hold >> 8);
740 CRC2(state->check, hold);
746 state->length = (unsigned)(hold);
748 state->head->extra_len = (unsigned)hold;
750 CRC2(state->check, hold);
822 if ((state->wrap & 4) && hold != (state->check & 0xffff)) {
839 strm->adler = state->check = ZSWAP32(hold);
890 if ((hold & 0xffff) != ((hold >> 16) ^ 0xffff)) {
895 state->length = (unsigned)hold & 0xffff;
1209 state->flags ? hold :
1211 ZSWAP32(hold)) != state->check) {
1224 if (hold != (state->total & 0xffffffffUL)) {
1416 state->hold <<= state->bits & 7;
1420 buf[len++] = (unsigned char)(state->hold);
1421 state->hold >>= 8;