Home
last modified time | relevance | path

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

/external/deqp/framework/delibs/debase/
DdeInt32.h573 DE_INLINE deUint32 deBitMask32 (int leastSignificantBitNdx, int numBits) in deBitMask32() argument
575 DE_ASSERT(deInRange32(leastSignificantBitNdx, 0, 32)); in deBitMask32()
577 DE_ASSERT(deInRange32(leastSignificantBitNdx+numBits, 0, 32)); in deBitMask32()
579 if (numBits < 32 && leastSignificantBitNdx < 32) in deBitMask32()
580 return ((1u<<numBits)-1u) << (deUint32)leastSignificantBitNdx; in deBitMask32()
581 else if (numBits == 0 && leastSignificantBitNdx == 32) in deBitMask32()
585 DE_ASSERT(numBits == 32 && leastSignificantBitNdx == 0); in deBitMask32()