Lines Matching refs:hold
136 state->hold = 0;
260 state->hold = 0;
266 state->hold += (unsigned)value << state->bits;
485 hold = state->hold; \
496 state->hold = hold; \
503 hold = 0; \
513 hold += (unsigned long)(*next++) << bits; \
527 ((unsigned)hold & ((1U << (n)) - 1))
532 hold >>= (n); \
539 hold >>= bits & 7; \
633 unsigned long hold; /* bit buffer */ local
667 if ((state->wrap & 2) && hold == 0x8b1f) { /* gzip header */
671 CRC2(state->check, hold);
682 ((BITS(8) << 8) + (hold >> 8)) % 31) {
705 state->mode = hold & 0x200 ? DICTID : TYPE;
711 state->flags = (int)(hold);
723 state->head->text = (int)((hold >> 8) & 1);
725 CRC2(state->check, hold);
732 state->head->time = hold;
734 CRC4(state->check, hold);
741 state->head->xflags = (int)(hold & 0xff);
742 state->head->os = (int)(hold >> 8);
745 CRC2(state->check, hold);
752 state->length = (unsigned)(hold);
754 state->head->extra_len = (unsigned)hold;
756 CRC2(state->check, hold);
833 if ((state->wrap & 4) && hold != (state->check & 0xffff)) {
850 strm->adler = state->check = ZSWAP32(hold);
904 if ((hold & 0xffff) != ((hold >> 16) ^ 0xffff)) {
909 state->length = (unsigned)hold & 0xffff;
1233 state->flags ? hold :
1235 ZSWAP32(hold)) != state->check) {
1249 if ((state->wrap & 4) && hold != (state->total & 0xffffffff)) {
1444 state->hold <<= state->bits & 7;
1448 buf[len++] = (unsigned char)(state->hold);
1449 state->hold >>= 8;