Lines Matching refs:hold
121 state->hold = 0;
219 state->hold = 0;
225 state->hold += value << state->bits;
444 hold = state->hold; \
455 state->hold = hold; \
462 hold = 0; \
472 hold += (unsigned long)(*next++) << bits; \
486 ((unsigned)hold & ((1U << (n)) - 1))
491 hold >>= (n); \
498 hold >>= bits & 7; \
597 unsigned long hold; /* bit buffer */ local
631 if ((state->wrap & 2) && hold == 0x8b1f) { /* gzip header */
633 CRC2(state->check, hold);
645 ((BITS(8) << 8) + (hold >> 8)) % 31) {
667 state->mode = hold & 0x200 ? DICTID : TYPE;
673 state->flags = (int)(hold);
685 state->head->text = (int)((hold >> 8) & 1);
686 if (state->flags & 0x0200) CRC2(state->check, hold);
692 state->head->time = hold;
693 if (state->flags & 0x0200) CRC4(state->check, hold);
699 state->head->xflags = (int)(hold & 0xff);
700 state->head->os = (int)(hold >> 8);
702 if (state->flags & 0x0200) CRC2(state->check, hold);
708 state->length = (unsigned)(hold);
710 state->head->extra_len = (unsigned)hold;
711 if (state->flags & 0x0200) CRC2(state->check, hold);
783 if (hold != (state->check & 0xffff)) {
800 strm->adler = state->check = REVERSE(hold);
851 if ((hold & 0xffff) != ((hold >> 16) ^ 0xffff)) {
856 state->length = (unsigned)hold & 0xffff;
1171 state->flags ? hold :
1173 REVERSE(hold)) != state->check) {
1186 if (hold != (state->total & 0xffffffffUL)) {
1361 state->hold <<= state->bits & 7;
1365 buf[len++] = (unsigned char)(state->hold);
1366 state->hold >>= 8;