Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/compress/
Dzstd_opt.c517 ZSTD_updateTree_internal(ms, ip, iend, ms->cParams.minMatch, ZSTD_noDict); in ZSTD_updateTree()
536 U32 const minMatch = (mls==3) ? 3 : 4; in ZSTD_insertBtAndGetAllMatches() local
587 …(repIndex >= windowLow) & (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repOffset, mi… in ZSTD_insertBtAndGetAllMatches()
588 repLen = (U32)ZSTD_count(ip+minMatch, ip+minMatch-repOffset, iLimit) + minMatch; in ZSTD_insertBtAndGetAllMatches()
598 && (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch)) ) { in ZSTD_insertBtAndGetAllMatches()
599 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dictEnd, prefixStart) +… in ZSTD_insertBtAndGetAllMatches()
604 && (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch)) ) { in ZSTD_insertBtAndGetAllMatches()
605 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dmsEnd, prefixStart) + in ZSTD_insertBtAndGetAllMatches()
765 U32 const matchLengthSearch = cParams->minMatch; in ZSTD_BtGetAllMatches()
961 U32 const minMatch = (cParams->minMatch == 3) ? 3 : 4; in ZSTD_compressBlock_opt_generic() local
[all …]
Dzstd_ldm.c547 void ZSTD_ldm_skipSequences(rawSeqStore_t* rawSeqStore, size_t srcSize, U32 const minMatch) { in ZSTD_ldm_skipSequences() argument
560 if (seq->matchLength < minMatch) { in ZSTD_ldm_skipSequences()
583 U32 const remaining, U32 const minMatch) in maybeSplitSequence() argument
597 if (sequence.matchLength < minMatch) { in maybeSplitSequence()
602 ZSTD_ldm_skipSequences(rawSeqStore, remaining, minMatch); in maybeSplitSequence()
628 unsigned const minMatch = cParams->minMatch; in ZSTD_ldm_blockCompress() local
653 (U32)(iend - ip), minMatch); in ZSTD_ldm_blockCompress()
Dzstd_ldm.h76 U32 const minMatch);
Dzstd_lazy.c400 switch(ms->cParams.minMatch) in ZSTD_BtFindBestMatch_selectMLS()
416 switch(ms->cParams.minMatch) in ZSTD_BtFindBestMatch_dictMatchState_selectMLS()
432 switch(ms->cParams.minMatch) in ZSTD_BtFindBestMatch_extDict_selectMLS()
477 return ZSTD_insertAndFindFirstIndex_internal(ms, cParams, ip, ms->cParams.minMatch); in ZSTD_insertAndFindFirstIndex()
514 U32 const h = (U32)ZSTD_hashPtr(base + idx, hashLog, ms->cParams.minMatch); in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
583 U32 const h = (U32)ZSTD_hashPtr(base + idx, hashLog, ms->cParams.minMatch) in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
792 switch(ms->cParams.minMatch) in ZSTD_HcFindBestMatch_selectMLS()
808 switch(ms->cParams.minMatch) in ZSTD_HcFindBestMatch_dictMatchState_selectMLS()
824 switch(ms->cParams.minMatch) in ZSTD_HcFindBestMatch_dedicatedDictSearch_selectMLS()
840 switch(ms->cParams.minMatch) in ZSTD_HcFindBestMatch_extDict_selectMLS()
Dzstd_fast.c22 U32 const mls = cParams->minMatch; in ZSTD_fillHashTable()
190 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast()
358 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast_dictMatchState()
483 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast_extDict()
Dzstd_compress.c633 CCtxParams->cParams.minMatch = value; in ZSTD_CCtxParams_setParameter()
634 return CCtxParams->cParams.minMatch; in ZSTD_CCtxParams_setParameter()
794 *value = CCtxParams->cParams.minMatch; in ZSTD_CCtxParams_getParameter()
1052 BOUNDCHECK(ZSTD_c_minMatch, (int)cParams.minMatch); in ZSTD_checkCParams()
1074 CLAMP(ZSTD_c_minMatch, cParams.minMatch); in ZSTD_clampCParams()
1210 if (overrides->minMatch) cParams->minMatch = overrides->minMatch; in ZSTD_overrideCParams()
1236 …U32 const hashLog3 = (forCCtx && cParams->minMatch==3) ? MIN(ZSTD_HASHLOG3_MAX, cParams->window… in ZSTD_sizeof_matchState()
1268 U32 const divider = (cParams->minMatch==3) ? 3 : 4; in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1426 assert(cParams1.minMatch == cParams2.minMatch); in ZSTD_assertEqualCParams()
1493 …U32 const hashLog3 = ((forWho == ZSTD_resetTarget_CCtx) && cParams->minMatch==3) ? MIN(ZSTD_HAS… in ZSTD_reset_matchState()
[all …]
Dzstd_double_fast.c21 U32 const mls = cParams->minMatch; in ZSTD_fillDoubleHashTable()
321 const U32 mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast()
341 const U32 mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast_dictMatchState()
506 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast_extDict()
/linux-6.1.9/lib/zstd/
Dzstd_compress_module.c43 cctx, ZSTD_c_minMatch, parameters->cParams.minMatch)); in zstd_cctx_init()
/linux-6.1.9/include/linux/
Dzstd_lib.h1164 …unsigned minMatch; /*< match length searched : larger == faster decompression, sometimes le… member