Searched refs:MINMATCH (Results 1 – 11 of 11) sorted by relevance
| /linux-6.15/lib/lz4/ |
| H A D | lz4hc_compress.c | 49 >> ((MINMATCH*8) - LZ4HC_HASH_LOG)) 130 match + MINMATCH, iLimit) + MINMATCH; in LZ4HC_InsertAndFindBestMatch() 147 mlt = LZ4_count(ip + MINMATCH, in LZ4HC_InsertAndFindBestMatch() 148 match + MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndFindBestMatch() 203 int mlt = MINMATCH + LZ4_count( in LZ4HC_InsertAndGetWiderMatch() 204 ip + MINMATCH, in LZ4HC_InsertAndGetWiderMatch() 205 matchPtr + MINMATCH, in LZ4HC_InsertAndGetWiderMatch() 234 mlt = LZ4_count(ip + MINMATCH, in LZ4HC_InsertAndGetWiderMatch() 235 matchPtr + MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndGetWiderMatch() 303 length = (int)(matchLength - MINMATCH); in LZ4HC_encodeSequence() [all …]
|
| H A D | lz4_compress.c | 53 >> ((MINMATCH * 8) - (LZ4_HASHLOG + 1))); in LZ4_hash4() 56 >> ((MINMATCH * 8) - LZ4_HASHLOG)); in LZ4_hash4() 347 matchCode = LZ4_count(ip + MINMATCH, in LZ4_compress_generic() 348 match + MINMATCH, limit); in LZ4_compress_generic() 350 ip += MINMATCH + matchCode; in LZ4_compress_generic() 361 matchCode = LZ4_count(ip + MINMATCH, in LZ4_compress_generic() 362 match + MINMATCH, matchlimit); in LZ4_compress_generic() 363 ip += MINMATCH + matchCode; in LZ4_compress_generic() 640 size_t matchLength = LZ4_count(ip + MINMATCH, in LZ4_compress_destSize_generic() 641 match + MINMATCH, matchlimit); in LZ4_compress_destSize_generic() [all …]
|
| H A D | lz4defs.h | 76 #define MINMATCH 4 macro 80 #define MFLIMIT (WILDCOPYLENGTH + MINMATCH) 85 #define MATCH_SAFEGUARD_DISTANCE ((2 * WILDCOPYLENGTH) - MINMATCH)
|
| H A D | lz4_decompress.c | 177 op += length + MINMATCH; in LZ4_decompress_generic() 333 length += MINMATCH; in LZ4_decompress_generic()
|
| /linux-6.15/lib/zstd/common/ |
| H A D | zstd_internal.h | 92 #define MINMATCH 3 macro
|
| /linux-6.15/lib/zstd/compress/ |
| H A D | zstd_compress_superblock.c | 456 inSize = sp[0].litLength + (sp[0].mlBase+MINMATCH); in sizeBlockSequences() 462 inSize += sp[n].litLength + (sp[n].mlBase+MINMATCH); in sizeBlockSequences()
|
| H A D | zstd_compress_internal.h | 128 seqLen.matchLength = seq->mlBase + MINMATCH; in ZSTD_getSequenceLength() 748 assert(matchLength >= MINMATCH); in ZSTD_storeSeqOnly() 749 { size_t const mlBase = matchLength - MINMATCH; in ZSTD_storeSeqOnly()
|
| H A D | zstd_compress_sequences.c | 343 (unsigned)sequences[n].mlBase + MINMATCH, in ZSTD_encodeSequences_body()
|
| H A D | zstd_opt.c | 332 U32 const mlBase = matchLength - MINMATCH; in ZSTD_getMatchPrice() 333 assert(matchLength >= MINMATCH); in ZSTD_getMatchPrice() 383 { U32 const mlBase = matchLength - MINMATCH; in ZSTD_updateStats()
|
| H A D | zstd_compress.c | 3368 outSeqs[i].matchLength = inSeqs[i].mlBase + MINMATCH; in ZSTD_copyBlockSequences() 3905 matchBytes += seq.mlBase + MINMATCH; in ZSTD_countSeqStoreMatchBytes() 6934 ZSTD_REP_NUM, 0, -MINMATCH, 0, /* for sequence i */ in convertSequences_noRepcodes() 6935 ZSTD_REP_NUM, 0, -MINMATCH, 0 /* for sequence i+1 */ in convertSequences_noRepcodes() 7030 if (inSeqs[i].matchLength > 65535+MINMATCH) { in convertSequences_noRepcodes() 7038 if (inSeqs[i+1].matchLength > 65535+MINMATCH) { in convertSequences_noRepcodes() 7055 dstSeqs[i].mlBase = (U16)(inSeqs[i].matchLength - MINMATCH); in convertSequences_noRepcodes() 7057 if (UNLIKELY(inSeqs[i].matchLength > 65535+MINMATCH)) { in convertSequences_noRepcodes() 7086 dstSeqs[n].mlBase = (U16)(inSeqs[n].matchLength - MINMATCH); in convertSequences_noRepcodes() 7088 if (UNLIKELY(inSeqs[n].matchLength > 65535+MINMATCH)) { in convertSequences_noRepcodes()
|
| H A D | zstd_lazy.c | 232 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBetterDictMatch() 383 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBestMatch()
|