Lines Matching refs:hold
120 state->hold = 0; in inflateResetKeep()
240 state->hold = 0; in inflatePrime()
246 state->hold += value << state->bits; in inflatePrime()
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 */ in inflate() local
647 if ((state->wrap & 2) && hold == 0x8b1f) { /* gzip header */ in inflate()
649 CRC2(state->check, hold); in inflate()
661 ((BITS(8) << 8) + (hold >> 8)) % 31) { in inflate()
683 state->mode = hold & 0x200 ? DICTID : TYPE; in inflate()
689 state->flags = (int)(hold); in inflate()
701 state->head->text = (int)((hold >> 8) & 1); in inflate()
702 if (state->flags & 0x0200) CRC2(state->check, hold); in inflate()
708 state->head->time = hold; in inflate()
709 if (state->flags & 0x0200) CRC4(state->check, hold); in inflate()
715 state->head->xflags = (int)(hold & 0xff); in inflate()
716 state->head->os = (int)(hold >> 8); in inflate()
718 if (state->flags & 0x0200) CRC2(state->check, hold); in inflate()
724 state->length = (unsigned)(hold); in inflate()
726 state->head->extra_len = (unsigned)hold; in inflate()
727 if (state->flags & 0x0200) CRC2(state->check, hold); in inflate()
799 if (hold != (state->check & 0xffff)) { in inflate()
816 strm->adler = state->check = ZSWAP32(hold); in inflate()
867 if ((hold & 0xffff) != ((hold >> 16) ^ 0xffff)) { in inflate()
872 state->length = (unsigned)hold & 0xffff; in inflate()
1186 state->flags ? hold : in inflate()
1188 ZSWAP32(hold)) != state->check) { in inflate()
1201 if (hold != (state->total & 0xffffffffUL)) { in inflate()
1394 state->hold <<= state->bits & 7; in inflateSync()
1398 buf[len++] = (unsigned char)(state->hold); in inflateSync()
1399 state->hold >>= 8; in inflateSync()