Lines Matching refs:check
453 # define UPDATE_CHECK(check, buf, len) \ argument
454 (state->flags ? crc32(check, buf, len) : adler32(check, buf, len))
456 # define UPDATE_CHECK(check, buf, len) adler32(check, buf, len) argument
461 # define CRC2(check, word) \ argument
465 check = crc32(check, hbuf, 2); \
468 # define CRC4(check, word) \ argument
474 check = crc32(check, hbuf, 4); \
670 state->check = crc32(0L, Z_NULL, 0);
671 CRC2(state->check, hold);
704 strm->adler = state->check = adler32(0L, Z_NULL, 0);
725 CRC2(state->check, hold);
734 CRC4(state->check, hold);
745 CRC2(state->check, hold);
756 CRC2(state->check, hold);
777 state->check = crc32(state->check, next, copy);
799 state->check = crc32(state->check, next, copy);
821 state->check = crc32(state->check, next, copy);
833 if ((state->wrap & 4) && hold != (state->check & 0xffff)) {
844 strm->adler = state->check = crc32(0L, Z_NULL, 0);
850 strm->adler = state->check = ZSWAP32(hold);
859 strm->adler = state->check = adler32(0L, Z_NULL, 0);
1228 strm->adler = state->check =
1229 UPDATE_CHECK(state->check, put - out, out);
1235 ZSWAP32(hold)) != state->check) {
1294 strm->adler = state->check =
1295 UPDATE_CHECK(state->check, strm->next_out - out, out);
1360 if (dictid != state->check)
1560 int ZEXPORT inflateValidate(strm, check) in inflateValidate() argument
1562 int check;
1568 if (check && state->wrap)