Lines Matching defs:hold
122 state->hold = 0;
233 state->hold = 0;
239 state->hold += (unsigned)value << state->bits;
462 hold = state->hold; \
473 state->hold = hold; \
480 hold = 0; \
490 hold += (unsigned long)(*next++) << bits; \
504 ((unsigned)hold & ((1U << (n)) - 1))
509 hold >>= (n); \
516 hold >>= bits & 7; \
607 unsigned long hold; /* bit buffer */
641 if ((state->wrap & 2) && hold == 0x8b1f) { /* gzip header */
645 CRC2(state->check, hold);
656 ((BITS(8) << 8) + (hold >> 8)) % 31) {
679 state->mode = hold & 0x200 ? DICTID : TYPE;
685 state->flags = (int)(hold);
697 state->head->text = (int)((hold >> 8) & 1);
699 CRC2(state->check, hold);
706 state->head->time = hold;
708 CRC4(state->check, hold);
715 state->head->xflags = (int)(hold & 0xff);
716 state->head->os = (int)(hold >> 8);
719 CRC2(state->check, hold);
726 state->length = (unsigned)(hold);
728 state->head->extra_len = (unsigned)hold;
730 CRC2(state->check, hold);
807 if ((state->wrap & 4) && hold != (state->check & 0xffff)) {
824 strm->adler = state->check = ZSWAP32(hold);
878 if ((hold & 0xffff) != ((hold >> 16) ^ 0xffff)) {
883 state->length = (unsigned)hold & 0xffff;
1207 state->flags ? hold :
1209 ZSWAP32(hold)) != state->check) {
1223 if ((state->wrap & 4) && hold != (state->total & 0xffffffff)) {
1425 state->hold >>= state->bits & 7;
1429 buf[len++] = (unsigned char)(state->hold);
1430 state->hold >>= 8;