Lines Matching refs:match_length
436 s->match_length = s->prev_length = MIN_MATCH-1;
1212 s->match_length = s->prev_length = MIN_MATCH-1;
1861 s->match_length = longest_match (s, hash_head);
1864 if (s->match_length >= MIN_MATCH) {
1865 check_match(s, s->strstart, s->match_start, s->match_length);
1868 s->match_length - MIN_MATCH, bflush);
1870 s->lookahead -= s->match_length;
1876 if (s->match_length <= s->max_insert_length &&
1878 s->match_length--; /* string at strstart already in table */
1885 } while (--s->match_length != 0);
1890 s->strstart += s->match_length;
1891 s->match_length = 0;
1958 s->prev_length = s->match_length, s->prev_match = s->match_start;
1959 s->match_length = MIN_MATCH-1;
1967 s->match_length = longest_match (s, hash_head);
1970 if (s->match_length <= 5 && (s->strategy == Z_FILTERED
1972 || (s->match_length == MIN_MATCH &&
1980 s->match_length = MIN_MATCH-1;
1986 if (s->prev_length >= MIN_MATCH && s->match_length <= s->prev_length) {
2008 s->match_length = MIN_MATCH-1;
2079 s->match_length = 0;
2091 s->match_length = MAX_MATCH - (uInt)(strend - scan);
2092 if (s->match_length > s->lookahead)
2093 s->match_length = s->lookahead;
2099 if (s->match_length >= MIN_MATCH) {
2100 check_match(s, s->strstart, s->strstart - 1, s->match_length);
2102 _tr_tally_dist(s, 1, s->match_length - MIN_MATCH, bflush);
2104 s->lookahead -= s->match_length;
2105 s->strstart += s->match_length;
2106 s->match_length = 0;
2148 s->match_length = 0;