Lines Matching full:minmatch

800         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()
1632 * Gives a tighter bound than ZSTD_sequenceBound() by taking minMatch into account. */
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()
1651 size_t const maxNbSeq = ZSTD_maxNbSeq(blockSize, cParams->minMatch, useSequenceProducer); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1839 assert(cParams1.minMatch == cParams2.minMatch); in ZSTD_assertEqualCParams()
1925 …U32 const hashLog3 = ((forWho == ZSTD_resetTarget_CCtx) && cParams->minMatch==3) ? MIN(ZSTD_HAS… in ZSTD_reset_matchState()
2059 …size_t const maxNbSeq = ZSTD_maxNbSeq(blockSize, params->cParams.minMatch, ZSTD_hasExtSeqProd(para… in ZSTD_resetCCtx_internal()
3156 size_t const matchLenLowerBound = cParams->minMatch == 3 ? 3 : 4; in ZSTD_validateSeqStore()
3191 … ZSTD_ldm_skipSequences(&zc->externSeqStore, srcSize, zc->appliedParams.cParams.minMatch); in ZSTD_buildSeqStore()
3368 outSeqs[i].matchLength = inSeqs[i].mlBase + MINMATCH; in ZSTD_copyBlockSequences()
3372 * There can only be one because we add MINMATCH to every match length, in ZSTD_copyBlockSequences()
3905 matchBytes += seq.mlBase + MINMATCH; in ZSTD_countSeqStoreMatchBytes()
6395 ZSTD_validateSequence(U32 offBase, U32 matchLength, U32 minMatch, in ZSTD_validateSequence() argument
6405 size_t const matchLenLowerBound = (minMatch == 3 || useSequenceProducer) ? 3 : 4; in ZSTD_validateSequence()
6407 /* Validate maxNbSeq is large enough for the given matchLength and minMatch */ in ZSTD_validateSequence()
6408 …hLength < matchLenLowerBound, externalSequences_invalid, "Matchlength too small for the minMatch"); in ZSTD_validateSequence()
6475 … FORWARD_IF_ERROR(ZSTD_validateSequence(offBase, matchLength, cctx->appliedParams.cParams.minMatch, in ZSTD_transferSequences_wBlockDelim()
6530 * to avoid splitting a match, notably if it would produce a match smaller than MINMATCH.
6594 … if (matchLength > blockSize && firstHalfMatchLength >= cctx->appliedParams.cParams.minMatch) { in ZSTD_transferSequences_noDelim()
6597 if (secondHalfMatchLength < cctx->appliedParams.cParams.minMatch) { in ZSTD_transferSequences_noDelim()
6598 … /* Move the endPosInSequence backward so that it creates match of minMatch length */ in ZSTD_transferSequences_noDelim()
6599 … endPosInSequence -= cctx->appliedParams.cParams.minMatch - secondHalfMatchLength; in ZSTD_transferSequences_noDelim()
6600 … bytesAdjustment = cctx->appliedParams.cParams.minMatch - secondHalfMatchLength; in ZSTD_transferSequences_noDelim()
6630 …ZSTD_validateSequence(offBase, matchLength, cctx->appliedParams.cParams.minMatch, seqPos->posInSrc, in ZSTD_transferSequences_noDelim()
6934 ZSTD_REP_NUM, 0, -MINMATCH, 0, /* for sequence i */ in convertSequences_noRepcodes()
6935 ZSTD_REP_NUM, 0, -MINMATCH, 0 /* for sequence i+1 */ in convertSequences_noRepcodes()
7030 if (inSeqs[i].matchLength > 65535+MINMATCH) { in convertSequences_noRepcodes()
7038 if (inSeqs[i+1].matchLength > 65535+MINMATCH) { in convertSequences_noRepcodes()
7055 dstSeqs[i].mlBase = (U16)(inSeqs[i].matchLength - MINMATCH); in convertSequences_noRepcodes()
7057 if (UNLIKELY(inSeqs[i].matchLength > 65535+MINMATCH)) { in convertSequences_noRepcodes()
7086 dstSeqs[n].mlBase = (U16)(inSeqs[n].matchLength - MINMATCH); in convertSequences_noRepcodes()
7088 if (UNLIKELY(inSeqs[n].matchLength > 65535+MINMATCH)) { in convertSequences_noRepcodes()