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