Lines Matching defs:check
493 directory information, and uses a different, slower check method than zlib.
757 * The __SC__ check is for Symantec.
1184 /* initial Adler-32 value (deferred check for len == 1 speed) */
1591 DICTID, /* i: waiting for dictionary check value */
1594 TYPEDO, /* i: same, but skip check to exit inflate on new block */
1606 CHECK, /* i: waiting for 32-bit check value */
1608 DONE, /* finished check, done -- remain here until reset */
1645 unsigned long check; /* protected copy of check value */
1761 This routine assumes, but does not check, that all of the entries in
1803 /* check for an over-subscribed or incomplete set of lengths */
1832 of the low root bits of huff. This is saved in low to check for when a
1845 sufficiency of ENOUGH has not been proven exhaustively, hence the check.
1884 /* check available table space */
1951 /* check for enough space */
2594 /* check function to use adler32() for zlib or crc32() for gzip */
2596 # define UPDATE(check, buf, len) \
2597 (state->flags ? crc32(check, buf, len) : adler32(check, buf, len))
2599 # define UPDATE(check, buf, len) adler32(check, buf, len)
2602 /* check macros for header crc */
2604 # define CRC2(check, word) \
2608 check = crc32(check, hbuf, 2); \
2611 # define CRC4(check, word) \
2617 check = crc32(check, hbuf, 4); \
2754 update the check value, and determine whether any progress has been made
2801 if (state->mode == TYPE) state->mode = TYPEDO; /* skip check */
2816 state->check = crc32(0L, Z_NULL, 0);
2817 CRC2(state->check, hold);
2825 if (!(state->wrap & 1) || /* check if zlib header allowed */
2830 strm->msg = (char *)"incorrect header check";
2848 strm->adler = state->check = adler32(0L, Z_NULL, 0);
2868 if (state->flags & 0x0200) CRC2(state->check, hold);
2875 if (state->flags & 0x0200) CRC4(state->check, hold);
2884 if (state->flags & 0x0200) CRC2(state->check, hold);
2893 if (state->flags & 0x0200) CRC2(state->check, hold);
2912 state->check = crc32(state->check, next, copy);
2933 state->check = crc32(state->check, next, copy);
2954 state->check = crc32(state->check, next, copy);
2965 if (hold != (state->check & 0xffff)) {
2976 strm->adler = state->check = crc32(0L, Z_NULL, 0);
2982 strm->adler = state->check = REVERSE(hold);
2990 strm->adler = state->check = adler32(0L, Z_NULL, 0);
3303 strm->adler = state->check =
3304 UPDATE(state->check, put - out, out);
3310 REVERSE(hold)) != state->check) {
3311 strm->msg = (char *)"incorrect data check";
3316 Tracev((stderr, "inflate: check matches trailer\n"));
3324 strm->msg = (char *)"incorrect length check";
3347 Return from inflate(), updating the total counts and the check value.
3365 strm->adler = state->check =
3366 UPDATE(state->check, strm->next_out - out, out);
3396 /* check state */
3402 /* check for correct dictionary id */
3406 if (id != state->check)
3436 /* check state */
3491 /* check parameters */
3529 implementation to provide an additional safety check. PPP uses
3553 /* check input */
3894 /* Peek ahead to check the gzip magic header */
4974 fprintf(stderr, "check sum %lu != %lu\n", m, n);
5042 * check for non-local paths