Lines Matching refs:matchLength
200 size_t matchLength = 0; in ZSTD_ldm_countBackwardsMatch() local
204 matchLength++; in ZSTD_ldm_countBackwardsMatch()
206 return matchLength; in ZSTD_ldm_countBackwardsMatch()
219 size_t matchLength = ZSTD_ldm_countBackwardsMatch(pIn, pAnchor, pMatch, pMatchBase); in ZSTD_ldm_countBackwardsMatch_2segments() local
220 if (pMatch - matchLength != pMatchBase || pMatchBase == pExtDictStart) { in ZSTD_ldm_countBackwardsMatch_2segments()
222 return matchLength; in ZSTD_ldm_countBackwardsMatch_2segments()
224 …ountBackwardsMatch_2segments: found 2-parts backwards match (length in prefix==%zu)", matchLength); in ZSTD_ldm_countBackwardsMatch_2segments()
225 …matchLength += ZSTD_ldm_countBackwardsMatch(pIn - matchLength, pAnchor, pExtDictEnd, pExtDictStart… in ZSTD_ldm_countBackwardsMatch_2segments()
226 DEBUGLOG(7, "final backwards match length = %zu", matchLength); in ZSTD_ldm_countBackwardsMatch_2segments()
227 return matchLength; in ZSTD_ldm_countBackwardsMatch_2segments()
460 seq->matchLength = (U32)mLength; in ZSTD_ldm_generateSequences_internal()
594 if (srcSize < seq->matchLength) { in ZSTD_ldm_skipSequences()
596 seq->matchLength -= (U32)srcSize; in ZSTD_ldm_skipSequences()
597 if (seq->matchLength < minMatch) { in ZSTD_ldm_skipSequences()
600 seq[1].litLength += seq[0].matchLength; in ZSTD_ldm_skipSequences()
606 srcSize -= seq->matchLength; in ZSTD_ldm_skipSequences()
607 seq->matchLength = 0; in ZSTD_ldm_skipSequences()
625 if (remaining >= sequence.litLength + sequence.matchLength) { in maybeSplitSequence()
632 } else if (remaining < sequence.litLength + sequence.matchLength) { in maybeSplitSequence()
633 sequence.matchLength = remaining - sequence.litLength; in maybeSplitSequence()
634 if (sequence.matchLength < minMatch) { in maybeSplitSequence()
647 if (currPos >= currSeq.litLength + currSeq.matchLength) { in ZSTD_ldm_skipRawSeqStoreBytes()
648 currPos -= currSeq.litLength + currSeq.matchLength; in ZSTD_ldm_skipRawSeqStoreBytes()
697 assert(ip + sequence.litLength + sequence.matchLength <= iend); in ZSTD_ldm_blockCompress()
715 sequence.matchLength); in ZSTD_ldm_blockCompress()
716 ip += sequence.matchLength; in ZSTD_ldm_blockCompress()