Searched refs:deSignExtendTo32 (Results 1 – 3 of 3) sorted by relevance
/external/deqp/framework/delibs/debase/ |
D | deInt32Test.c | 184 DE_TEST_ASSERT(deSignExtendTo32((int)0x0, 1) == 0); in deInt32_selfTest() 185 DE_TEST_ASSERT(deSignExtendTo32((int)0x1, 1) == (int)0xFFFFFFFF); in deInt32_selfTest() 186 DE_TEST_ASSERT(deSignExtendTo32((int)0x3, 3) == 3); in deInt32_selfTest() 187 DE_TEST_ASSERT(deSignExtendTo32((int)0x6, 3) == (int)0xFFFFFFFE); in deInt32_selfTest() 188 DE_TEST_ASSERT(deSignExtendTo32((int)0x3, 4) == 3); in deInt32_selfTest() 189 DE_TEST_ASSERT(deSignExtendTo32((int)0xC, 4) == (int)0xFFFFFFFC); in deInt32_selfTest() 190 DE_TEST_ASSERT(deSignExtendTo32((int)0x7FC3, 16) == (int)0x7FC3); in deInt32_selfTest() 191 DE_TEST_ASSERT(deSignExtendTo32((int)0x84A0, 16) == (int)0xFFFF84A0); in deInt32_selfTest() 192 DE_TEST_ASSERT(deSignExtendTo32((int)0xFFC3, 17) == (int)0xFFC3); in deInt32_selfTest() 193 DE_TEST_ASSERT(deSignExtendTo32((int)0x184A0, 17) == (int)0xFFFF84A0); in deInt32_selfTest() [all …]
|
D | deInt32.h | 701 DE_INLINE deInt32 deSignExtendTo32 (deInt32 value, int numBits) in deSignExtendTo32() function
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderPrecisionTests.cpp | 581 …int in0 = deSignExtendTo32(((isMaxRangeA ? (int)m_rnd.getUint32() : m_rnd.getInt(m_rangeA.x(), … in iterate() 582 …int in1 = deSignExtendTo32(((isMaxRangeB ? (int)m_rnd.getUint32() : m_rnd.getInt(m_rangeB.x(), … in iterate() 584 int refOut = deSignExtendTo32(refMasked, m_bits); in iterate()
|