Home
last modified time | relevance | path

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

/external/deqp/framework/delibs/debase/
DdeInt32.h663 DE_INLINE deUint32 deBitMask32 (int leastSignificantBitNdx, int numBits) in deBitMask32() argument
665 DE_ASSERT(deInRange32(leastSignificantBitNdx, 0, 32)); in deBitMask32()
667 DE_ASSERT(deInRange32(leastSignificantBitNdx+numBits, 0, 32)); in deBitMask32()
669 if (numBits < 32 && leastSignificantBitNdx < 32) in deBitMask32()
670 return ((1u<<numBits)-1u) << (deUint32)leastSignificantBitNdx; in deBitMask32()
671 else if (numBits == 0 && leastSignificantBitNdx == 32) in deBitMask32()
675 DE_ASSERT(numBits == 32 && leastSignificantBitNdx == 0); in deBitMask32()