Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4hc.c338 U32 const matchCandidateIdx = matchIndex-1; in LZ4HC_InsertAndGetWiderMatch() local
348 if ( (repeat == rep_confirmed) && (matchCandidateIdx >= lowestMatchIndex) in LZ4HC_InsertAndGetWiderMatch()
349 && LZ4HC_protectDictEnd(dictLimit, matchCandidateIdx) ) { in LZ4HC_InsertAndGetWiderMatch()
350 const int extDict = matchCandidateIdx < dictLimit; in LZ4HC_InsertAndGetWiderMatch()
351 const BYTE* const matchPtr = (extDict ? dictBase : base) + matchCandidateIdx; in LZ4HC_InsertAndGetWiderMatch()
368 … backLength = matchCandidateIdx - MAX(matchCandidateIdx - (U32)backLength, lowestMatchIndex); in LZ4HC_InsertAndGetWiderMatch()
369 assert(matchCandidateIdx - backLength >= lowestMatchIndex); in LZ4HC_InsertAndGetWiderMatch()
374 …U32 const newMatchIndex = matchCandidateIdx + (U32)forwardPatternLength - (U32)srcPatternLength; … in LZ4HC_InsertAndGetWiderMatch()
383 …U32 const newMatchIndex = matchCandidateIdx - (U32)backLength; /* farthest position in current s… in LZ4HC_InsertAndGetWiderMatch()