Lines Matching refs:matchLength
2824 outSeqs[i].matchLength = seqStoreSeqs[i].mlBase + MINMATCH; in ZSTD_copyBlockSequences()
2831 outSeqs[i].matchLength += 0x10000; in ZSTD_copyBlockSequences()
2863 outSeqs[i].matchLength = outSeqs[i].offset = outSeqs[i].rep = 0; in ZSTD_copyBlockSequences()
2892 if (sequences[in].offset == 0 && sequences[in].matchLength == 0) { in ZSTD_mergeBlockDelimiters()
5563 ZSTD_validateSequence(U32 offCode, U32 matchLength, in ZSTD_validateSequence() argument
5574 RETURN_ERROR_IF(matchLength < MINMATCH, corruption_detected, "Matchlength too small"); in ZSTD_validateSequence()
5618 for (; (inSeqs[idx].matchLength != 0 || inSeqs[idx].offset != 0) && idx < inSeqsSize; ++idx) { in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
5621 U32 const matchLength = inSeqs[idx].matchLength; in ZSTD_copySequencesToSeqStoreExplicitBlockDelim() local
5625 DEBUGLOG(6, "Storing sequence: (of: %u, ml: %u, ll: %u)", offCode, matchLength, litLength); in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
5627 seqPos->posInSrc += litLength + matchLength; in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
5628 FORWARD_IF_ERROR(ZSTD_validateSequence(offCode, matchLength, seqPos->posInSrc, in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
5634 ZSTD_storeSeq(&cctx->seqStore, litLength, ip, iend, offCode, matchLength); in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
5635 ip += matchLength + litLength; in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
5684 … idx: %u (of: %u ml: %u ll: %u)", idx, inSeqs[idx].offset, inSeqs[idx].matchLength, inSeqs[idx].li… in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5689 U32 matchLength = currSeq.matchLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim() local
5694 if (endPosInSequence >= currSeq.litLength + currSeq.matchLength) { in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5698 matchLength -= startPosInSequence; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5703 endPosInSequence -= currSeq.litLength + currSeq.matchLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5710 … currSeq.litLength + currSeq.matchLength - endPosInSequence, idx, endPosInSequence); in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5715 … if (matchLength > blockSize && firstHalfMatchLength >= cctx->appliedParams.cParams.minMatch) { in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5717 … U32 secondHalfMatchLength = currSeq.matchLength + currSeq.litLength - endPosInSequence; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5724 matchLength = firstHalfMatchLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5750 seqPos->posInSrc += litLength + matchLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5751 FORWARD_IF_ERROR(ZSTD_validateSequence(offCode, matchLength, seqPos->posInSrc, in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5755 DEBUGLOG(6, "Storing sequence: (of: %u, ml: %u, ll: %u)", offCode, matchLength, litLength); in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5758 ZSTD_storeSeq(&cctx->seqStore, litLength, ip, iend, offCode, matchLength); in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5759 ip += matchLength + litLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5761 … idx: %u (of: %u ml: %u ll: %u)", idx, inSeqs[idx].offset, inSeqs[idx].matchLength, inSeqs[idx].li… in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5762 … assert(idx == inSeqsSize || endPosInSequence <= inSeqs[idx].litLength + inSeqs[idx].matchLength); in ZSTD_copySequencesToSeqStoreNoBlockDelim()