Lines Matching refs:match_length
1039 s->match_length = s->prev_length = MIN_MATCH-1;
1557 s->match_length = longest_match (s, hash_head);
1560 if (s->match_length >= MIN_MATCH) {
1561 check_match(s, s->strstart, s->match_start, s->match_length);
1564 s->match_length - MIN_MATCH, bflush);
1566 s->lookahead -= s->match_length;
1572 if (s->match_length <= s->max_insert_length &&
1574 s->match_length--; /* string at strstart already in table */
1581 } while (--s->match_length != 0);
1586 s->strstart += s->match_length;
1587 s->match_length = 0;
1648 s->prev_length = s->match_length, s->prev_match = s->match_start;
1649 s->match_length = MIN_MATCH-1;
1657 s->match_length = longest_match (s, hash_head);
1660 if (s->match_length <= 5 && (s->strategy == Z_FILTERED
1662 || (s->match_length == MIN_MATCH &&
1670 s->match_length = MIN_MATCH-1;
1676 if (s->prev_length >= MIN_MATCH && s->match_length <= s->prev_length) {
1698 s->match_length = MIN_MATCH-1;
1763 s->match_length = 0;
1775 s->match_length = MAX_MATCH - (int)(strend - scan);
1776 if (s->match_length > s->lookahead)
1777 s->match_length = s->lookahead;
1782 if (s->match_length >= MIN_MATCH) {
1783 check_match(s, s->strstart, s->strstart - 1, s->match_length);
1785 _tr_tally_dist(s, 1, s->match_length - MIN_MATCH, bflush);
1787 s->lookahead -= s->match_length;
1788 s->strstart += s->match_length;
1789 s->match_length = 0;
1825 s->match_length = 0;