Lines Matching refs:check

418 #  define UPDATE_CHECK(check, buf, len) \  argument
419 (state->flags ? crc32(check, buf, len) : adler32(check, buf, len))
421 # define UPDATE_CHECK(check, buf, len) adler32(check, buf, len) argument
426 # define CRC2(check, word) \ argument
430 check = crc32(check, hbuf, 2); \
433 # define CRC4(check, word) \ argument
439 check = crc32(check, hbuf, 4); \
632 state->check = crc32(0L, Z_NULL, 0); in inflate()
633 CRC2(state->check, hold); in inflate()
666 strm->adler = state->check = adler32(0L, Z_NULL, 0); in inflate()
687 CRC2(state->check, hold); in inflate()
696 CRC4(state->check, hold); in inflate()
707 CRC2(state->check, hold); in inflate()
718 CRC2(state->check, hold); in inflate()
739 state->check = crc32(state->check, next, copy); in inflate()
761 state->check = crc32(state->check, next, copy); in inflate()
783 state->check = crc32(state->check, next, copy); in inflate()
795 if ((state->wrap & 4) && hold != (state->check & 0xffff)) { in inflate()
806 strm->adler = state->check = crc32(0L, Z_NULL, 0); in inflate()
812 strm->adler = state->check = ZSWAP32(hold); in inflate()
821 strm->adler = state->check = adler32(0L, Z_NULL, 0); in inflate()
1190 strm->adler = state->check = in inflate()
1191 UPDATE_CHECK(state->check, put - out, out); in inflate()
1197 ZSWAP32(hold)) != state->check) { in inflate()
1256 strm->adler = state->check = in inflate()
1257 UPDATE_CHECK(state->check, strm->next_out - out, out); in inflate()
1314 if (dictid != state->check) in inflateSetDictionary()
1498 int ZEXPORT inflateValidate(z_streamp strm, int check) { in inflateValidate() argument
1503 if (check && state->wrap) in inflateValidate()