Lines Matching refs:hold
137 state->hold = 0;
259 state->hold = 0;
265 state->hold += (unsigned)value << state->bits;
484 hold = state->hold; \
495 state->hold = hold; \
502 hold = 0; \
512 hold += (unsigned long)(*next++) << bits; \
526 ((unsigned)hold & ((1U << (n)) - 1))
531 hold >>= (n); \
538 hold >>= bits & 7; \
632 unsigned long hold; /* bit buffer */ local
666 if ((state->wrap & 2) && hold == 0x8b1f) { /* gzip header */
670 CRC2(state->check, hold);
681 ((BITS(8) << 8) + (hold >> 8)) % 31) {
704 state->mode = hold & 0x200 ? DICTID : TYPE;
710 state->flags = (int)(hold);
722 state->head->text = (int)((hold >> 8) & 1);
724 CRC2(state->check, hold);
731 state->head->time = hold;
733 CRC4(state->check, hold);
740 state->head->xflags = (int)(hold & 0xff);
741 state->head->os = (int)(hold >> 8);
744 CRC2(state->check, hold);
751 state->length = (unsigned)(hold);
753 state->head->extra_len = (unsigned)hold;
755 CRC2(state->check, hold);
831 if ((state->wrap & 4) && hold != (state->check & 0xffff)) {
848 strm->adler = state->check = ZSWAP32(hold);
902 if ((hold & 0xffff) != ((hold >> 16) ^ 0xffff)) {
907 state->length = (unsigned)hold & 0xffff;
1231 state->flags ? hold :
1233 ZSWAP32(hold)) != state->check) {
1247 if ((state->wrap & 4) && hold != (state->total & 0xffffffff)) {
1442 state->hold <<= state->bits & 7;
1446 buf[len++] = (unsigned char)(state->hold);
1447 state->hold >>= 8;