Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4.h534 #ifndef LZ4_DISTANCE_MAX /* history window size; can be user-defined at compile time */
535 # define LZ4_DISTANCE_MAX 65535 /* set to maximum value by default */ macro
538 #define LZ4_COMPRESS_INPLACE_MARGIN (LZ4_DISTANCE_MAX + 32) /* LZ4_DIST…
Dlz4.c203 #if (LZ4_DISTANCE_MAX > LZ4_DISTANCE_ABSOLUTE_MAX) /* max supported by LZ4 format */
889 } while ( (match+LZ4_DISTANCE_MAX < ip) in LZ4_compress_generic()
941 if ( ((tableType != byU16) || (LZ4_DISTANCE_MAX < LZ4_DISTANCE_ABSOLUTE_MAX)) in LZ4_compress_generic()
942 && (matchIndex+LZ4_DISTANCE_MAX < current)) { in LZ4_compress_generic()
945 … assert((current - matchIndex) <= LZ4_DISTANCE_MAX); /* match now expected within distance */ in LZ4_compress_generic()
1005 assert(offset <= LZ4_DISTANCE_MAX && offset > 0); in LZ4_compress_generic()
1009 assert(ip-match <= LZ4_DISTANCE_MAX); in LZ4_compress_generic()
1091 if ( (match+LZ4_DISTANCE_MAX >= ip) in LZ4_compress_generic()
1126 …&& (((tableType==byU16) && (LZ4_DISTANCE_MAX == LZ4_DISTANCE_ABSOLUTE_MAX)) ? 1 : (matchIndex+LZ4_… in LZ4_compress_generic()
1189 …t tableType_t tableType = ((sizeof(void*)==4) && ((uptrval)source > LZ4_DISTANCE_MAX)) ? byPtr : b… in LZ4_compress_fast_extState()
[all …]
Dlz4hc.c128 if (delta>LZ4_DISTANCE_MAX) delta = LZ4_DISTANCE_MAX; in LZ4HC_Insert()
256 … lowestMatchIndex = (hc4->lowLimit + (LZ4_DISTANCE_MAX + 1) > ipIndex) ? hc4->lowLimit : ipIndex -… in LZ4HC_InsertAndGetWiderMatch()
393 if (ip - (base+matchIndex) > LZ4_DISTANCE_MAX) break; in LZ4HC_InsertAndGetWiderMatch()
414 && ipIndex - lowestMatchIndex < LZ4_DISTANCE_MAX) { in LZ4HC_InsertAndGetWiderMatch()
419 while (ipIndex - matchIndex <= LZ4_DISTANCE_MAX && nbAttempts--) { in LZ4HC_InsertAndGetWiderMatch()
508 …assert( (*ip - match) <= LZ4_DISTANCE_MAX ); /* note : consider providing offset as a value, rat… in LZ4HC_encodeSequence()
1494 assert((offset >= 1) && (offset <= LZ4_DISTANCE_MAX)); in LZ4HC_compress_optimal()
DREADME.md56 - `LZ4_DISTANCE_MAX` : control the maximum offset that the compressor will allow.
/external/lz4/
DNEWS16 build: new build macros : LZ4_DISTANCE_MAX, LZ4_FAST_DEC_LOOP
/external/lz4/tests/
Dframetest.c544 …if ((LZ4_DISTANCE_MAX > dictSize) && (cSizeWithDict >= cSizeNoDict)) goto _output_error; /* must … in basicTests()