Lines Matching defs:hold
148 state->hold = 0;
166 state->hold += value << state->bits;
438 hold = state->hold; \
449 state->hold = hold; \
456 hold = 0; \
466 hold += (unsigned long)(*next++) << bits; \
480 ((unsigned)hold & ((1U << (n)) - 1))
485 hold >>= (n); \
492 hold >>= bits & 7; \
591 unsigned long hold; /* bit buffer */
625 if ((state->wrap & 2) && hold == 0x8b1f) { /* gzip header */
627 CRC2(state->check, hold);
639 ((BITS(8) << 8) + (hold >> 8)) % 31) {
659 state->mode = hold & 0x200 ? DICTID : TYPE;
665 state->flags = (int)(hold);
677 state->head->text = (int)((hold >> 8) & 1);
678 if (state->flags & 0x0200) CRC2(state->check, hold);
684 state->head->time = hold;
685 if (state->flags & 0x0200) CRC4(state->check, hold);
691 state->head->xflags = (int)(hold & 0xff);
692 state->head->os = (int)(hold >> 8);
694 if (state->flags & 0x0200) CRC2(state->check, hold);
700 state->length = (unsigned)(hold);
702 state->head->extra_len = (unsigned)hold;
703 if (state->flags & 0x0200) CRC2(state->check, hold);
775 if (hold != (state->check & 0xffff)) {
792 strm->adler = state->check = REVERSE(hold);
839 if ((hold & 0xffff) != ((hold >> 16) ^ 0xffff)) {
844 state->length = (unsigned)hold & 0xffff;
1118 state->flags ? hold :
1120 REVERSE(hold)) != state->check) {
1133 if (hold != (state->total & 0xffffffffUL)) {
1307 state->hold <<= state->bits & 7;
1311 buf[len++] = (unsigned char)(state->hold);
1312 state->hold >>= 8;