Home
last modified time | relevance | path

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

/third_party/lz4/lib/
Dlz4hc.c75 #define OPTIMAL_ML (int)((ML_MASK-1)+MINMATCH)
82 #define HASH_FUNCTION(i) (((i) * 2654435761U) >> ((MINMATCH*8)-LZ4HC_HASH_LOG))
288 … matchLength = MINMATCH + (int)LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, iHighLimit); in LZ4HC_InsertAndGetWiderMatch()
302 matchLength = (int)LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndGetWiderMatch()
318 int const end = longest - MINMATCH + 1; in LZ4HC_InsertAndGetWiderMatch()
428 mlt = (int)LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndGetWiderMatch()
457 …return LZ4HC_InsertAndGetWiderMatch(hc4, ip, ip, iLimit, MINMATCH-1, matchpos, &uselessPtr, maxNbA… in LZ4HC_InsertAndFindBestMatch()
523 assert(matchLength >= MINMATCH); in LZ4HC_encodeSequence()
524 length = (size_t)matchLength - MINMATCH; in LZ4HC_encodeSequence()
590 if (ml<MINMATCH) { ip++; continue; } in LZ4HC_compress_hashChain()
[all …]
Dlz4.c214 #define MINMATCH 4 macro
219 #define MATCH_SAFEGUARD_DISTANCE ((2*WILDCOPYLENGTH) - MINMATCH) /* ensure it's possible to writ…
480 assert(dstEnd >= dstPtr + MINMATCH); in LZ4_memcpy_using_offset()
701 return ((sequence * 2654435761U) >> ((MINMATCH*8)-(LZ4_HASHLOG+1))); in LZ4_hash4()
703 return ((sequence * 2654435761U) >> ((MINMATCH*8)-LZ4_HASHLOG)); in LZ4_hash4()
987 assert(startIndex - matchIndex >= MINMATCH); in LZ4_compress_generic_validated()
1029 …+ litLength /* literals */ + 2 /* offset */ + 1 /* token */ + MFLIMIT - MINMATCH /* min last liter… in LZ4_compress_generic_validated()
1058 …(op + 2 /* offset */ + 1 /* token */ + MFLIMIT - MINMATCH /* min last literals so last match is <=… in LZ4_compress_generic_validated()
1083 matchCode = LZ4_count(ip+MINMATCH, match+MINMATCH, limit); in LZ4_compress_generic_validated()
1084 ip += (size_t)matchCode + MINMATCH; in LZ4_compress_generic_validated()
[all …]