Home
last modified time | relevance | path

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

/lib/zlib_deflate/
Ddeflate.c403 if (strm->avail_in != 0 || s->lookahead != 0 || in zlib_deflate()
536 s->lookahead = 0; in lm_init()
598 if ((uInt)nice_match > s->lookahead) nice_match = s->lookahead; in longest_match()
689 if ((uInt)best_len <= s->lookahead) return best_len; in longest_match()
690 return s->lookahead; in longest_match()
743 more = (unsigned)(s->window_size -(ulg)s->lookahead -(ulg)s->strstart); in fill_window()
746 if (more == 0 && s->strstart == 0 && s->lookahead == 0) { in fill_window()
805 n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more); in fill_window()
806 s->lookahead += n; in fill_window()
809 if (s->lookahead >= MIN_MATCH) { in fill_window()
[all …]
Ddefutil.h134 uInt lookahead; /* number of valid bytes ahead in window */ member