Home
last modified time | relevance | path

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

/lib/zlib_deflate/
Ddeflate.c405 if (strm->avail_in != 0 || s->lookahead != 0 || in zlib_deflate()
540 s->lookahead = 0; in lm_init()
602 if ((uInt)nice_match > s->lookahead) nice_match = s->lookahead; in longest_match()
693 if ((uInt)best_len <= s->lookahead) return best_len; in longest_match()
694 return s->lookahead; in longest_match()
747 more = (unsigned)(s->window_size -(ulg)s->lookahead -(ulg)s->strstart); in fill_window()
750 if (more == 0 && s->strstart == 0 && s->lookahead == 0) { in fill_window()
809 n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more); in fill_window()
810 s->lookahead += n; in fill_window()
813 if (s->lookahead >= MIN_MATCH) { in fill_window()
[all …]
Ddefutil.h136 uInt lookahead; /* number of valid bytes ahead in window */ member