Home
last modified time | relevance | path

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

/linux-4.19.296/lib/zstd/
Dzstd_opt.h246 const U32 btMask = (1U << btLog) - 1; 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()
296 U32 *nextPtr = bt + 2 * (matchIndex & btMask); in ZSTD_insertBtAndGetAllMatches()
Dcompress.c1568 U32 const btMask = (1 << btLog) - 1; in ZSTD_insertBt1() local
1578 const U32 btLow = btMask >= curr ? 0 : curr - btMask; in ZSTD_insertBt1()
1579 U32 *smallerPtr = bt + 2 * (curr & btMask); in ZSTD_insertBt1()
1589 U32 *const nextPtr = bt + 2 * (matchIndex & btMask); in ZSTD_insertBt1()
1651 U32 const btMask = (1 << btLog) - 1; in ZSTD_insertBtAndFindBestMatch() local
1660 const U32 btLow = btMask >= curr ? 0 : curr - btMask; in ZSTD_insertBtAndFindBestMatch()
1662 U32 *smallerPtr = bt + 2 * (curr & btMask); in ZSTD_insertBtAndFindBestMatch()
1663 U32 *largerPtr = bt + 2 * (curr & btMask) + 1; in ZSTD_insertBtAndFindBestMatch()
1671 U32 *const nextPtr = bt + 2 * (matchIndex & btMask); in ZSTD_insertBtAndFindBestMatch()