Home
last modified time | relevance | path

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

/third_party/lz4/lib/
Dlz4hc.c257 const U32 ipIndex = (U32)(ip - prefixPtr) + prefixIdx; in LZ4HC_InsertAndGetWiderMatch() local
258 const int withinStartDistance = (hc4->lowLimit + (LZ4_DISTANCE_MAX + 1) > ipIndex); in LZ4HC_InsertAndGetWiderMatch()
259 const U32 lowestMatchIndex = (withinStartDistance) ? hc4->lowLimit : ipIndex - LZ4_DISTANCE_MAX; in LZ4HC_InsertAndGetWiderMatch()
281 assert(matchIndex < ipIndex); in LZ4HC_InsertAndGetWiderMatch()
282 if (favorDecSpeed && (ipIndex - matchIndex < 8)) { in LZ4HC_InsertAndGetWiderMatch()
319 if (matchIndex + (U32)longest <= ipIndex) { in LZ4HC_InsertAndGetWiderMatch()
419 && ipIndex - lowestMatchIndex < LZ4_DISTANCE_MAX) { in LZ4HC_InsertAndGetWiderMatch()
424 while (ipIndex - matchIndex <= LZ4_DISTANCE_MAX && nbAttempts--) { in LZ4HC_InsertAndGetWiderMatch()