Lines Matching refs:matchIndex
114 U32 matchIndex; in LZ4HC_InsertAndFindBestMatch() local
120 matchIndex = HashTable[LZ4HC_hashPtr(ip)]; in LZ4HC_InsertAndFindBestMatch()
122 while ((matchIndex >= lowLimit) in LZ4HC_InsertAndFindBestMatch()
125 if (matchIndex >= dictLimit) { in LZ4HC_InsertAndFindBestMatch()
126 const BYTE * const match = base + matchIndex; in LZ4HC_InsertAndFindBestMatch()
139 const BYTE * const match = dictBase + matchIndex; in LZ4HC_InsertAndFindBestMatch()
144 + (dictLimit - matchIndex); in LZ4HC_InsertAndFindBestMatch()
158 *matchpos = base + matchIndex; in LZ4HC_InsertAndFindBestMatch()
162 matchIndex -= DELTANEXTU16(matchIndex); in LZ4HC_InsertAndFindBestMatch()
187 U32 matchIndex; in LZ4HC_InsertAndGetWiderMatch() local
193 matchIndex = HashTable[LZ4HC_hashPtr(ip)]; in LZ4HC_InsertAndGetWiderMatch()
195 while ((matchIndex >= lowLimit) in LZ4HC_InsertAndGetWiderMatch()
198 if (matchIndex >= dictLimit) { in LZ4HC_InsertAndGetWiderMatch()
199 const BYTE *matchPtr = base + matchIndex; in LZ4HC_InsertAndGetWiderMatch()
225 const BYTE * const matchPtr = dictBase + matchIndex; in LZ4HC_InsertAndGetWiderMatch()
230 const BYTE *vLimit = ip + (dictLimit - matchIndex); in LZ4HC_InsertAndGetWiderMatch()
242 && (matchIndex + back > lowLimit) in LZ4HC_InsertAndGetWiderMatch()
250 *matchpos = base + matchIndex + back; in LZ4HC_InsertAndGetWiderMatch()
256 matchIndex -= DELTANEXTU16(matchIndex); in LZ4HC_InsertAndGetWiderMatch()