Lines Matching defs:hold
119 state->hold = 0;
239 state->hold = 0;
245 state->hold += value << state->bits;
464 hold = state->hold; \
475 state->hold = hold; \
482 hold = 0; \
492 hold += (unsigned long)(*next++) << bits; \
506 ((unsigned)hold & ((1U << (n)) - 1))
511 hold >>= (n); \
518 hold >>= bits & 7; \
617 unsigned long hold; /* bit buffer */
651 if ((state->wrap & 2) && hold == 0x8b1f) { /* gzip header */
653 CRC2(state->check, hold);
665 ((BITS(8) << 8) + (hold >> 8)) % 31) {
687 state->mode = hold & 0x200 ? DICTID : TYPE;
693 state->flags = (int)(hold);
705 state->head->text = (int)((hold >> 8) & 1);
706 if (state->flags & 0x0200) CRC2(state->check, hold);
712 state->head->time = hold;
713 if (state->flags & 0x0200) CRC4(state->check, hold);
719 state->head->xflags = (int)(hold & 0xff);
720 state->head->os = (int)(hold >> 8);
722 if (state->flags & 0x0200) CRC2(state->check, hold);
728 state->length = (unsigned)(hold);
730 state->head->extra_len = (unsigned)hold;
731 if (state->flags & 0x0200) CRC2(state->check, hold);
803 if (hold != (state->check & 0xffff)) {
820 strm->adler = state->check = REVERSE(hold);
871 if ((hold & 0xffff) != ((hold >> 16) ^ 0xffff)) {
876 state->length = (unsigned)hold & 0xffff;
1190 state->flags ? hold :
1192 REVERSE(hold)) != state->check) {
1205 if (hold != (state->total & 0xffffffffUL)) {
1382 state->hold <<= state->bits & 7;
1386 buf[len++] = (unsigned char)(state->hold);
1387 state->hold >>= 8;