Lines Matching refs:matchLength

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