Home | History | Annotate | Download | only in zlib

Lines Matching refs:prev_length

1037     s->match_length = s->prev_length = MIN_MATCH-1;
1050 * return its length. Matches shorter or equal to prev_length are discarded,
1051 * in which case the result is equal to prev_length and match_start is
1054 * string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1
1069 int best_len = s->prev_length; /* best match length so far */
1098 if (s->prev_length >= s->good_match) {
1547 /* Find the longest match, discarding those <= prev_length.
1644 /* Find the longest match, discarding those <= prev_length.
1646 s->prev_length = s->match_length, s->prev_match = s->match_start;
1649 if (hash_head != NIL && s->prev_length < s->max_lazy_match &&
1674 if (s->prev_length >= MIN_MATCH && s->match_length <= s->prev_length) {
1678 check_match(s, s->strstart-1, s->prev_match, s->prev_length);
1681 s->prev_length - MIN_MATCH, bflush);
1688 s->lookahead -= s->prev_length-1;
1689 s->prev_length -= 2;
1694 } while (--s->prev_length != 0);