Lines Matching defs:hold
123 state->hold = 0;
233 state->hold = 0;
239 state->hold += (unsigned)value << state->bits;
452 hold = state->hold; \
463 state->hold = hold; \
470 hold = 0; \
480 hold += (unsigned long)(*next++) << bits; \
494 ((unsigned)hold & ((1U << (n)) - 1))
499 hold >>= (n); \
506 hold >>= bits & 7; \
597 unsigned long hold; /* bit buffer */
638 if ((state->wrap & 2) && hold == 0x8b1f) { /* gzip header */
642 CRC2(state->check, hold);
653 ((BITS(8) << 8) + (hold >> 8)) % 31) {
676 state->mode = hold & 0x200 ? DICTID : TYPE;
682 state->flags = (int)(hold);
694 state->head->text = (int)((hold >> 8) & 1);
696 CRC2(state->check, hold);
703 state->head->time = hold;
705 CRC4(state->check, hold);
712 state->head->xflags = (int)(hold & 0xff);
713 state->head->os = (int)(hold >> 8);
716 CRC2(state->check, hold);
723 state->length = (unsigned)(hold);
725 state->head->extra_len = (unsigned)hold;
727 CRC2(state->check, hold);
804 if ((state->wrap & 4) && hold != (state->check & 0xffff)) {
821 strm->adler = state->check = ZSWAP32(hold);
875 if ((hold & 0xffff) != ((hold >> 16) ^ 0xffff)) {
880 state->length = (unsigned)hold & 0xffff;
1204 state->flags ? hold :
1206 ZSWAP32(hold)) != state->check) {
1220 if ((state->wrap & 4) && hold != (state->total & 0xffffffff)) {
1399 state->hold >>= state->bits & 7;
1403 buf[len++] = (unsigned char)(state->hold);
1404 state->hold >>= 8;