Lines Matching refs:DE_ASSERT
53 DE_ASSERT((unsigned int) a != 0x80000000u); in deAbs32()
138 DE_ASSERT(mn <= mx); in deClamp32()
174 DE_ASSERT(r >= 0 && r <= 32); in deRor32()
189 DE_ASSERT(r >= 0 && r <= 32); in deRol32()
216 DE_ASSERT(deIsPowerOfTwo32(align)); in deIsAligned32()
228 DE_ASSERT((align & (align-1)) == 0); /* power of two */ in deIsAlignedPtr()
240 DE_ASSERT(deIsPowerOfTwo32(align)); in deAlign32()
253 DE_ASSERT((align & (align-1)) == 0); /* power of two */ in deAlignPtr()
295 DE_ASSERT(a > 0); in deLog2Floor32()
362 DE_ASSERT((deInt64)res == ((deInt64)a * (deInt64)b)); in deSafeMul32()
368 DE_ASSERT((deInt64)a + (deInt64)b == (deInt64)(a + b)); in deSafeAdd32()
382 DE_ASSERT(res == (deInt64)(deInt32)res); in deSafeMulAsr32()
389 DE_ASSERT(res == (deUint64)(deUint32)res); in deSafeMuluAsr32()
400 DE_ASSERT((deUint64) a != 0x8000000000000000LL); in deAbs64()
487 DE_ASSERT(deInRange32(leastSignificantBitNdx, 0, 32)); in deBitMask32()
488 DE_ASSERT(deInRange32(numBits, 0, 32)); in deBitMask32()
489 DE_ASSERT(deInRange32(leastSignificantBitNdx+numBits, 0, 32)); in deBitMask32()
497 DE_ASSERT(numBits == 32 && leastSignificantBitNdx == 0); in deBitMask32()
504 DE_ASSERT(deInRange32(numBits, 1, 32)); in deUintMaxValue32()
513 DE_ASSERT(deInRange32(numBits, 1, 32)); in deIntMaxValue32()
525 DE_ASSERT(deInRange32(numBits, 1, 32)); in deIntMinValue32()