Home
last modified time | relevance | path

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

/openbmc/linux/lib/zstd/compress/
H A Dzstd_opt.c614 U32 const repOffset = (repCode==ZSTD_REP_NUM) ? (rep[0] - 1) : rep[repCode]; in ZSTD_insertBtAndGetAllMatches() local
615 U32 const repIndex = curr - repOffset; in ZSTD_insertBtAndGetAllMatches()
618 …if (repOffset-1 /* intentional overflow, discards 0 and -1 */ < curr-dictLimit) { /* equivalent t… in ZSTD_insertBtAndGetAllMatches()
622 …>= windowLow) & (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repOffset, minMatch))) { in ZSTD_insertBtAndGetAllMatches()
623 repLen = (U32)ZSTD_count(ip+minMatch, ip+minMatch-repOffset, iLimit) + minMatch; in ZSTD_insertBtAndGetAllMatches()
631 …&& ( ((repOffset-1) /*intentional overflow*/ < curr - windowLow) /* equivalent to `curr > repInde… in ZSTD_insertBtAndGetAllMatches()
637 …&& ( ((repOffset-1) /*intentional overflow*/ < curr - (dmsLowLimit + dmsIndexDelta)) /* equivalen… in ZSTD_insertBtAndGetAllMatches()
645 repCode, ll0, repOffset, repLen); in ZSTD_insertBtAndGetAllMatches()