Lines Matching refs:check
452 # define UPDATE_CHECK(check, buf, len) \ argument
453 (state->flags ? crc32(check, buf, len) : adler32(check, buf, len))
455 # define UPDATE_CHECK(check, buf, len) adler32(check, buf, len) argument
460 # define CRC2(check, word) \ argument
464 check = crc32(check, hbuf, 2); \
467 # define CRC4(check, word) \ argument
473 check = crc32(check, hbuf, 4); \
669 state->check = crc32(0L, Z_NULL, 0);
670 CRC2(state->check, hold);
703 strm->adler = state->check = adler32(0L, Z_NULL, 0);
724 CRC2(state->check, hold);
733 CRC4(state->check, hold);
744 CRC2(state->check, hold);
755 CRC2(state->check, hold);
775 state->check = crc32(state->check, next, copy);
797 state->check = crc32(state->check, next, copy);
819 state->check = crc32(state->check, next, copy);
831 if ((state->wrap & 4) && hold != (state->check & 0xffff)) {
842 strm->adler = state->check = crc32(0L, Z_NULL, 0);
848 strm->adler = state->check = ZSWAP32(hold);
857 strm->adler = state->check = adler32(0L, Z_NULL, 0);
1226 strm->adler = state->check =
1227 UPDATE_CHECK(state->check, put - out, out);
1233 ZSWAP32(hold)) != state->check) {
1292 strm->adler = state->check =
1293 UPDATE_CHECK(state->check, strm->next_out - out, out);
1358 if (dictid != state->check)
1558 int ZEXPORT inflateValidate(strm, check) in inflateValidate() argument
1560 int check;
1566 if (check && state->wrap)