Lines Matching refs:hold
121 state->hold = 0;
139 state->hold += value << state->bits;
409 hold = state->hold; \
420 state->hold = hold; \
427 hold = 0; \
437 hold += (unsigned long)(*next++) << bits; \
451 ((unsigned)hold & ((1U << (n)) - 1))
456 hold >>= (n); \
463 hold >>= bits & 7; \
562 unsigned long hold; /* bit buffer */
596 if ((state->wrap & 2) && hold == 0x8b1f) { /* gzip header */
598 CRC2(state->check, hold);
610 ((BITS(8) << 8) + (hold >> 8)) % 31) {
630 state->mode = hold & 0x200 ? DICTID : TYPE;
636 state->flags = (int)(hold);
648 state->head->text = (int)((hold >> 8) & 1);
649 if (state->flags & 0x0200) CRC2(state->check, hold);
655 state->head->time = hold;
656 if (state->flags & 0x0200) CRC4(state->check, hold);
662 state->head->xflags = (int)(hold & 0xff);
663 state->head->os = (int)(hold >> 8);
665 if (state->flags & 0x0200) CRC2(state->check, hold);
671 state->length = (unsigned)(hold);
673 state->head->extra_len = (unsigned)hold;
674 if (state->flags & 0x0200) CRC2(state->check, hold);
746 if (hold != (state->check & 0xffff)) {
763 strm->adler = state->check = REVERSE(hold);
810 if ((hold & 0xffff) != ((hold >> 16) ^ 0xffff)) {
815 state->length = (unsigned)hold & 0xffff;
1089 state->flags ? hold :
1091 REVERSE(hold)) != state->check) {
1104 if (hold != (state->total & 0xffffffffUL)) {
1278 state->hold <<= state->bits & 7;
1282 buf[len++] = (unsigned char)(state->hold);
1283 state->hold >>= 8;