Home
last modified time | relevance | path

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

/linux-6.1.9/lib/lz4/
Dlz4hc_compress.c47 #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 …]
Dlz4_compress.c54 >> ((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 …]
Dlz4defs.h75 #define MINMATCH 4 macro
79 #define MFLIMIT (WILDCOPYLENGTH + MINMATCH)
84 #define MATCH_SAFEGUARD_DISTANCE ((2 * WILDCOPYLENGTH) - MINMATCH)
Dlz4_decompress.c178 op += length + MINMATCH; in LZ4_decompress_generic()
334 length += MINMATCH; in LZ4_decompress_generic()
/linux-6.1.9/lib/zstd/compress/
Dzstd_fast.c152 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()
Dzstd_double_fast.c151 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()
Dzstd_lazy.c220 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()
Dzstd_opt.c276 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()
Dzstd_compress_sequences.c339 (unsigned)sequences[n].matchLength + MINMATCH, in ZSTD_encodeSequences_body()
Dzstd_ldm.c677 sequence.matchLength - MINMATCH); in ZSTD_ldm_blockCompress()
Dzstd_compress_internal.h514 pos, (U32)litLength, (U32)mlBase+MINMATCH, (U32)offCode); in ZSTD_storeSeq()
Dzstd_compress.c2488 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/
Dzstd_internal.h167 #define MINMATCH 3 macro
371 seqLen.matchLength = seq->matchLength + MINMATCH; in ZSTD_getSequenceLength()