Home
last modified time | relevance | path

Searched refs:backLength (Results 1 – 1 of 1) sorted by relevance

/third_party/lz4/lib/
Dlz4hc.c362 … size_t backLength = LZ4HC_reverseCountPattern(matchPtr, lowestMatchPtr, pattern); in LZ4HC_InsertAndGetWiderMatch() local
364 … if (!extDict && matchPtr - backLength == lowPrefixPtr && hc4->lowLimit < dictLimit) { in LZ4HC_InsertAndGetWiderMatch()
365 … U32 const rotatedPattern = LZ4HC_rotatePattern((U32)(-(int)backLength), pattern); in LZ4HC_InsertAndGetWiderMatch()
366backLength += LZ4HC_reverseCountPattern(dictBase + dictLimit, dictStart, rotatedPattern); in LZ4HC_InsertAndGetWiderMatch()
369backLength = matchCandidateIdx - MAX(matchCandidateIdx - (U32)backLength, lowestMatchIndex); in LZ4HC_InsertAndGetWiderMatch()
370 assert(matchCandidateIdx - backLength >= lowestMatchIndex); in LZ4HC_InsertAndGetWiderMatch()
371 currentSegmentLength = backLength + forwardPatternLength; in LZ4HC_InsertAndGetWiderMatch()
384 …U32 const newMatchIndex = matchCandidateIdx - (U32)backLength; /* farthest position in current s… in LZ4HC_InsertAndGetWiderMatch()