Home
last modified time | relevance | path

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

/freebsd-12.1/sys/contrib/zstd/lib/compress/
H A Dzstd_lazy.c29 U32 const btMask = (1 << btLog) - 1; in ZSTD_updateDUBT() local
46 U32* const nextCandidatePtr = bt + 2*(idx&btMask); in ZSTD_updateDUBT()
69 U32 const btMask = (1 << btLog) - 1; in ZSTD_insertDUBT1() local
79 U32* smallerPtr = bt + 2*(current&btMask); in ZSTD_insertDUBT1()
91 U32* const nextPtr = bt + 2*(matchIndex & btMask); in ZSTD_insertDUBT1()
159 U32 const btMask = (1 << btLog) - 1; in ZSTD_DUBT_findBestMatch() local
160 U32 const btLow = (btMask >= current) ? 0 : current - btMask; in ZSTD_DUBT_findBestMatch()
181 nextCandidate = bt + 2*(matchIndex&btMask); in ZSTD_DUBT_findBestMatch()
182 unsortedMark = bt + 2*(matchIndex&btMask) + 1; in ZSTD_DUBT_findBestMatch()
210 U32* smallerPtr = bt + 2*(current&btMask); in ZSTD_DUBT_findBestMatch()
[all …]
H A Dzstd_opt.c281 U32 const btMask = (1 << btLog) - 1; in ZSTD_insertBt1() local
291 const U32 btLow = btMask >= current ? 0 : current - btMask; in ZSTD_insertBt1()
292 U32* smallerPtr = bt + 2*(current&btMask); in ZSTD_insertBt1()
300 U32 predictedSmall = *(bt + 2*((current-1)&btMask) + 0); in ZSTD_insertBt1()
301 U32 predictedLarge = *(bt + 2*((current-1)&btMask) + 1); in ZSTD_insertBt1()
312 U32* const nextPtr = bt + 2*(matchIndex & btMask); in ZSTD_insertBt1()
421 U32 const btMask= (1U << btLog) - 1; in ZSTD_insertBtAndGetAllMatches() local
427 U32 const btLow = btMask >= current ? 0 : current - btMask; in ZSTD_insertBtAndGetAllMatches()
429 U32* smallerPtr = bt + 2*(current&btMask); in ZSTD_insertBtAndGetAllMatches()
430 U32* largerPtr = bt + 2*(current&btMask) + 1; in ZSTD_insertBtAndGetAllMatches()
[all …]