Searched refs:MINMATCH (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/lib/lz4/ |
D | lz4hc_compress.c | 47 #define OPTIMAL_ML (int)((ML_MASK - 1) + MINMATCH) 50 >> ((MINMATCH*8) - LZ4HC_HASH_LOG)) 130 size_t const mlt = LZ4_count(ip + MINMATCH, in LZ4HC_InsertAndFindBestMatch() 131 match + MINMATCH, iLimit) + MINMATCH; in LZ4HC_InsertAndFindBestMatch() 148 mlt = LZ4_count(ip + MINMATCH, in LZ4HC_InsertAndFindBestMatch() 149 match + MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndFindBestMatch() 204 int mlt = MINMATCH + LZ4_count( in LZ4HC_InsertAndGetWiderMatch() 205 ip + MINMATCH, in LZ4HC_InsertAndGetWiderMatch() 206 matchPtr + MINMATCH, in LZ4HC_InsertAndGetWiderMatch() 235 mlt = LZ4_count(ip + MINMATCH, in LZ4HC_InsertAndGetWiderMatch() [all …]
|
D | lz4_compress.c | 54 >> ((MINMATCH * 8) - (LZ4_HASHLOG + 1))); in LZ4_hash4() 57 >> ((MINMATCH * 8) - LZ4_HASHLOG)); in LZ4_hash4() 348 matchCode = LZ4_count(ip + MINMATCH, in LZ4_compress_generic() 349 match + MINMATCH, limit); in LZ4_compress_generic() 351 ip += MINMATCH + matchCode; in LZ4_compress_generic() 362 matchCode = LZ4_count(ip + MINMATCH, in LZ4_compress_generic() 363 match + MINMATCH, matchlimit); in LZ4_compress_generic() 364 ip += MINMATCH + matchCode; in LZ4_compress_generic() 641 size_t matchLength = LZ4_count(ip + MINMATCH, in LZ4_compress_destSize_generic() 642 match + MINMATCH, matchlimit); in LZ4_compress_destSize_generic() [all …]
|
D | lz4defs.h | 75 #define MINMATCH 4 macro 79 #define MFLIMIT (WILDCOPYLENGTH + MINMATCH) 84 #define MATCH_SAFEGUARD_DISTANCE ((2 * WILDCOPYLENGTH) - MINMATCH)
|
D | lz4_decompress.c | 178 op += length + MINMATCH; in LZ4_decompress_generic() 334 length += MINMATCH; in LZ4_decompress_generic()
|
/linux-6.6.21/lib/zstd/common/ |
D | zstd_internal.h | 93 #define MINMATCH 3 macro 321 seqLen.matchLength = seq->mlBase + MINMATCH; in ZSTD_getSequenceLength()
|
/linux-6.6.21/lib/zstd/compress/ |
D | zstd_opt.c | 305 U32 const mlBase = matchLength - MINMATCH; in ZSTD_getMatchPrice() 306 assert(matchLength >= MINMATCH); in ZSTD_getMatchPrice() 355 { U32 const mlBase = matchLength - MINMATCH; in ZSTD_updateStats() 969 || candidateMatchLength < MINMATCH) { in ZSTD_optLdm_maybeAddMatch()
|
D | zstd_compress_sequences.c | 342 (unsigned)sequences[n].mlBase + MINMATCH, in ZSTD_encodeSequences_body()
|
D | zstd_compress_internal.h | 634 assert(matchLength >= MINMATCH); in ZSTD_storeSeq() 635 { size_t const mlBase = matchLength - MINMATCH; in ZSTD_storeSeq()
|
D | zstd_lazy.c | 220 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBetterDictMatch() 370 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBestMatch()
|
D | zstd_compress.c | 2824 outSeqs[i].matchLength = seqStoreSeqs[i].mlBase + MINMATCH; in ZSTD_copyBlockSequences() 3297 matchBytes += seq.mlBase + MINMATCH; in ZSTD_countSeqStoreMatchBytes() 5574 RETURN_ERROR_IF(matchLength < MINMATCH, corruption_detected, "Matchlength too small"); in ZSTD_validateSequence()
|