Lines Matching refs:hold
122 state->hold = 0;
234 state->hold = 0;
243 state->hold += (unsigned)value << state->bits;
463 hold = state->hold; \
474 state->hold = hold; \
481 hold = 0; \
491 hold += (unsigned long)(*next++) << bits; \
505 ((unsigned)hold & ((1U << (n)) - 1))
510 hold >>= (n); \
517 hold >>= bits & 7; \
608 unsigned long hold; /* bit buffer */
648 if ((state->wrap & 2) && hold == 0x8b1f) { /* gzip header */
652 CRC2(state->check, hold);
665 ((BITS(8) << 8) + (hold >> 8)) % 31) {
690 state->mode = hold & 0x200 ? DICTID : TYPE;
696 state->flags = (int)(hold);
709 state->head->text = (int)((hold >> 8) & 1);
713 CRC2(state->check, hold);
722 state->head->time = hold;
726 CRC4(state->check, hold);
734 state->head->xflags = (int)(hold & 0xff);
735 state->head->os = (int)(hold >> 8);
739 CRC2(state->check, hold);
747 state->length = (unsigned)(hold);
750 state->head->extra_len = (unsigned)hold;
754 CRC2(state->check, hold);
861 if ((state->wrap & 4) && hold != (state->check & 0xffff)) {
878 strm->adler = state->check = ZSWAP32(hold);
935 if ((hold & 0xffff) != ((hold >> 16) ^ 0xffff)) {
940 state->length = (unsigned)hold & 0xffff;
1313 state->flags ? hold :
1315 ZSWAP32(hold)) != state->check) {
1329 if ((state->wrap & 4) && hold != (state->total & 0xffffffff)) {
1543 state->hold >>= state->bits & 7;
1547 buf[len++] = (unsigned char)(state->hold);
1548 state->hold >>= 8;