Lines Matching refs:newMatchIndex
379 U32 const newMatchIndex = matchCandidateIdx + (U32)forwardPatternLength - (U32)srcPatternLength; /* best position, full pattern, might be followed by more match */
380 if (LZ4HC_protectDictEnd(prefixIdx, newMatchIndex))
381 matchIndex = newMatchIndex;
384 assert(newMatchIndex >= prefixIdx - 3 && newMatchIndex < prefixIdx && !extDict);
388 U32 const newMatchIndex = matchCandidateIdx - (U32)backLength; /* farthest position in current segment, will find a match of length currentSegmentLength + maybe some back */
389 if (!LZ4HC_protectDictEnd(prefixIdx, newMatchIndex)) {
390 assert(newMatchIndex >= prefixIdx - 3 && newMatchIndex < prefixIdx && !extDict);
393 matchIndex = newMatchIndex;