Home | History | Annotate | Download | only in net

Lines Matching defs:prev_length

433     uInt prev_length;
1328 s->match_length = s->prev_length = MIN_MATCH-1;
1338 * return its length. Matches shorter or equal to prev_length are discarded,
1339 * in which case the result is equal to prev_length and match_start is
1342 * string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1
1357 int best_len = s->prev_length; /* best match length so far */
1386 if (s->prev_length >= s->good_match) {
1785 /* Find the longest match, discarding those <= prev_length.
1880 /* Find the longest match, discarding those <= prev_length.
1882 s->prev_length = s->match_length, s->prev_match = s->match_start;
1885 if (hash_head != NIL && s->prev_length < s->max_lazy_match &&
1909 if (s->prev_length >= MIN_MATCH && s->match_length <= s->prev_length) {
1913 check_match(s, s->strstart-1, s->prev_match, s->prev_length);
1916 s->prev_length - MIN_MATCH, bflush);
1923 s->lookahead -= s->prev_length-1;
1924 s->prev_length -= 2;
1929 } while (--s->prev_length != 0);