Home | History | Annotate | Download | only in zlib

Lines Matching refs:prev_length

383     s->match_length = s->prev_length = MIN_MATCH-1;

1124 s->match_length = s->prev_length = MIN_MATCH-1;
1137 * return its length. Matches shorter or equal to prev_length are discarded,
1138 * in which case the result is equal to prev_length and match_start is
1141 * string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1
1156 int best_len = s->prev_length; /* best match length so far */
1185 if (s->prev_length >= s->good_match) {
1657 /* Find the longest match, discarding those <= prev_length.
1760 /* Find the longest match, discarding those <= prev_length
1762 s->prev_length = s->match_length, s->prev_match = s->match_start;
1765 if (hash_head != NIL && s->prev_length < s->max_lazy_match &&
1790 if (s->prev_length >= MIN_MATCH && s->match_length <= s->prev_length) {
1794 check_match(s, s->strstart-1, s->prev_match, s->prev_length);
1797 s->prev_length - MIN_MATCH, bflush);
1804 s->lookahead -= s->prev_length-1;
1805 s->prev_length -= 2;
1810 } while (--s->prev_length != 0);