Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/zstd/lib/compress/
H A 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()
H A 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()
253 …TD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, offset + ZSTD_REP_MOVE, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_generic()
284 ZSTD_storeSeq(seqStore, 0, anchor, iend, 0, repLength2-MINMATCH); in ZSTD_compressBlock_doubleFast_generic()
303 ZSTD_storeSeq(seqStore, 0, anchor, iend, 0, rLength-MINMATCH); in ZSTD_compressBlock_doubleFast_generic()
417 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_extDict_generic()
428 …TD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, offset + ZSTD_REP_MOVE, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_extDict_generic()
453 …TD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, offset + ZSTD_REP_MOVE, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_extDict_generic()
485 ZSTD_storeSeq(seqStore, 0, anchor, iend, 0, repLength2-MINMATCH); in ZSTD_compressBlock_doubleFast_extDict_generic()
H A Dzstd_lazy.c220 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBetterDictMatch()
369 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBestMatch()
1076 ZSTD_storeSeq(seqStore, litLength, anchor, iend, (U32)offset, matchLength-MINMATCH); in ZSTD_compressBlock_lazy_generic()
1093 ZSTD_storeSeq(seqStore, 0, anchor, iend, 0, matchLength-MINMATCH); in ZSTD_compressBlock_lazy_generic()
1108 ZSTD_storeSeq(seqStore, 0, anchor, iend, 0, matchLength-MINMATCH); in ZSTD_compressBlock_lazy_generic()
1349 ZSTD_storeSeq(seqStore, litLength, anchor, iend, (U32)offset, matchLength-MINMATCH); in ZSTD_compressBlock_lazy_extDict_generic()
1366 ZSTD_storeSeq(seqStore, 0, anchor, iend, 0, matchLength-MINMATCH); in ZSTD_compressBlock_lazy_extDict_generic()
H A Dzstd_opt.c264 U32 const mlBase = matchLength - MINMATCH; in ZSTD_getMatchPrice()
265 assert(matchLength >= MINMATCH); in ZSTD_getMatchPrice()
314 { U32 const mlBase = matchLength - MINMATCH; in ZSTD_updateStats()
866 || candidateMatchLength < MINMATCH) { in ZSTD_optLdm_maybeAddMatch()
1201 ZSTD_storeSeq(seqStore, llen, anchor, iend, offCode, mlen-MINMATCH); in ZSTD_compressBlock_opt_generic()
H A Dzstd_compress_sequences.c333 (unsigned)sequences[n].matchLength + MINMATCH, in ZSTD_encodeSequences_body()
H A Dzstd_ldm.c651 sequence.matchLength - MINMATCH); in ZSTD_ldm_blockCompress()
H A Dzstd_compress_internal.h511 pos, (U32)litLength, (U32)mlBase+MINMATCH, (U32)offCode); in ZSTD_storeSeq()
H A Dzstd_compress.c2539 outSeqs[i].matchLength = seqStoreSeqs[i].matchLength + MINMATCH; in ZSTD_copyBlockSequences()
4619 ZSTD_storeSeq(&cctx->seqStore, litLength, ip, iend, offCode, matchLength - MINMATCH); in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
4745 ZSTD_storeSeq(&cctx->seqStore, litLength, ip, iend, offCode, matchLength - MINMATCH); in ZSTD_copySequencesToSeqStoreNoBlockDelim()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dlz4.c309 #define MINMATCH 4 macro
320 #define MFLIMIT (COPYLENGTH + MINMATCH)
373 #define LZ4_HASH_FUNCTION(i) (((i) * 2654435761U) >> ((MINMATCH * 8) - \
556 ip += MINMATCH; in LZ4_compressCtx()
557 ref += MINMATCH; /* MinMatch verified */ in LZ4_compressCtx()
654 #define LZ4_HASH64K_FUNCTION(i) (((i) * 2654435761U) >> ((MINMATCH*8) - \
745 ip += MINMATCH; in LZ4_compress64kCtx()
746 ref += MINMATCH; /* MinMatch verified */ in LZ4_compress64kCtx()
/f-stack/freebsd/contrib/zstd/lib/common/
H A Dzstd_internal.h175 #define MINMATCH 3 macro
387 seqLen.matchLength = seq->matchLength + MINMATCH; in ZSTD_getSequenceLength()
/f-stack/freebsd/contrib/zstd/lib/legacy/
H A Dzstd_v01.c1329 #define MINMATCH 4 macro
1748 matchLength += MINMATCH; in ZSTD_decodeSequence()
1817 if (endMatch > oend-(16-MINMATCH)) in ZSTD_execSequence()
H A Dzstd_v04.c368 #define MINMATCH 4 macro
2859 matchLength += MINMATCH; in ZSTD_decodeSequence()
2912 if (op > oend_8 || sequence.matchLength < MINMATCH) { in ZSTD_execSequence()
2936 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence()
H A Dzstd_v06.c494 #define MINMATCH 3 macro
3350 …seq->matchLength = ML_base[mlCode] + MINMATCH + ((mlCode>31) ? BITv06_readBits(&(seqState->DStream… in ZSTDv06_decodeSequence()
3402 if (op > oend_8 || sequence.matchLength < MINMATCH) { in ZSTDv06_execSequence()
3427 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv06_execSequence()
H A Dzstd_v05.c469 #define MINMATCH 4 macro
3208 matchLength += MINMATCH; in ZSTDv05_decodeSequence()
3268 if (op > oend_8 || sequence.matchLength < MINMATCH) { in ZSTDv05_execSequence()
3291 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv05_execSequence()
H A Dzstd_v03.c2364 #define MINMATCH 4 macro
2738 matchLength += MINMATCH; in ZSTD_decodeSequence()
2798 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence()
H A Dzstd_v02.c2723 #define MINMATCH 4 macro
3097 matchLength += MINMATCH; in ZSTD_decodeSequence()
3157 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence()
H A Dzstd_v07.c2729 #define MINMATCH 3 macro
3629 if (op > oend_w || sequence.matchLength < MINMATCH) { in ZSTDv07_execSequence()
3654 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv07_execSequence()
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c6472 #define MINMATCH 3 macro
6657 seqLen.matchLength = seq->matchLength + MINMATCH; in ZSTD_getSequenceLength()
10359 pos, (U32)litLength, (U32)mlBase+MINMATCH, (U32)offCode); in ZSTD_storeSeq()
11573 (unsigned)sequences[n].matchLength + MINMATCH, in ZSTD_encodeSequences_body()
15411 outSeqs[i].matchLength = seqs[i].matchLength + MINMATCH; in ZSTD_copyBlockSequences()
18605 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBetterDictMatch()
18753 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBestMatch()
20135 sequence.matchLength - MINMATCH); in ZSTD_ldm_blockCompress()
20410 U32 const mlBase = matchLength - MINMATCH; in ZSTD_getMatchPrice()
20411 assert(matchLength >= MINMATCH); in ZSTD_getMatchPrice()
[all …]