Lines Matching refs:matchLength
148 size_t matchLength = 0; in ZSTD_ldm_countBackwardsMatch() local
152 matchLength++; in ZSTD_ldm_countBackwardsMatch()
154 return matchLength; in ZSTD_ldm_countBackwardsMatch()
167 size_t matchLength = ZSTD_ldm_countBackwardsMatch(pIn, pAnchor, pMatch, pMatchBase); in ZSTD_ldm_countBackwardsMatch_2segments() local
168 if (pMatch - matchLength != pMatchBase || pMatchBase == pExtDictStart) { in ZSTD_ldm_countBackwardsMatch_2segments()
170 return matchLength; in ZSTD_ldm_countBackwardsMatch_2segments()
172 …ountBackwardsMatch_2segments: found 2-parts backwards match (length in prefix==%zu)", matchLength); in ZSTD_ldm_countBackwardsMatch_2segments()
173 …matchLength += ZSTD_ldm_countBackwardsMatch(pIn - matchLength, pAnchor, pExtDictEnd, pExtDictStart… in ZSTD_ldm_countBackwardsMatch_2segments()
174 DEBUGLOG(7, "final backwards match length = %zu", matchLength); in ZSTD_ldm_countBackwardsMatch_2segments()
175 return matchLength; in ZSTD_ldm_countBackwardsMatch_2segments()
406 seq->matchLength = (U32)mLength; in ZSTD_ldm_generateSequences_internal()
531 if (srcSize < seq->matchLength) { in ZSTD_ldm_skipSequences()
533 seq->matchLength -= (U32)srcSize; in ZSTD_ldm_skipSequences()
534 if (seq->matchLength < minMatch) { in ZSTD_ldm_skipSequences()
537 seq[1].litLength += seq[0].matchLength; in ZSTD_ldm_skipSequences()
543 srcSize -= seq->matchLength; in ZSTD_ldm_skipSequences()
544 seq->matchLength = 0; in ZSTD_ldm_skipSequences()
562 if (remaining >= sequence.litLength + sequence.matchLength) { in maybeSplitSequence()
569 } else if (remaining < sequence.litLength + sequence.matchLength) { in maybeSplitSequence()
570 sequence.matchLength = remaining - sequence.litLength; in maybeSplitSequence()
571 if (sequence.matchLength < minMatch) { in maybeSplitSequence()
584 if (currPos >= currSeq.litLength + currSeq.matchLength) { in ZSTD_ldm_skipRawSeqStoreBytes()
585 currPos -= currSeq.litLength + currSeq.matchLength; in ZSTD_ldm_skipRawSeqStoreBytes()
633 assert(ip + sequence.litLength + sequence.matchLength <= iend); in ZSTD_ldm_blockCompress()
651 sequence.matchLength - MINMATCH); in ZSTD_ldm_blockCompress()
652 ip += sequence.matchLength; in ZSTD_ldm_blockCompress()