Lines Matching defs:hold
121 state->hold = 0;
231 state->hold = 0;
237 state->hold += (unsigned)value << state->bits;
450 hold = state->hold; \
461 state->hold = hold; \
468 hold = 0; \
478 hold += (unsigned long)(*next++) << bits; \
492 ((unsigned)hold & ((1U << (n)) - 1))
497 hold >>= (n); \
504 hold >>= bits & 7; \
595 unsigned long hold; /* bit buffer */
629 if ((state->wrap & 2) && hold == 0x8b1f) { /* gzip header */
633 CRC2(state->check, hold);
644 ((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);
687 CRC2(state->check, hold);
694 state->head->time = hold;
696 CRC4(state->check, hold);
703 state->head->xflags = (int)(hold & 0xff);
704 state->head->os = (int)(hold >> 8);
707 CRC2(state->check, hold);
714 state->length = (unsigned)(hold);
716 state->head->extra_len = (unsigned)hold;
718 CRC2(state->check, hold);
795 if ((state->wrap & 4) && hold != (state->check & 0xffff)) {
812 strm->adler = state->check = ZSWAP32(hold);
866 if ((hold & 0xffff) != ((hold >> 16) ^ 0xffff)) {
871 state->length = (unsigned)hold & 0xffff;
1195 state->flags ? hold :
1197 ZSWAP32(hold)) != state->check) {
1211 if ((state->wrap & 4) && hold != (state->total & 0xffffffff)) {
1390 state->hold <<= state->bits & 7;
1394 buf[len++] = (unsigned char)(state->hold);
1395 state->hold >>= 8;