Lines Matching refs:MAX_DIST
402 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
404 * distances are limited to MAX_DIST instead of WSIZE.
933 * string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1
948 IPos limit = s->strstart > (IPos)MAX_DIST(s) ?
949 s->strstart - (IPos)MAX_DIST(s) : NIL;
1132 } else if (s->strstart >= wsize+MAX_DIST(s)) {
1140 s->strstart -= wsize; /* we now have strstart >= MAX_DIST */
1169 * strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 &&
1171 * => more >= window_size - (MIN_LOOKAHEAD-1 + WSIZE + MAX_DIST-1)
1258 if (hash_head != NIL && s->strstart - hash_head <= MAX_DIST(s)) {
1356 s->strstart - hash_head <= MAX_DIST(s)) {
2417 Assert((ush)dist < (ush)MAX_DIST(s) &&