Home
last modified time | relevance | path

Searched refs:MINMATCH (Results 1 – 3 of 3) sorted by relevance

/external/lz4/lib/
Dlz4hc.c69 #define OPTIMAL_ML (int)((ML_MASK-1)+MINMATCH)
76 #define HASH_FUNCTION(i) (((i) * 2654435761U) >> ((MINMATCH*8)-LZ4HC_HASH_LOG))
259 matchLength = MINMATCH + LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, iHighLimit); in LZ4HC_InsertAndGetWiderMatch()
273 matchLength = LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndGetWiderMatch()
289 for (pos = 0; pos <= longest - MINMATCH; pos++) { in LZ4HC_InsertAndGetWiderMatch()
363 mlt = LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndGetWiderMatch()
395 …return LZ4HC_InsertAndGetWiderMatch(hc4, ip, ip, iLimit, MINMATCH-1, matchpos, &uselessPtr, maxNbA… in LZ4HC_InsertAndFindBestMatch()
459 assert(matchLength >= MINMATCH); in LZ4HC_encodeSequence()
460 length = (size_t)(matchLength - MINMATCH); in LZ4HC_encodeSequence()
520 if (ml<MINMATCH) { ip++; continue; } in LZ4HC_compress_hashChain()
[all …]
Dlz4.c297 #define MINMATCH 4 macro
302 #define MATCH_SAFEGUARD_DISTANCE ((2*WILDCOPYLENGTH) - MINMATCH) /* ensure it's possible to writ…
518 return ((sequence * 2654435761U) >> ((MINMATCH*8)-(LZ4_HASHLOG+1))); in LZ4_hash4()
520 return ((sequence * 2654435761U) >> ((MINMATCH*8)-LZ4_HASHLOG)); in LZ4_hash4()
782 assert(startIndex - matchIndex >= MINMATCH); in LZ4_compress_generic()
818 …+ litLength /* literals */ + 2 /* offset */ + 1 /* token */ + MFLIMIT - MINMATCH /* min last liter… in LZ4_compress_generic()
847 …(op + 2 /* offset */ + 1 /* token */ + MFLIMIT - MINMATCH /* min last literals so last match is <=… in LZ4_compress_generic()
872 matchCode = LZ4_count(ip+MINMATCH, match+MINMATCH, limit); in LZ4_compress_generic()
873 ip += MINMATCH + matchCode; in LZ4_compress_generic()
879 … DEBUGLOG(6, " with matchLength=%u starting in extDict", matchCode+MINMATCH); in LZ4_compress_generic()
[all …]
/external/u-boot/lib/
Dlz4.c29 #define MINMATCH 4 macro
33 #define MFLIMIT (COPYLENGTH+MINMATCH)
168 length += MINMATCH; in LZ4_decompress_generic()