/external/deqp/framework/common/ |
tcuRandomValueIterator.hpp | 40 deUint32 rval = rnd.getUint32(); 48 template <> inline deUint8 getRandomValue<deUint8> (de::Random& rnd) { return (deUint8)rnd.getUint32(); } 49 template <> inline deUint16 getRandomValue<deUint16> (de::Random& rnd) { return (deUint16)rnd.getUint32(); } 50 template <> inline deUint32 getRandomValue<deUint32> (de::Random& rnd) { return rnd.getUint32(); } 52 template <> inline deInt8 getRandomValue<deInt8> (de::Random& rnd) { return (deInt8)rnd.getUint32(); } 53 template <> inline deInt16 getRandomValue<deInt16> (de::Random& rnd) { return (deInt16)rnd.getUint32(); } 54 template <> inline deInt32 getRandomValue<deInt32> (de::Random& rnd) { return (deInt32)rnd.getUint32(); }
|
/external/deqp/framework/delibs/decpp/ |
deRandom.hpp | 52 deUint64 getUint64 (void) { deUint32 upper = getUint32(); return (deUint64)upper << 32ull | (deUint64)getUint32(); } 53 deUint32 getUint32 (void) { return deRandom_getUint32(&m_rnd); } 95 return (int)getUint32(); 97 return min + (int)(getUint32() % (deUint32)(max-min+1));
|
deBlockBuffer.cpp | 314 threads.push_back(new Consumer(&buffer, rnd.getUint32())); 316 threads.push_back(new Producer(&buffer, rnd.getUint32()));
|
deRandom.cpp | 69 // getUint32() 75 DE_TEST_ASSERT(expected[i] == rnd.getUint32());
|
/external/deqp/modules/gles2/functional/ |
es2fColorClearTest.cpp | 115 int numClears = rnd.getUint32() % (m_numClearsMax + 1 - m_numClearsMin) + m_numClearsMin; 137 clearX = (rnd.getUint32() % (2*targetWidth)) - targetWidth; 138 clearY = (rnd.getUint32() % (2*targetHeight)) - targetHeight; 139 clearWidth = (rnd.getUint32() % targetWidth); 140 clearHeight = (rnd.getUint32() % targetHeight); 145 int r = (int)(rnd.getUint32() & 0xFF); 146 int g = (int)(rnd.getUint32() & 0xFF); 147 int b = (int)(rnd.getUint32() & 0xFF); 148 int a = m_testAlpha ? (int)(rnd.getUint32() & 0xFF) : 0xFF; 157 clearMask = (rnd.getUint32() & 0xF) [all...] |
es2fDepthStencilClearTests.cpp | 252 clear->clearStencil = rnd.getUint32(); 255 clear->stencilMask = m_masked ? rnd.getUint32() : 0xffffffffu;
|
es2fTextureUnitTests.cpp | 693 deUint32 rgb = rnd.getUint32() & 0x00ffffff; 699 alpha0 &= rnd.getUint32(); 743 m_shader = new MultiTexShader(rnd.getUint32(), m_numUnits, unitTypes); [all...] |
/external/deqp/modules/gles3/functional/ |
es3fColorClearTest.cpp | 115 int numClears = rnd.getUint32() % (m_numClearsMax + 1 - m_numClearsMin) + m_numClearsMin; 137 clearX = (rnd.getUint32() % (2*targetWidth)) - targetWidth; 138 clearY = (rnd.getUint32() % (2*targetHeight)) - targetHeight; 139 clearWidth = (rnd.getUint32() % targetWidth); 140 clearHeight = (rnd.getUint32() % targetHeight); 145 int r = (int)(rnd.getUint32() & 0xFF); 146 int g = (int)(rnd.getUint32() & 0xFF); 147 int b = (int)(rnd.getUint32() & 0xFF); 148 int a = m_testAlpha ? (int)(rnd.getUint32() & 0xFF) : 0xFF; 157 clearMask = (rnd.getUint32() & 0xF) [all...] |
es3fReadPixelsTests.cpp | 279 const GLint red = rnd.getUint32(); 280 const GLint green = rnd.getUint32(); 281 const GLint blue = rnd.getUint32(); 282 const GLint alpha = rnd.getUint32(); 293 const GLuint red = rnd.getUint32(); 294 const GLuint green = rnd.getUint32(); 295 const GLuint blue = rnd.getUint32(); 296 const GLuint alpha = rnd.getUint32();
|
es3fShaderPrecisionTests.cpp | 607 int in0 = extendTo32Bit(((isMaxRangeA ? (int)m_rnd.getUint32() : m_rnd.getInt(m_rangeA.x(), m_rangeA.y())) & mask), m_bits); 608 int in1 = extendTo32Bit(((isMaxRangeB ? (int)m_rnd.getUint32() : m_rnd.getInt(m_rangeB.x(), m_rangeB.y())) & mask), m_bits); 801 deUint32 in0 = (isMaxRangeA ? m_rnd.getUint32() : (m_rangeA.x() + m_rnd.getUint32()%(m_rangeA.y()-m_rangeA.x()+1))) & mask; 802 deUint32 in1 = (isMaxRangeB ? m_rnd.getUint32() : (m_rangeB.x() + m_rnd.getUint32()%(m_rangeB.y()-m_rangeB.x()+1))) & mask; [all...] |
es3fShaderPackingFunctionTests.cpp | 275 inputs.push_back(rnd.getUint32()); 466 inputs.push_back(rnd.getUint32()); 564 const deUint32 mantissa = rnd.getUint32() & ((1<<23)-1); 670 const deUint32 mantissa = rnd.getUint32() & ((1<<mantBits)-1);
|
es3fDepthStencilClearTests.cpp | 255 clear->clearStencil = rnd.getUint32(); 258 clear->stencilMask = m_masked ? rnd.getUint32() : 0xffffffffu;
|
es3fShaderCommonFunctionTests.cpp | 71 template<> inline deUint32 randomScalar (de::Random& rnd, deUint32 minValue, deUint32 maxValue) { return minValue + rnd.getUint32() % (maxValue - minValue + 1); } 813 const deUint32 mantissa = !isInf ? ((1u<<22) | (rnd.getUint32() & mantissaMask)) : 0; 814 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; 815 const deUint32 sign = rnd.getUint32() & 0x1u; 894 const deUint32 mantissa = !isInf ? ((1u<<22) | (rnd.getUint32() & mantissaMask)) : 0; 895 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; 896 const deUint32 sign = rnd.getUint32() & 0x1u; [all...] |
es3fTransformFeedbackTests.cpp | 565 case glu::PRECISION_LOWP: *comp = (int)signExtend(rnd.getUint32()&0xff, 8); break; 566 case glu::PRECISION_MEDIUMP: *comp = (int)signExtend(rnd.getUint32()&0xffff, 16); break; 567 case glu::PRECISION_HIGHP: *comp = (int)rnd.getUint32(); break; 577 case glu::PRECISION_LOWP: *comp = rnd.getUint32()&0xff; break; 578 case glu::PRECISION_MEDIUMP: *comp = rnd.getUint32()&0xffff; break; 579 case glu::PRECISION_HIGHP: *comp = rnd.getUint32(); break; [all...] |
/external/deqp/modules/gles31/functional/ |
es31fUniformLocationTests.cpp | 845 const Stage layoutLoc = Stage(rng.getUint32()&0x3); 846 const Stage declareLoc = Stage((rng.getUint32()&0x3) | layoutLoc); 847 const Stage verifyLoc = Stage((rng.getUint32()&0x3) & declareLoc); 890 Stage(rng.getUint32()&0x3), 891 Stage(rng.getUint32()&0x3), 892 Stage(rng.getUint32()&0x3), 893 Stage(rng.getUint32()&0x3), 898 (rng.getUint32()&0x3) | layoutLocs[0], 899 (rng.getUint32()&0x3) | layoutLocs[1], 900 (rng.getUint32()&0x3) | layoutLocs[2] [all...] |
es31fSeparateShaderTests.cpp | 673 const deUint32 vtxSeed = rnd.getUint32(); 675 const deUint32 frgSeed = rnd.getUint32(); [all...] |
es31fShaderIntegerFunctionTests.cpp | 148 dst[valueNdx*scalarSize + compNdx] = rnd.getUint32() & integerMask; 154 dst[valueNdx*scalarSize + compNdx] = extendSignTo32(rnd.getUint32() & integerMask, integerLength); 597 const deUint32 base0 = rnd.getUint32(); 598 const deUint32 base1 = rnd.getUint32(); 688 const deInt32 base0 = (deInt32)rnd.getUint32(); 689 const deInt32 base1 = (deInt32)rnd.getUint32(); [all...] |
es31fShaderPackingFunctionTests.cpp | 279 inputs.push_back(rnd.getUint32()); 470 inputs.push_back(rnd.getUint32()); 568 const deUint32 mantissa = rnd.getUint32() & ((1<<23)-1); 674 const deUint32 mantissa = rnd.getUint32() & ((1<<mantBits)-1); 887 inputs.push_back(rnd.getUint32()); [all...] |
es31fShaderCommonFunctionTests.cpp | 75 template<> inline deUint32 randomScalar (de::Random& rnd, deUint32 minValue, deUint32 maxValue) { return minValue + rnd.getUint32() % (maxValue - minValue + 1); } 890 const deUint32 mantissa = !isInf ? ((1u<<22) | (rnd.getUint32() & mantissaMask)) : 0; 891 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; 892 const deUint32 sign = rnd.getUint32() & 0x1u; [all...] |
es31fBasicComputeShaderTests.cpp | 158 inputValues[ndx] = rnd.getUint32(); 278 inputValues[ndx] = rnd.getUint32(); 404 inputValues[ndx] = rnd.getUint32(); [all...] |
/external/deqp/modules/glshared/ |
glsInteractionTestUtil.cpp | 176 state.stencil[ndx].compareMask = rnd.getUint32(); 180 state.stencil[ndx].writeMask = rnd.getUint32();
|
glsLifetimeTests.cpp | 819 const GLuint id = m_rnd.getUint32(); 992 const GLuint refSeed = m_rnd.getUint32(); 993 const GLuint newSeed = m_rnd.getUint32(); 1073 const GLuint refSeed = m_rnd.getUint32(); 1074 const GLuint newSeed = m_rnd.getUint32(); [all...] |
glsTextureBufferCase.cpp | 106 const deUint8 xBits = deUint8(rng.getUint32() & bitMask); 450 const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOffset))); 473 const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOffset))); 507 const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOffset))); 764 const deUint32 coordSeed = rng.getUint32(); [all...] |
/external/v8/test/mjsunit/harmony/ |
dataview-accessors.js | 357 assertSame(expected, view.getUint32(0)); 359 assertSame(expected, view.getUint32(0, true)); 418 CheckAccessor("getUint32"); 437 assertThrows(function() { a.getUint32(); }, TypeError);
|
/external/deqp/modules/egl/ |
teglMakeCurrentPerfTests.cpp | 520 EGLContext context = m_contexts[m_rnd.getUint32() % m_contexts.size()]; 521 EGLSurface surface = m_surfaces[m_rnd.getUint32() % m_surfaces.size()];
|