Searched refs:MAX_DIST (Results 1 - 7 of 7) sorted by relevance

/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Ddeflate.c341 if (length > MAX_DIST(s)) {
342 length = MAX_DIST(s);
1026 * string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1
1043 IPos limit = s->strstart > (IPos)MAX_DIST(s) ?
1044 s->strstart - (IPos)MAX_DIST(s) : NIL;
1299 if (s->strstart >= wsize+MAX_DIST(s)) {
1303 s->strstart -= wsize; /* we now have strstart >= MAX_DIST */
1336 * strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 &&
1338 * => more >= window_size - (MIN_LOOKAHEAD-1 + WSIZE + MAX_DIST-1)
1415 Assert(s->strstart < s->w_size+MAX_DIST(
[all...]
H A Ddeflate.h276 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) macro
278 * distances are limited to MAX_DIST instead of WSIZE.
H A Dtrees.c1036 Assert((ush)dist < (ush)MAX_DIST(s) &&
/freebsd-10.1-release/lib/libz/
H A Ddeflate.h286 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) macro
288 * distances are limited to MAX_DIST instead of WSIZE.
H A Ddeflate.c1141 * string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1
1158 IPos limit = s->strstart > (IPos)MAX_DIST(s) ?
1159 s->strstart - (IPos)MAX_DIST(s) : NIL;
1419 if (s->strstart >= wsize+MAX_DIST(s)) {
1423 s->strstart -= wsize; /* we now have strstart >= MAX_DIST */
1455 * strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 &&
1457 * => more >= window_size - (MIN_LOOKAHEAD-1 + WSIZE + MAX_DIST-1)
1583 Assert(s->strstart < s->w_size+MAX_DIST(s) ||
1607 if (s->strstart - (uInt)s->block_start >= MAX_DIST(s)) {
1660 if (hash_head != NIL && s->strstart - hash_head <= MAX_DIST(
[all...]
H A Dtrees.c1024 Assert((ush)dist < (ush)MAX_DIST(s) &&
/freebsd-10.1-release/sys/net/
H A Dzlib.c533 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) macro
535 * distances are limited to MAX_DIST instead of WSIZE.
852 if (length > MAX_DIST(s)) {
853 length = MAX_DIST(s);
1273 * string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1
1290 IPos limit = s->strstart > (IPos)MAX_DIST(s) ?
1291 s->strstart - (IPos)MAX_DIST(s) : NIL;
1481 } else if (s->strstart >= wsize+MAX_DIST(s)) {
1486 s->strstart -= wsize; /* we now have strstart >= MAX_DIST */
1516 * strstart <= WSIZE+MAX_DIST
[all...]

Completed in 191 milliseconds