Lines Matching refs:curr
239 const U32 curr = (U32)(ip - base); in ZSTD_insertBtAndGetAllMatches() local
252 const U32 btLow = btMask >= curr ? 0 : curr - btMask; in ZSTD_insertBtAndGetAllMatches()
254 U32 *smallerPtr = bt + 2 * (curr & btMask); in ZSTD_insertBtAndGetAllMatches()
255 U32 *largerPtr = bt + 2 * (curr & btMask) + 1; in ZSTD_insertBtAndGetAllMatches()
256 U32 matchEndIdx = curr + 8; in ZSTD_insertBtAndGetAllMatches()
265 if (matchIndex3 > windowLow && (curr - matchIndex3 < (1 << 18))) { in ZSTD_insertBtAndGetAllMatches()
282 matches[mnum].off = ZSTD_REP_MOVE_OPT + curr - matchIndex3; in ZSTD_insertBtAndGetAllMatches()
293 hashTable[h] = curr; /* Update Hash Table */ in ZSTD_insertBtAndGetAllMatches()
316 matches[mnum].off = ZSTD_REP_MOVE_OPT + curr - matchIndex; in ZSTD_insertBtAndGetAllMatches()
351 zc->nextToUpdate = (matchEndIdx > curr + 8) ? matchEndIdx - 8 : curr + 1; in ZSTD_insertBtAndGetAllMatches()
740 U32 curr = (U32)(ip - base); in ZSTD_compressBlock_opt_extDict_generic() local
750 const U32 repIndex = (U32)(curr - repCur); in ZSTD_compressBlock_opt_extDict_generic()
753 if ((repCur > 0 && repCur <= (S32)curr) && in ZSTD_compressBlock_opt_extDict_generic()
863 const U32 repIndex = (U32)(curr + cur - repCur); in ZSTD_compressBlock_opt_extDict_generic()
866 if ((repCur > 0 && repCur <= (S32)(curr + cur)) && in ZSTD_compressBlock_opt_extDict_generic()