Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
H A Dzstd_opt.c455 U32 const btMask = (1 << btLog) - 1; in ZSTD_insertBt1() local
465 const U32 btLow = btMask >= curr ? 0 : curr - btMask; in ZSTD_insertBt1()
466 U32* smallerPtr = bt + 2*(curr&btMask); in ZSTD_insertBt1()
477 U32 predictedSmall = *(bt + 2*((curr-1)&btMask) + 0); in ZSTD_insertBt1()
478 U32 predictedLarge = *(bt + 2*((curr-1)&btMask) + 1); in ZSTD_insertBt1()
491 U32* const nextPtr = bt + 2*(matchIndex & btMask); in ZSTD_insertBt1()
496 …const U32* predictPtr = bt + 2*((matchIndex-1) & btMask); /* written this way, as bt is a roll b… in ZSTD_insertBt1()
613 U32 const btMask= (1U << btLog) - 1; in ZSTD_insertBtAndGetAllMatches() local
619 U32 const btLow = (btMask >= curr) ? 0 : curr - btMask; in ZSTD_insertBtAndGetAllMatches()
622 U32* smallerPtr = bt + 2*(curr&btMask); in ZSTD_insertBtAndGetAllMatches()
[all …]
H A Dzstd_lazy.c40 U32 const btMask = (1 << btLog) - 1; in ZSTD_updateDUBT() local
57 U32* const nextCandidatePtr = bt + 2*(idx&btMask); in ZSTD_updateDUBT()
83 U32 const btMask = (1 << btLog) - 1; in ZSTD_insertDUBT1() local
93 U32* smallerPtr = bt + 2*(curr&btMask); in ZSTD_insertDUBT1()
108 U32* const nextPtr = bt + 2*(matchIndex & btMask); in ZSTD_insertDUBT1()
192 U32 const btMask = (1 << btLog) - 1; in ZSTD_DUBT_findBetterDictMatch() local
193 …U32 const btLow = (btMask >= dictHighLimit - dictLowLimit) ? dictLowLimit : dictHighLimit … in ZSTD_DUBT_findBetterDictMatch()
201 U32* const nextPtr = dictBt + 2*(dictMatchIndex & btMask); in ZSTD_DUBT_findBetterDictMatch()
262 U32 const btMask = (1 << btLog) - 1; in ZSTD_DUBT_findBestMatch() local
263 U32 const btLow = (btMask >= curr) ? 0 : curr - btMask; in ZSTD_DUBT_findBestMatch()
[all …]