Home
last modified time | relevance | path

Searched refs:prev_length (Results 1 – 2 of 2) sorted by relevance

/lib/zlib_deflate/
Ddeflate.c537 s->match_length = s->prev_length = MIN_MATCH-1; in lm_init()
563 int best_len = s->prev_length; /* best match length so far */ in longest_match()
592 if (s->prev_length >= s->good_match) { in longest_match()
1038 s->prev_length = s->match_length, s->prev_match = s->match_start; in deflate_slow()
1041 if (hash_head != NIL && s->prev_length < s->max_lazy_match && in deflate_slow()
1065 if (s->prev_length >= MIN_MATCH && s->match_length <= s->prev_length) { in deflate_slow()
1069 check_match(s, s->strstart-1, s->prev_match, s->prev_length); in deflate_slow()
1072 s->prev_length - MIN_MATCH); in deflate_slow()
1079 s->lookahead -= s->prev_length-1; in deflate_slow()
1080 s->prev_length -= 2; in deflate_slow()
[all …]
Ddefutil.h136 uInt prev_length; member