Lines Matching defs:check

257 typedef uLong (*check_func) OF((uLong check, const Bytef *buf, uInt len));
1300 * Try with and without -DUNALIGNED_OK to check.
1344 * strstart+3, +5, ... up to strstart+257. We check for insufficient
1345 * lookahead only every 4th comparison; the 128th check will be made
1348 * to check more often for insufficient lookahead.
1374 /* The check at best_len-1 can be removed because it will be made
1383 /* We check for insufficient lookahead only every 8th comparison;
1384 * the 256th check will be made at strstart+258.
1428 /* check that the match is indeed a match */
3022 check_func c, /* check function */
3033 uLongf *)); /* check value on output */
3038 uLongf *)); /* check value on output */
3064 DICT4, /* four dictionary check bytes to go */
3065 DICT3, /* three dictionary check bytes to go */
3066 DICT2, /* two dictionary check bytes to go */
3067 DICT1, /* one dictionary check byte to go */
3070 CHECK4, /* four check bytes to go */
3071 CHECK3, /* three check bytes to go */
3072 CHECK2, /* two check bytes to go */
3073 CHECK1, /* one check byte to go */
3074 DONE, /* finished check, done */
3082 uLong was; /* computed check value */
3083 uLong need; /* stream check value */
3084 } check; /* if CHECK, check values to compare */
3156 /* handle undocumented nowrap option (no zlib header or check) */
3235 z->msg = (char*)"incorrect header check";
3248 z->state->sub.check.need = (uLong)NEXTBYTE << 24;
3252 z->state->sub.check.need += (uLong)NEXTBYTE << 16;
3256 z->state->sub.check.need += (uLong)NEXTBYTE << 8;
3260 z->state->sub.check.need += (uLong)NEXTBYTE;
3261 z->adler = z->state->sub.check.need;
3282 inflate_blocks_reset(z->state->blocks, z, &z->state->sub.check.was);
3291 z->state->sub.check.need = (uLong)NEXTBYTE << 24;
3295 z->state->sub.check.need += (uLong)NEXTBYTE << 16;
3299 z->state->sub.check.need += (uLong)NEXTBYTE << 8;
3303 z->state->sub.check.need += (uLong)NEXTBYTE;
3305 if (z->state->sub.check.was != z->state->sub.check.need)
3308 z->msg = (char*)"incorrect data check";
3312 Trace((stderr, "inflate: zlib check ok\n"));
3586 check_func checkfn; /* check function */
3587 uLong check; /* check on output */
3663 7. Unzip can check dynamic Huffman blocks for complete code sets.
3691 *c = s->check;
3705 z->adler = s->check = (*s->checkfn)(0L, Z_NULL, 0);
3729 inflate_blocks_reset(s, z, &s->check);
4069 /* update check information */
4071 s->check = (*s->checkfn)(s->check, q, t);
4903 /* update check information */
4905 z->adler = s->check = (*s->checkfn)(s->check, q, n);
4931 /* update check information */
4933 z->adler = s->check = (*s->checkfn)(s->check, q, n);