Home
last modified time | relevance | path

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

/third_party/lz4/lib/
Dlz4.h632 #ifndef LZ4_DISTANCE_MAX /* history window size; can be user-defined at compile time */
633 # define LZ4_DISTANCE_MAX 65535 /* set to maximum value by default */ macro
636 #define LZ4_COMPRESS_INPLACE_MARGIN (LZ4_DISTANCE_MAX + 32) /* LZ4_DIST…
Dlz4.c254 #if (LZ4_DISTANCE_MAX > LZ4_DISTANCE_ABSOLUTE_MAX) /* max supported by LZ4 format */
1011 } while ( (match+LZ4_DISTANCE_MAX < ip) in LZ4_compress_generic_validated()
1064 if ( ((tableType != byU16) || (LZ4_DISTANCE_MAX < LZ4_DISTANCE_ABSOLUTE_MAX)) in LZ4_compress_generic_validated()
1065 && (matchIndex+LZ4_DISTANCE_MAX < current)) { in LZ4_compress_generic_validated()
1068 … assert((current - matchIndex) <= LZ4_DISTANCE_MAX); /* match now expected within distance */ in LZ4_compress_generic_validated()
1128 assert(offset <= LZ4_DISTANCE_MAX && offset > 0); in LZ4_compress_generic_validated()
1132 assert(ip-match <= LZ4_DISTANCE_MAX); in LZ4_compress_generic_validated()
1214 if ( (match+LZ4_DISTANCE_MAX >= ip) in LZ4_compress_generic_validated()
1250 …&& (((tableType==byU16) && (LZ4_DISTANCE_MAX == LZ4_DISTANCE_ABSOLUTE_MAX)) ? 1 : (matchIndex+LZ4_… in LZ4_compress_generic_validated()
1356 …t tableType_t tableType = ((sizeof(void*)==4) && ((uptrval)source > LZ4_DISTANCE_MAX)) ? byPtr : b… in LZ4_compress_fast_extState()
[all …]
Dlz4hc.c134 if (delta>LZ4_DISTANCE_MAX) delta = LZ4_DISTANCE_MAX; in LZ4HC_Insert()
258 const int withinStartDistance = (hc4->lowLimit + (LZ4_DISTANCE_MAX + 1) > ipIndex); in LZ4HC_InsertAndGetWiderMatch()
259 const U32 lowestMatchIndex = (withinStartDistance) ? hc4->lowLimit : ipIndex - LZ4_DISTANCE_MAX; in LZ4HC_InsertAndGetWiderMatch()
398 … if ((size_t)(ip - prefixPtr) + prefixIdx - matchIndex > LZ4_DISTANCE_MAX) break; in LZ4HC_InsertAndGetWiderMatch()
419 && ipIndex - lowestMatchIndex < LZ4_DISTANCE_MAX) { in LZ4HC_InsertAndGetWiderMatch()
424 while (ipIndex - matchIndex <= LZ4_DISTANCE_MAX && nbAttempts--) { in LZ4HC_InsertAndGetWiderMatch()
523 …assert( (ip - match) <= LZ4_DISTANCE_MAX ); /* note : consider providing offset as a value, rath… in LZ4HC_encodeSequence()
1558 assert((offset >= 1) && (offset <= LZ4_DISTANCE_MAX)); in LZ4HC_compress_optimal()
DREADME.md76 - `LZ4_DISTANCE_MAX` : control the maximum offset that the compressor will allow.
/third_party/lz4/
DNEWS73 build: new build macros : LZ4_DISTANCE_MAX, LZ4_FAST_DEC_LOOP