Home
last modified time | relevance | path

Searched refs:MAX_DISTANCE (Results 1 – 5 of 5) sorted by relevance

/freebsd-13-stable/sys/dev/cxgbe/cudbg/
HDfastlz.c95 #define MAX_DISTANCE 8192 macro
129 #undef MAX_DISTANCE
130 #define MAX_DISTANCE 8191 macro
131 #define MAX_FARDISTANCE (65535 + MAX_DISTANCE - 1)
257 (distance >= MAX_DISTANCE) || in FASTLZ_COMPRESSOR()
267 if (distance >= MAX_DISTANCE) { in FASTLZ_COMPRESSOR()
333 if (distance < MAX_DISTANCE) { in FASTLZ_COMPRESSOR()
347 distance -= MAX_DISTANCE; in FASTLZ_COMPRESSOR()
353 distance -= MAX_DISTANCE; in FASTLZ_COMPRESSOR()
468 ref = op - ofs - MAX_DISTANCE; in FASTLZ_DECOMPRESSOR()
/freebsd-13-stable/sys/cddl/contrib/opensolaris/common/lz4/
HDlz4.c332 #define MAX_DISTANCE ((1 << MAXD_LOG) - 1) macro
529 } while ((ref < ip - MAX_DISTANCE) || (A32(ref) != A32(ip))); in LZ4_compressCtx()
622 if ((ref > ip - (MAX_DISTANCE + 1)) && (A32(ref) == A32(ip))) { in LZ4_compressCtx()
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
HDlz4.c324 #define MAX_DISTANCE ((1 << MAXD_LOG) - 1) macro
520 } while ((ref < ip - MAX_DISTANCE) || (A32(ref) != A32(ip))); in LZ4_compressCtx()
613 if ((ref > ip - (MAX_DISTANCE + 1)) && (A32(ref) == A32(ip))) { in LZ4_compressCtx()
/freebsd-13-stable/contrib/subversion/subversion/libsvn_subr/lz4/
HDlz4.c285 #define MAX_DISTANCE ((1 << MAXD_LOG) - 1) macro
554 || ((tableType==byU16) ? 0 : (match + MAX_DISTANCE < ip)) in LZ4_compress_generic()
638 && (match+MAX_DISTANCE>=ip) in LZ4_compress_generic()
789 } while ( ((tableType==byU16) ? 0 : (match + MAX_DISTANCE < ip)) in LZ4_compress_destSize_generic()
851 if ( (match+MAX_DISTANCE>=ip) in LZ4_compress_destSize_generic()
/freebsd-13-stable/sys/dev/usb/input/
HDwsp.c593 #define MAX_DISTANCE 2500 /* the max allowed distance */ macro
1095 if (sc->distance < MAX_DISTANCE && abs(sc->dx_sum) < 5 && in wsp_intr_callback()
1234 abs(sc->pos_x[0] - sc->pos_x[1]) > MAX_DISTANCE || in wsp_intr_callback()
1235 abs(sc->pos_y[0] - sc->pos_y[1]) > MAX_DISTANCE) in wsp_intr_callback()