Lines Matching refs:prev_length
281 uInt prev_length;
929 * return its length. Matches shorter or equal to prev_length are discarded,
930 * in which case the result is equal to prev_length and match_start is
933 * string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1
947 int best_len = s->prev_length; /* best match length so far */
975 if (s->prev_length >= s->good_match) {
1233 s->prev_length = MIN_MATCH-1;
1255 /* Find the longest match, discarding those <= prev_length.
1350 /* Find the longest match, discarding those <= prev_length.
1352 s->prev_length = s->match_length, s->prev_match = s->match_start;
1355 if (hash_head != NIL && s->prev_length < s->max_lazy_match &&
1380 if (s->prev_length >= MIN_MATCH && s->match_length <= s->prev_length) {
1384 check_match(s, s->strstart-1, s->prev_match, s->prev_length);
1387 s->prev_length - MIN_MATCH);
1394 s->lookahead -= s->prev_length-1;
1395 s->prev_length -= 2;
1400 } while (--s->prev_length != 0);