Lines Matching refs:check
152 # define UPDATE(check, buf, len) \ argument
153 (state->flags ? crc32(check, buf, len) : adler32(check, buf, len))
155 # define UPDATE(check, buf, len) adler32(check, buf, len) argument
160 # define CRC2(check, word) \ argument
164 check = crc32(check, hbuf, 2); \
167 # define CRC4(check, word) \ argument
173 check = crc32(check, hbuf, 4); \
369 state->check = crc32(0L, Z_NULL, 0); in inflate()
370 CRC2(state->check, hold); in inflate()
401 strm->adler = state->check = adler32(0L, Z_NULL, 0); in inflate()
421 if (state->flags & 0x0200) CRC2(state->check, hold); in inflate()
428 if (state->flags & 0x0200) CRC4(state->check, hold); in inflate()
437 if (state->flags & 0x0200) CRC2(state->check, hold); in inflate()
446 if (state->flags & 0x0200) CRC2(state->check, hold); in inflate()
465 state->check = crc32(state->check, next, copy); in inflate()
486 state->check = crc32(state->check, next, copy); in inflate()
507 state->check = crc32(state->check, next, copy); in inflate()
518 if (hold != (state->check & 0xffff)) { in inflate()
529 strm->adler = state->check = crc32(0L, Z_NULL, 0); in inflate()
535 strm->adler = state->check = REVERSE(hold); in inflate()
543 strm->adler = state->check = adler32(0L, Z_NULL, 0); in inflate()
858 strm->adler = state->check = in inflate()
859 UPDATE(state->check, put - out, out); in inflate()
865 REVERSE(hold)) != state->check) { in inflate()
920 strm->adler = state->check = in inflate()
921 UPDATE(state->check, strm->next_out - out, out); in inflate()