Lines Matching refs:hold
128 state->hold = 0;
146 state->hold += value << state->bits;
416 hold = state->hold; \
427 state->hold = hold; \
434 hold = 0; \
444 hold += (unsigned long)(*next++) << bits; \
458 ((unsigned)hold & ((1U << (n)) - 1))
463 hold >>= (n); \
470 hold >>= bits & 7; \
569 unsigned long hold; /* bit buffer */
603 if ((state->wrap & 2) && hold == 0x8b1f) { /* gzip header */
605 CRC2(state->check, hold);
617 ((BITS(8) << 8) + (hold >> 8)) % 31) {
637 state->mode = hold & 0x200 ? DICTID : TYPE;
643 state->flags = (int)(hold);
655 state->head->text = (int)((hold >> 8) & 1);
656 if (state->flags & 0x0200) CRC2(state->check, hold);
663 state->head->time = hold;
664 if (state->flags & 0x0200) CRC4(state->check, hold);
671 state->head->xflags = (int)(hold & 0xff);
672 state->head->os = (int)(hold >> 8);
674 if (state->flags & 0x0200) CRC2(state->check, hold);
681 state->length = (unsigned)(hold);
683 state->head->extra_len = (unsigned)hold;
684 if (state->flags & 0x0200) CRC2(state->check, hold);
760 if (hold != (state->check & 0xffff)) {
777 strm->adler = state->check = REVERSE(hold);
827 if ((hold & 0xffff) != ((hold >> 16) ^ 0xffff)) {
832 state->length = (unsigned)hold & 0xffff;
1114 state->flags ? hold :
1116 REVERSE(hold)) != state->check) {
1130 if (hold != (state->total & 0xffffffffUL)) {
1305 state->hold <<= state->bits & 7;
1309 buf[len++] = (unsigned char)(state->hold);
1310 state->hold >>= 8;