Lines Matching refs:check
142 implementation to provide an additional safety check. PPP uses
163 /* check function to use adler32() for zlib or crc32() for gzip */
164 #define UPDATE(check, buf, len) zlib_adler32(check, buf, len)
299 update the check value, and determine whether any progress has been made
336 /* Do not check for strm->next_out == NULL here as ppc zImage
345 if (state->mode == TYPE) state->mode = TYPEDO; /* skip check */
360 strm->msg = (char *)"incorrect header check";
377 strm->adler = state->check = zlib_adler32(0L, NULL, 0);
383 strm->adler = state->check = REVERSE(hold);
391 strm->adler = state->check = zlib_adler32(0L, NULL, 0);
686 strm->adler = state->check =
687 UPDATE(state->check, put - out, out);
690 REVERSE(hold)) != state->check) {
691 strm->msg = (char *)"incorrect data check";
712 Return from inflate(), updating the total counts and the check value.
727 strm->adler = state->check =
728 UPDATE(state->check, strm->next_out - out, out);
780 z->adler = state->check =
781 UPDATE(state->check, z->next_in, z->avail_in);