Home
last modified time | relevance | path

Searched refs:minMatch (Results 1 – 9 of 9) sorted by relevance

/linux/lib/zstd/compress/
H A Dzstd_opt.c585 ZSTD_updateTree_internal(ms, ip, iend, ms->cParams.minMatch, ZSTD_noDict); in ZSTD_updateTree()
607 U32 const minMatch = (mls==3) ? 3 : 4; in ZSTD_insertBtAndGetAllMatches() local
658 …(repIndex >= windowLow) & (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repOffset, mi… in ZSTD_insertBtAndGetAllMatches()
659 repLen = (U32)ZSTD_count(ip+minMatch, ip+minMatch-repOffset, iLimit) + minMatch; in ZSTD_insertBtAndGetAllMatches()
669 && (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch)) ) { in ZSTD_insertBtAndGetAllMatches()
670 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dictEnd, prefixStart) +… in ZSTD_insertBtAndGetAllMatches()
675 && (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch)) ) { in ZSTD_insertBtAndGetAllMatches()
676 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dmsEnd, prefixStart) + in ZSTD_insertBtAndGetAllMatches()
845 assert(BOUNDED(3, ms->cParams.minMatch, 6) == mls); in ZSTD_btGetAllMatches_internal()
897 U32 const mls = BOUNDED(3, ms->cParams.minMatch, 6);
[all …]
H A Dzstd_ldm.c605 ZSTD_ldm_skipSequences(RawSeqStore_t* rawSeqStore, size_t srcSize, U32 const minMatch) in ZSTD_ldm_skipSequences() argument
619 if (seq->matchLength < minMatch) { in ZSTD_ldm_skipSequences()
642 U32 const remaining, U32 const minMatch) in maybeSplitSequence() argument
656 if (sequence.matchLength < minMatch) { in maybeSplitSequence()
661 ZSTD_ldm_skipSequences(rawSeqStore, remaining, minMatch); in maybeSplitSequence()
688 unsigned const minMatch = cParams->minMatch; in ZSTD_ldm_blockCompress() local
713 (U32)(iend - ip), minMatch); in ZSTD_ldm_blockCompress()
H A Dzstd_ldm.h77 U32 const minMatch);
H A Dzstd_fast.c24 U32 const mls = cParams->minMatch; in ZSTD_fillHashTableForCDict()
61 U32 const mls = cParams->minMatch; in ZSTD_fillHashTableForCCtx()
446 U32 const mml = ms->cParams.minMatch; in ZSTD_compressBlock_fast()
689 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast_dictMatchState()
970 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast_extDict()
H A Dzstd_double_fast.c25 U32 const mls = cParams->minMatch; in ZSTD_fillDoubleHashTableForCDict()
63 U32 const mls = cParams->minMatch; in ZSTD_fillDoubleHashTableForCCtx()
573 const U32 mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast()
593 const U32 mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast_dictMatchState()
764 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast_extDict()
H A Dzstd_compress.c800 CCtxParams->cParams.minMatch = (U32)value; in ZSTD_CCtxParams_setParameter()
801 return CCtxParams->cParams.minMatch; in ZSTD_CCtxParams_setParameter()
1006 *value = (int)CCtxParams->cParams.minMatch; in ZSTD_CCtxParams_getParameter()
1138 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(cctx, ZSTD_c_minMatch, (int)cparams.minMatch), ""); in ZSTD_CCtx_setCParams()
1330 BOUNDCHECK(ZSTD_c_minMatch, (int)cParams.minMatch); in ZSTD_checkCParams()
1353 CLAMP(ZSTD_c_minMatch, cParams.minMatch); in ZSTD_clampCParams()
1568 if (overrides->minMatch) cParams->minMatch = overrides->minMatch; in ZSTD_overrideCParams()
1600 …U32 const hashLog3 = (forCCtx && cParams->minMatch==3) ? MIN(ZSTD_HASHLOG3_MAX, cParams->window… in ZSTD_sizeof_matchState()
1633 static size_t ZSTD_maxNbSeq(size_t blockSize, unsigned minMatch, int useSequenceProducer) { in ZSTD_maxNbSeq() argument
1634 U32 const divider = (minMatch==3 || useSequenceProducer) ? 3 : 4; in ZSTD_maxNbSeq()
[all …]
H A Dzstd_lazy.c445 U32 const h = (U32)ZSTD_hashPtr(base + idx, hashLog, ms->cParams.minMatch); in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
514 U32 const h = (U32)ZSTD_hashPtr(base + idx, hashLog, ms->cParams.minMatch) in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
662 …return ZSTD_insertAndFindFirstIndex_internal(ms, cParams, ip, ms->cParams.minMatch, /* lazySkippin… in ZSTD_insertAndFindFirstIndex()
953 const U32 mls = MIN(ms->cParams.minMatch, 6 /* mls caps out at 6 */); in ZSTD_row_update()
1372 assert(MAX(4, MIN(6, ms->cParams.minMatch)) == mls); \
1382 assert(MAX(4, MIN(6, ms->cParams.minMatch)) == mls); \
1392 assert(MAX(4, MIN(6, ms->cParams.minMatch)) == mls); \
1532 const U32 mls = BOUNDED(4, ms->cParams.minMatch, 6); in ZSTD_compressBlock_lazy_generic()
1956 const U32 mls = BOUNDED(4, ms->cParams.minMatch, 6); in ZSTD_compressBlock_lazy_extDict_generic()
/linux/lib/zstd/
H A Dzstd_compress_module.c44 cctx, ZSTD_c_minMatch, parameters->cParams.minMatch)); in zstd_cctx_init()
/linux/include/linux/
H A Dzstd_lib.h1324 …unsigned minMatch; /*< match length searched : larger == faster decompression, sometimes le… member