Lines Matching defs:check
14 DICT4, /* four dictionary check bytes to go */
15 DICT3, /* three dictionary check bytes to go */
16 DICT2, /* two dictionary check bytes to go */
17 DICT1, /* one dictionary check byte to go */
20 CHECK4, /* four check bytes to go */
21 CHECK3, /* three check bytes to go */
22 CHECK2, /* two check bytes to go */
23 CHECK1, /* one check byte to go */
24 DONE, /* finished check, done */
38 uLong was; /* computed check value */
39 uLong need; /* stream check value */
40 } check; /* if CHECK, check values to compare */
106 /* handle undocumented nowrap option (no zlib header or check) */
186 z->msg = (char*)"incorrect header check";
199 z->state->sub.check.need = (uLong)NEXTBYTE << 24;
203 z->state->sub.check.need += (uLong)NEXTBYTE << 16;
207 z->state->sub.check.need += (uLong)NEXTBYTE << 8;
211 z->state->sub.check.need += (uLong)NEXTBYTE;
212 z->adler = z->state->sub.check.need;
233 inflate_blocks_reset(z->state->blocks, z, &z->state->sub.check.was);
242 z->state->sub.check.need = (uLong)NEXTBYTE << 24;
246 z->state->sub.check.need += (uLong)NEXTBYTE << 16;
250 z->state->sub.check.need += (uLong)NEXTBYTE << 8;
254 z->state->sub.check.need += (uLong)NEXTBYTE;
256 if (z->state->sub.check.was != z->state->sub.check.need)
259 z->msg = (char*)"incorrect data check";
263 Tracev((stderr, "inflate: zlib check ok\n"));
355 * implementation to provide an additional safety check. PPP uses Z_SYNC_FLUSH