Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/common/
Dlz4.h544 #ifndef LZ4_DISTANCE_MAX /* history window size; can be user-defined at compile time */
545 #define LZ4_DISTANCE_MAX 65535 /* set to maximum value by default */ macro
548 #define LZ4_COMPRESS_INPLACE_MARGIN (LZ4_DISTANCE_MAX + 32) …
/DragonOS-0.1.5/kernel/src/libs/
Dlz4.c230 #if (LZ4_DISTANCE_MAX > LZ4_DISTANCE_ABSOLUTE_MAX) /* max supported by LZ4 format */
1257 } while ((match + LZ4_DISTANCE_MAX < ip) || (LZ4_read32(match) != LZ4_read32(ip))); in LZ4_compress_generic_validated()
1325 …if (((tableType != byU16) || (LZ4_DISTANCE_MAX < LZ4_DISTANCE_ABSOLUTE_MAX)) && (matchIndex + LZ4_… in LZ4_compress_generic_validated()
1329 … assert((current - matchIndex) <= LZ4_DISTANCE_MAX); /* match now expected within distance */ in LZ4_compress_generic_validated()
1403 assert(offset <= LZ4_DISTANCE_MAX && offset > 0); in LZ4_compress_generic_validated()
1410 assert(ip - match <= LZ4_DISTANCE_MAX); in LZ4_compress_generic_validated()
1509 if ((match + LZ4_DISTANCE_MAX >= ip) && (LZ4_read32(match) == LZ4_read32(ip))) in LZ4_compress_generic_validated()
1558 … 1) && (((tableType == byU16) && (LZ4_DISTANCE_MAX == LZ4_DISTANCE_ABSOLUTE_MAX)) ? 1 : (matchInde… in LZ4_compress_generic_validated()
1685 …ableType_t tableType = ((sizeof(void *) == 4) && ((uptrval)source > LZ4_DISTANCE_MAX)) ? byPtr : b… in LZ4_compress_fast_extState()
1697 …ableType_t tableType = ((sizeof(void *) == 4) && ((uptrval)source > LZ4_DISTANCE_MAX)) ? byPtr : b… in LZ4_compress_fast_extState()
[all …]