Home
last modified time | relevance | path

Searched refs:MIN_LOOKAHEAD (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/lib/zlib_deflate/
H A Ddeflate.c98 #define MIN_LOOKAHEAD (MAX_MATCH+MIN_MATCH+1) macro
611 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead"); in longest_match()
831 } while (s->lookahead < MIN_LOOKAHEAD && s->strm->avail_in != 0); in fill_window()
937 if (s->lookahead < MIN_LOOKAHEAD) { in deflate_fast()
939 if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) { in deflate_fast()
1032 if (s->lookahead < MIN_LOOKAHEAD) { in deflate_slow()
1034 if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) { in deflate_slow()
H A Ddefutil.h263 #define MIN_LOOKAHEAD (MAX_MATCH+MIN_MATCH+1) macro
268 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
/openbmc/u-boot/lib/zlib/
H A Ddeflate.h278 #define MIN_LOOKAHEAD (MAX_MATCH+MIN_MATCH+1) macro
283 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
H A Ddeflate.c1106 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
1224 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
1393 } while (s->lookahead < MIN_LOOKAHEAD && s->strm->avail_in != 0);
1531 if (s->lookahead < MIN_LOOKAHEAD) {
1533 if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) {
1628 if (s->lookahead < MIN_LOOKAHEAD) {
1630 if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) {