Lines Matching refs:check
450 # define UPDATE(check, buf, len) \ argument
451 (state->flags ? crc32(check, buf, len) : adler32(check, buf, len))
453 # define UPDATE(check, buf, len) adler32(check, buf, len) argument
458 # define CRC2(check, word) \ argument
462 check = crc32(check, hbuf, 2); \
465 # define CRC4(check, word) \ argument
471 check = crc32(check, hbuf, 4); \
667 state->check = crc32(0L, Z_NULL, 0);
668 CRC2(state->check, hold);
701 strm->adler = state->check = adler32(0L, Z_NULL, 0);
722 CRC2(state->check, hold);
730 CRC4(state->check, hold);
740 CRC2(state->check, hold);
750 CRC2(state->check, hold);
769 state->check = crc32(state->check, next, copy);
790 state->check = crc32(state->check, next, copy);
811 state->check = crc32(state->check, next, copy);
822 if ((state->wrap & 4) && hold != (state->check & 0xffff)) {
833 strm->adler = state->check = crc32(0L, Z_NULL, 0);
839 strm->adler = state->check = ZSWAP32(hold);
847 strm->adler = state->check = adler32(0L, Z_NULL, 0);
1204 strm->adler = state->check =
1205 UPDATE(state->check, put - out, out);
1211 ZSWAP32(hold)) != state->check) {
1268 strm->adler = state->check =
1269 UPDATE(state->check, strm->next_out - out, out);
1334 if (dictid != state->check)
1527 int ZEXPORT inflateValidate(strm, check) in inflateValidate() argument
1529 int check;
1535 if (check)