Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/common/
Dbitstream.h313 U32 const regMask = sizeof(bitContainer)*8 - 1; in BIT_getMiddleBits() local
322 return (bitContainer >> (start & regMask)) & ((((U64)1) << nbBits) - 1); in BIT_getMiddleBits()
324 return (bitContainer >> (start & regMask)) & BIT_mask[nbBits]; in BIT_getMiddleBits()
349 U32 const regMask = sizeof(bitD->bitContainer)*8 - 1; in BIT_lookBits()
350 …return ((bitD->bitContainer << (bitD->bitsConsumed & regMask)) >> 1) >> ((regMask-nbBits) & regMas… in BIT_lookBits()
358 U32 const regMask = sizeof(bitD->bitContainer)*8 - 1; in BIT_lookBitsFast() local
360 … return (bitD->bitContainer << (bitD->bitsConsumed & regMask)) >> (((regMask+1)-nbBits) & regMask); in BIT_lookBitsFast()