Home
last modified time | relevance | path

Searched refs:MAX_DIST (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/lib/zlib_deflate/
H A Ddeflate.c576 IPos limit = s->strstart > (IPos)MAX_DIST(s) ? in longest_match()
577 s->strstart - (IPos)MAX_DIST(s) : NIL; in longest_match()
769 } else if (s->strstart >= wsize+MAX_DIST(s)) { in fill_window()
884 Assert(s->strstart < s->w_size+MAX_DIST(s) || in deflate_stored()
908 if (s->strstart - (uInt)s->block_start >= MAX_DIST(s)) { in deflate_stored()
955 if (hash_head != NIL && s->strstart - hash_head <= MAX_DIST(s)) { in deflate_fast()
1053 s->strstart - hash_head <= MAX_DIST(s)) { in deflate_slow()
H A Ddefutil.h268 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) macro
H A Ddeftree.c930 Assert((ush)dist < (ush)MAX_DIST(s) &&
/openbmc/u-boot/lib/zlib/
H A Ddeflate.c1071 IPos limit = s->strstart > (IPos)MAX_DIST(s) ?
1072 s->strstart - (IPos)MAX_DIST(s) : NIL;
1330 if (s->strstart >= wsize+MAX_DIST(s)) {
1479 Assert(s->strstart < s->w_size+MAX_DIST(s) ||
1503 if (s->strstart - (uInt)s->block_start >= MAX_DIST(s)) {
1550 if (hash_head != NIL && s->strstart - hash_head <= MAX_DIST(s)) {
1650 s->strstart - hash_head <= MAX_DIST(s)) {
H A Ddeflate.h283 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) macro
H A Dtrees.c1040 Assert((ush)dist < (ush)MAX_DIST(s) &&