Lines Matching defs:MAX_DIST
577 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
580 * match distances are limited to MAX_DIST instead of WSIZE.
968 if (length > MAX_DIST(s)) {
969 length = MAX_DIST(s);
1443 * string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1
1464 IPos limit = s->strstart > (IPos)MAX_DIST(s) ?
1465 s->strstart - (IPos)MAX_DIST(s) : NIL;
1751 } else if (s->strstart >= wsize+MAX_DIST(s)) {
1756 /* we now have strstart >= MAX_DIST */
1797 * strstart <= WSIZE+MAX_DIST-1 &&
1801 * MAX_DIST-1)
1891 Assert(s->strstart < s->w_size+MAX_DIST(s) ||
1923 if (s->strstart - (uInt)s->block_start >= MAX_DIST(s)) {
1980 MAX_DIST(s)) {
2107 s->strstart - hash_head <= MAX_DIST(s)) {
3319 Assert((ush)dist < (ush)MAX_DIST(s) &&