Lines Matching refs:matchLength
173 size_t matchLength = 0; in ZSTD_ldm_countBackwardsMatch() local
177 matchLength++; in ZSTD_ldm_countBackwardsMatch()
179 return matchLength; in ZSTD_ldm_countBackwardsMatch()
192 size_t matchLength = ZSTD_ldm_countBackwardsMatch(pIn, pAnchor, pMatch, pMatchBase); in ZSTD_ldm_countBackwardsMatch_2segments() local
193 if (pMatch - matchLength != pMatchBase || pMatchBase == pExtDictStart) { in ZSTD_ldm_countBackwardsMatch_2segments()
195 return matchLength; in ZSTD_ldm_countBackwardsMatch_2segments()
197 …ountBackwardsMatch_2segments: found 2-parts backwards match (length in prefix==%zu)", matchLength); in ZSTD_ldm_countBackwardsMatch_2segments()
198 …matchLength += ZSTD_ldm_countBackwardsMatch(pIn - matchLength, pAnchor, pExtDictEnd, pExtDictStart… in ZSTD_ldm_countBackwardsMatch_2segments()
199 DEBUGLOG(7, "final backwards match length = %zu", matchLength); in ZSTD_ldm_countBackwardsMatch_2segments()
200 return matchLength; in ZSTD_ldm_countBackwardsMatch_2segments()
440 seq->matchLength = (U32)mLength; in ZSTD_ldm_generateSequences_internal()
557 if (srcSize < seq->matchLength) { in ZSTD_ldm_skipSequences()
559 seq->matchLength -= (U32)srcSize; in ZSTD_ldm_skipSequences()
560 if (seq->matchLength < minMatch) { in ZSTD_ldm_skipSequences()
563 seq[1].litLength += seq[0].matchLength; in ZSTD_ldm_skipSequences()
569 srcSize -= seq->matchLength; in ZSTD_ldm_skipSequences()
570 seq->matchLength = 0; in ZSTD_ldm_skipSequences()
588 if (remaining >= sequence.litLength + sequence.matchLength) { in maybeSplitSequence()
595 } else if (remaining < sequence.litLength + sequence.matchLength) { in maybeSplitSequence()
596 sequence.matchLength = remaining - sequence.litLength; in maybeSplitSequence()
597 if (sequence.matchLength < minMatch) { in maybeSplitSequence()
610 if (currPos >= currSeq.litLength + currSeq.matchLength) { in ZSTD_ldm_skipRawSeqStoreBytes()
611 currPos -= currSeq.litLength + currSeq.matchLength; in ZSTD_ldm_skipRawSeqStoreBytes()
659 assert(ip + sequence.litLength + sequence.matchLength <= iend); in ZSTD_ldm_blockCompress()
677 sequence.matchLength - MINMATCH); in ZSTD_ldm_blockCompress()
678 ip += sequence.matchLength; in ZSTD_ldm_blockCompress()