Searched refs:minMatch (Results 1 – 9 of 9) sorted by relevance
/linux/lib/zstd/compress/ |
H A D | zstd_opt.c | 552 ZSTD_updateTree_internal(ms, ip, iend, ms->cParams.minMatch, ZSTD_noDict); in ZSTD_updateTree() 571 U32 const minMatch = (mls==3) ? 3 : 4; in ZSTD_insertBtAndGetAllMatches() local 622 …(repIndex >= windowLow) & (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repOffset, mi… in ZSTD_insertBtAndGetAllMatches() 623 repLen = (U32)ZSTD_count(ip+minMatch, ip+minMatch-repOffset, iLimit) + minMatch; in ZSTD_insertBtAndGetAllMatches() 633 && (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch)) ) { in ZSTD_insertBtAndGetAllMatches() 634 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dictEnd, prefixStart) +… in ZSTD_insertBtAndGetAllMatches() 639 && (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch)) ) { in ZSTD_insertBtAndGetAllMatches() 640 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dmsEnd, prefixStart) + … in ZSTD_insertBtAndGetAllMatches() 807 assert(BOUNDED(3, ms->cParams.minMatch, 6) == mls); in ZSTD_btGetAllMatches_internal() 859 U32 const mls = BOUNDED(3, ms->cParams.minMatch, 6); [all …]
|
H A D | zstd_ldm.c | 583 ZSTD_ldm_skipSequences(rawSeqStore_t* rawSeqStore, size_t srcSize, U32 const minMatch) in ZSTD_ldm_skipSequences() argument 597 if (seq->matchLength < minMatch) { in ZSTD_ldm_skipSequences() 620 U32 const remaining, U32 const minMatch) in maybeSplitSequence() argument 634 if (sequence.matchLength < minMatch) { in maybeSplitSequence() 639 ZSTD_ldm_skipSequences(rawSeqStore, remaining, minMatch); in maybeSplitSequence() 666 unsigned const minMatch = cParams->minMatch; in ZSTD_ldm_blockCompress() local 691 (U32)(iend - ip), minMatch); in ZSTD_ldm_blockCompress()
|
H A D | zstd_ldm.h | 77 U32 const minMatch);
|
H A D | zstd_fast.c | 22 U32 const mls = cParams->minMatch; in ZSTD_fillHashTable() 339 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast() 531 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast_dictMatchState() 662 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast_extDict()
|
H A D | zstd_double_fast.c | 21 U32 const mls = cParams->minMatch; in ZSTD_fillDoubleHashTable() 494 const U32 mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast() 514 const U32 mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast_dictMatchState() 683 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast_extDict()
|
H A D | zstd_lazy.c | 431 U32 const h = (U32)ZSTD_hashPtr(base + idx, hashLog, ms->cParams.minMatch); in ZSTD_dedicatedDictSearch_lazy_loadDictionary() 500 U32 const h = (U32)ZSTD_hashPtr(base + idx, hashLog, ms->cParams.minMatch) in ZSTD_dedicatedDictSearch_lazy_loadDictionary() 643 return ZSTD_insertAndFindFirstIndex_internal(ms, cParams, ip, ms->cParams.minMatch); in ZSTD_insertAndFindFirstIndex() 971 const U32 mls = MIN(ms->cParams.minMatch, 6 /* mls caps out at 6 */); in ZSTD_row_update() 1332 assert(MAX(4, MIN(6, ms->cParams.minMatch)) == mls); \ 1342 assert(MAX(4, MIN(6, ms->cParams.minMatch)) == mls); \ 1352 assert(MAX(4, MIN(6, ms->cParams.minMatch)) == mls); \ 1491 const U32 mls = BOUNDED(4, ms->cParams.minMatch, 6); in ZSTD_compressBlock_lazy_generic() 1527 MIN(ms->cParams.minMatch, 6 /* mls caps out at 6 */), in ZSTD_compressBlock_lazy_generic() 1882 const U32 mls = BOUNDED(4, ms->cParams.minMatch, 6); in ZSTD_compressBlock_lazy_extDict_generic() [all …]
|
H A D | zstd_compress.c | 726 CCtxParams->cParams.minMatch = value; in ZSTD_CCtxParams_setParameter() 727 return CCtxParams->cParams.minMatch; in ZSTD_CCtxParams_setParameter() 902 *value = CCtxParams->cParams.minMatch; in ZSTD_CCtxParams_getParameter() 1169 BOUNDCHECK(ZSTD_c_minMatch, (int)cParams.minMatch); in ZSTD_checkCParams() 1191 CLAMP(ZSTD_c_minMatch, cParams.minMatch); in ZSTD_clampCParams() 1327 if (overrides->minMatch) cParams->minMatch = overrides->minMatch; in ZSTD_overrideCParams() 1358 …U32 const hashLog3 = (forCCtx && cParams->minMatch==3) ? MIN(ZSTD_HASHLOG3_MAX, cParams->window… in ZSTD_sizeof_matchState() 1400 U32 const divider = (cParams->minMatch==3) ? 3 : 4; in ZSTD_estimateCCtxSize_usingCCtxParams_internal() 1583 assert(cParams1.minMatch == cParams2.minMatch); in ZSTD_assertEqualCParams() 1656 …U32 const hashLog3 = ((forWho == ZSTD_resetTarget_CCtx) && cParams->minMatch==3) ? MIN(ZSTD_HAS… in ZSTD_reset_matchState() [all …]
|
/linux/lib/zstd/ |
H A D | zstd_compress_module.c | 43 cctx, ZSTD_c_minMatch, parameters->cParams.minMatch)); in zstd_cctx_init()
|
/linux/include/linux/ |
H A D | zstd_lib.h | 1201 …unsigned minMatch; /*< match length searched : larger == faster decompression, sometimes le… member
|