Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstd_lazy.c30 U32 const btMask = (1 << btLog) - 1; in ZSTD_updateDUBT() local
72 U32 const btMask = (1 << btLog) - 1; in ZSTD_insertDUBT1() local
82 U32* smallerPtr = bt + 2*(curr&btMask); in ZSTD_insertDUBT1()
180 U32 const btMask = (1 << btLog) - 1; in ZSTD_DUBT_findBetterDictMatch() local
181 …U32 const btLow = (btMask >= dictHighLimit - dictLowLimit) ? dictLowLimit : dictHighLimit … in ZSTD_DUBT_findBetterDictMatch()
249 U32 const btMask = (1 << btLog) - 1; in ZSTD_DUBT_findBestMatch() local
250 U32 const btLow = (btMask >= curr) ? 0 : curr - btMask; in ZSTD_DUBT_findBestMatch()
272 nextCandidate = bt + 2*(matchIndex&btMask); in ZSTD_DUBT_findBestMatch()
273 unsortedMark = bt + 2*(matchIndex&btMask) + 1; in ZSTD_DUBT_findBestMatch()
303 U32* smallerPtr = bt + 2*(curr&btMask); in ZSTD_DUBT_findBestMatch()
[all …]
H A Dzstd_opt.c380 U32 const btMask = (1 << btLog) - 1; in ZSTD_insertBt1() local
390 const U32 btLow = btMask >= curr ? 0 : curr - btMask; in ZSTD_insertBt1()
391 U32* smallerPtr = bt + 2*(curr&btMask); in ZSTD_insertBt1()
399 U32 predictedSmall = *(bt + 2*((curr-1)&btMask) + 0); in ZSTD_insertBt1()
400 U32 predictedLarge = *(bt + 2*((curr-1)&btMask) + 1); in ZSTD_insertBt1()
412 U32* const nextPtr = bt + 2*(matchIndex & btMask); in ZSTD_insertBt1()
530 U32 const btMask= (1U << btLog) - 1; in ZSTD_insertBtAndGetAllMatches() local
536 U32 const btLow = (btMask >= curr) ? 0 : curr - btMask; in ZSTD_insertBtAndGetAllMatches()
539 U32* smallerPtr = bt + 2*(curr&btMask); in ZSTD_insertBtAndGetAllMatches()
540 U32* largerPtr = bt + 2*(curr&btMask) + 1; in ZSTD_insertBtAndGetAllMatches()
[all …]
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c18415 U32 const btMask = (1 << btLog) - 1; in ZSTD_updateDUBT() local
18457 U32 const btMask = (1 << btLog) - 1; in ZSTD_insertDUBT1() local
18467 U32* smallerPtr = bt + 2*(current&btMask); in ZSTD_insertDUBT1()
18566 …U32 const btLow = (btMask >= dictHighLimit - dictLowLimit) ? dictLowLimit : dictHighLimit … in ZSTD_DUBT_findBetterDictMatch()
18634 U32 const btMask = (1 << btLog) - 1; in ZSTD_DUBT_findBestMatch() local
18635 U32 const btLow = (btMask >= current) ? 0 : current - btMask; in ZSTD_DUBT_findBestMatch()
20526 U32 const btMask = (1 << btLog) - 1; in ZSTD_insertBt1() local
20536 const U32 btLow = btMask >= current ? 0 : current - btMask; in ZSTD_insertBt1()
20537 U32* smallerPtr = bt + 2*(current&btMask); in ZSTD_insertBt1()
20676 U32 const btMask= (1U << btLog) - 1; in ZSTD_insertBtAndGetAllMatches() local
[all …]