Home
last modified time | relevance | path

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

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