/linux-6.1.9/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.1.9/lib/zstd/compress/ |
D | zstd_fast.c | 152 ZSTD_storeSeq(seqStore, (size_t)(ip0-anchor), anchor, iend, offcode, mLength-MINMATCH); in ZSTD_compressBlock_fast_generic() 170 … ZSTD_storeSeq(seqStore, 0 /*litLen*/, anchor, iend, 0 /*offCode*/, rLength-MINMATCH); in ZSTD_compressBlock_fast_generic() 275 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, mLength-MINMATCH); in ZSTD_compressBlock_fast_dictMatchState_generic() 295 …TD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, offset + ZSTD_REP_MOVE, mLength-MINMATCH); in ZSTD_compressBlock_fast_dictMatchState_generic() 310 …TD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, offset + ZSTD_REP_MOVE, mLength-MINMATCH); in ZSTD_compressBlock_fast_dictMatchState_generic() 335 ZSTD_storeSeq(seqStore, 0, anchor, iend, 0, repLength2-MINMATCH); in ZSTD_compressBlock_fast_dictMatchState_generic() 426 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, rLength-MINMATCH); in ZSTD_compressBlock_fast_extDict_generic() 442 …TD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, offset + ZSTD_REP_MOVE, mLength-MINMATCH); in ZSTD_compressBlock_fast_extDict_generic() 461 … ZSTD_storeSeq(seqStore, 0 /*litlen*/, anchor, iend, 0 /*offcode*/, repLength2-MINMATCH); in ZSTD_compressBlock_fast_extDict_generic()
|
D | zstd_double_fast.c | 151 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_generic() 160 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_generic() 251 …TD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, offset + ZSTD_REP_MOVE, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_generic() 282 ZSTD_storeSeq(seqStore, 0, anchor, iend, 0, repLength2-MINMATCH); in ZSTD_compressBlock_doubleFast_generic() 301 ZSTD_storeSeq(seqStore, 0, anchor, iend, 0, rLength-MINMATCH); in ZSTD_compressBlock_doubleFast_generic() 415 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_extDict_generic() 426 …TD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, offset + ZSTD_REP_MOVE, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_extDict_generic() 451 …TD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, offset + ZSTD_REP_MOVE, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_extDict_generic() 483 ZSTD_storeSeq(seqStore, 0, anchor, iend, 0, repLength2-MINMATCH); in ZSTD_compressBlock_doubleFast_extDict_generic()
|
D | zstd_lazy.c | 220 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBetterDictMatch() 370 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBestMatch() 1078 ZSTD_storeSeq(seqStore, litLength, anchor, iend, (U32)offset, matchLength-MINMATCH); in ZSTD_compressBlock_lazy_generic() 1095 ZSTD_storeSeq(seqStore, 0, anchor, iend, 0, matchLength-MINMATCH); in ZSTD_compressBlock_lazy_generic() 1110 ZSTD_storeSeq(seqStore, 0, anchor, iend, 0, matchLength-MINMATCH); in ZSTD_compressBlock_lazy_generic() 1351 ZSTD_storeSeq(seqStore, litLength, anchor, iend, (U32)offset, matchLength-MINMATCH); in ZSTD_compressBlock_lazy_extDict_generic() 1368 ZSTD_storeSeq(seqStore, 0, anchor, iend, 0, matchLength-MINMATCH); in ZSTD_compressBlock_lazy_extDict_generic()
|
D | zstd_opt.c | 276 U32 const mlBase = matchLength - MINMATCH; in ZSTD_getMatchPrice() 277 assert(matchLength >= MINMATCH); in ZSTD_getMatchPrice() 326 { U32 const mlBase = matchLength - MINMATCH; in ZSTD_updateStats() 879 || candidateMatchLength < MINMATCH) { in ZSTD_optLdm_maybeAddMatch() 1214 ZSTD_storeSeq(seqStore, llen, anchor, iend, offCode, mlen-MINMATCH); in ZSTD_compressBlock_opt_generic()
|
D | zstd_compress_sequences.c | 339 (unsigned)sequences[n].matchLength + MINMATCH, in ZSTD_encodeSequences_body()
|
D | zstd_ldm.c | 677 sequence.matchLength - MINMATCH); in ZSTD_ldm_blockCompress()
|
D | zstd_compress_internal.h | 514 pos, (U32)litLength, (U32)mlBase+MINMATCH, (U32)offCode); in ZSTD_storeSeq()
|
D | zstd_compress.c | 2488 outSeqs[i].matchLength = seqStoreSeqs[i].matchLength + MINMATCH; in ZSTD_copyBlockSequences() 4517 ZSTD_storeSeq(&cctx->seqStore, litLength, ip, iend, offCode, matchLength - MINMATCH); in ZSTD_copySequencesToSeqStoreExplicitBlockDelim() 4643 ZSTD_storeSeq(&cctx->seqStore, litLength, ip, iend, offCode, matchLength - MINMATCH); in ZSTD_copySequencesToSeqStoreNoBlockDelim()
|
/linux-6.1.9/lib/zstd/common/ |
D | zstd_internal.h | 167 #define MINMATCH 3 macro 371 seqLen.matchLength = seq->matchLength + MINMATCH; in ZSTD_getSequenceLength()
|