Home
last modified time | relevance | path

Searched refs:getUint32 (Results 1 – 25 of 50) sorted by relevance

12

/external/deqp/framework/common/
DtcuRandomValueIterator.hpp40 deUint32 rval = rnd.getUint32(); in getRandomValue()
48 …e <> inline deUint8 getRandomValue<deUint8> (de::Random& rnd) { return (deUint8)rnd.getUint32(); } in getRandomValue()
49 …<> inline deUint16 getRandomValue<deUint16> (de::Random& rnd) { return (deUint16)rnd.getUint32(); } in getRandomValue()
50 template <> inline deUint32 getRandomValue<deUint32> (de::Random& rnd) { return rnd.getUint32(); … in getRandomValue()
52 template <> inline deInt8 getRandomValue<deInt8> (de::Random& rnd) { return (deInt8)rnd.getUint32(… in getRandomValue()
53 …e <> inline deInt16 getRandomValue<deInt16> (de::Random& rnd) { return (deInt16)rnd.getUint32(); } in getRandomValue()
54 …e <> inline deInt32 getRandomValue<deInt32> (de::Random& rnd) { return (deInt32)rnd.getUint32(); } in getRandomValue()
/external/deqp/modules/gles2/functional/
Des2fColorClearTest.cpp115 int numClears = rnd.getUint32() % (m_numClearsMax + 1 - m_numClearsMin) + m_numClearsMin; in iterate()
137 clearX = (rnd.getUint32() % (2*targetWidth)) - targetWidth; in iterate()
138 clearY = (rnd.getUint32() % (2*targetHeight)) - targetHeight; in iterate()
139 clearWidth = (rnd.getUint32() % targetWidth); in iterate()
140 clearHeight = (rnd.getUint32() % targetHeight); in iterate()
145 int r = (int)(rnd.getUint32() & 0xFF); in iterate()
146 int g = (int)(rnd.getUint32() & 0xFF); in iterate()
147 int b = (int)(rnd.getUint32() & 0xFF); in iterate()
148 int a = m_testAlpha ? (int)(rnd.getUint32() & 0xFF) : 0xFF; in iterate()
157 clearMask = (rnd.getUint32() & 0xF); in iterate()
Des2fDepthStencilClearTests.cpp252 clear->clearStencil = rnd.getUint32(); in generateClears()
255 clear->stencilMask = m_masked ? rnd.getUint32() : 0xffffffffu; in generateClears()
Des2fTextureUnitTests.cpp693 deUint32 rgb = rnd.getUint32() & 0x00ffffff; in init()
699 alpha0 &= rnd.getUint32(); in init()
743 m_shader = new MultiTexShader(rnd.getUint32(), m_numUnits, unitTypes); in init()
/external/deqp/modules/gles3/functional/
Des3fColorClearTest.cpp115 int numClears = rnd.getUint32() % (m_numClearsMax + 1 - m_numClearsMin) + m_numClearsMin; in iterate()
137 clearX = (rnd.getUint32() % (2*targetWidth)) - targetWidth; in iterate()
138 clearY = (rnd.getUint32() % (2*targetHeight)) - targetHeight; in iterate()
139 clearWidth = (rnd.getUint32() % targetWidth); in iterate()
140 clearHeight = (rnd.getUint32() % targetHeight); in iterate()
145 int r = (int)(rnd.getUint32() & 0xFF); in iterate()
146 int g = (int)(rnd.getUint32() & 0xFF); in iterate()
147 int b = (int)(rnd.getUint32() & 0xFF); in iterate()
148 int a = m_testAlpha ? (int)(rnd.getUint32() & 0xFF) : 0xFF; in iterate()
157 clearMask = (rnd.getUint32() & 0xF); in iterate()
Des3fReadPixelsTests.cpp279 const GLint red = rnd.getUint32(); in clearColor()
280 const GLint green = rnd.getUint32(); in clearColor()
281 const GLint blue = rnd.getUint32(); in clearColor()
282 const GLint alpha = rnd.getUint32(); in clearColor()
293 const GLuint red = rnd.getUint32(); in clearColor()
294 const GLuint green = rnd.getUint32(); in clearColor()
295 const GLuint blue = rnd.getUint32(); in clearColor()
296 const GLuint alpha = rnd.getUint32(); in clearColor()
Des3fShaderPrecisionTests.cpp607 …int in0 = extendTo32Bit(((isMaxRangeA ? (int)m_rnd.getUint32() : m_rnd.getInt(m_rangeA.x(), m_r… in iterate()
608 …int in1 = extendTo32Bit(((isMaxRangeB ? (int)m_rnd.getUint32() : m_rnd.getInt(m_rangeB.x(), m_r… in iterate()
801 …deUint32 in0 = (isMaxRangeA ? m_rnd.getUint32() : (m_rangeA.x() + m_rnd.getUint32()%(m_rangeA.y()… in iterate()
802 …deUint32 in1 = (isMaxRangeB ? m_rnd.getUint32() : (m_rangeB.x() + m_rnd.getUint32()%(m_rangeB.y()… in iterate()
Des3fShaderPackingFunctionTests.cpp275 inputs.push_back(rnd.getUint32()); in iterate()
466 inputs.push_back(rnd.getUint32()); in iterate()
564 const deUint32 mantissa = rnd.getUint32() & ((1<<23)-1); in iterate()
670 const deUint32 mantissa = rnd.getUint32() & ((1<<mantBits)-1); in iterate()
Des3fShaderCommonFunctionTests.cpp71 …dom& rnd, deUint32 minValue, deUint32 maxValue) { return minValue + rnd.getUint32() % (maxValue - … in randomScalar()
813 const deUint32 mantissa = !isInf ? ((1u<<22) | (rnd.getUint32() & mantissaMask)) : 0; in getInputValues()
814 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; in getInputValues()
815 const deUint32 sign = rnd.getUint32() & 0x1u; in getInputValues()
894 const deUint32 mantissa = !isInf ? ((1u<<22) | (rnd.getUint32() & mantissaMask)) : 0; in getInputValues()
895 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; in getInputValues()
896 const deUint32 sign = rnd.getUint32() & 0x1u; in getInputValues()
Des3fDepthStencilClearTests.cpp255 clear->clearStencil = rnd.getUint32(); in generateClears()
258 clear->stencilMask = m_masked ? rnd.getUint32() : 0xffffffffu; in generateClears()
Des3fTransformFeedbackTests.cpp565 case glu::PRECISION_LOWP: *comp = (int)signExtend(rnd.getUint32()&0xff, 8); break; in genAttributeData()
566 case glu::PRECISION_MEDIUMP: *comp = (int)signExtend(rnd.getUint32()&0xffff, 16); break; in genAttributeData()
567 case glu::PRECISION_HIGHP: *comp = (int)rnd.getUint32(); break; in genAttributeData()
577 case glu::PRECISION_LOWP: *comp = rnd.getUint32()&0xff; break; in genAttributeData()
578 case glu::PRECISION_MEDIUMP: *comp = rnd.getUint32()&0xffff; break; in genAttributeData()
579 case glu::PRECISION_HIGHP: *comp = rnd.getUint32(); break; in genAttributeData()
/external/deqp/framework/delibs/decpp/
DdeRandom.hpp52 …4 getUint64 (void) { deUint32 upper = getUint32(); return (deUint64)upper << 32ull | (deUint6… in getUint64()
53 deUint32 getUint32 (void) { return deRandom_getUint32(&m_rnd); } in getUint32() function in de::Random
95 return (int)getUint32(); in getInt()
97 return min + (int)(getUint32() % (deUint32)(max-min+1)); in getInt()
DdeBlockBuffer.cpp314 threads.push_back(new Consumer(&buffer, rnd.getUint32())); in runTest()
316 threads.push_back(new Producer(&buffer, rnd.getUint32())); in runTest()
DdeRandom.cpp75 DE_TEST_ASSERT(expected[i] == rnd.getUint32()); in Random_selfTest()
/external/deqp/modules/gles31/functional/
Des31fUniformLocationTests.cpp845 const Stage layoutLoc = Stage(rng.getUint32()&0x3); in init()
846 const Stage declareLoc = Stage((rng.getUint32()&0x3) | layoutLoc); in init()
847 const Stage verifyLoc = Stage((rng.getUint32()&0x3) & declareLoc); in init()
890 Stage(rng.getUint32()&0x3), in init()
891 Stage(rng.getUint32()&0x3), in init()
892 Stage(rng.getUint32()&0x3), in init()
893 Stage(rng.getUint32()&0x3), in init()
898 (rng.getUint32()&0x3) | layoutLocs[0], in init()
899 (rng.getUint32()&0x3) | layoutLocs[1], in init()
900 (rng.getUint32()&0x3) | layoutLocs[2], in init()
[all …]
Des31fSeparateShaderTests.cpp673 const deUint32 vtxSeed = rnd.getUint32(); in genProgramParams()
675 const deUint32 frgSeed = rnd.getUint32(); in genProgramParams()
1195 const deUint32 initVtxSeed = m_params.switchVtx ? m_rnd.getUint32() : pp.vtxSeed; in createPipeline()
1198 const deUint32 initFrgSeed = m_params.switchFrg ? m_rnd.getUint32() : pp.frgSeed; in createPipeline()
1316 Random rnd (seed > 0 ? seed : m_rnd.getUint32()); in drawSurface()
1336 GLuint drawSeed = m_rnd.getUint32(); in testPipelineRendering()
1368 deUint32 drawSeed = m_rnd.getUint32(); in testCurrentProgPriority()
1400 deUint32 drawSeed = m_rnd.getUint32(); in testActiveProgramUniform()
1788 params = genParams(rnd.getUint32()); in createSeparateShaderTests()
Des31fShaderIntegerFunctionTests.cpp148 dst[valueNdx*scalarSize + compNdx] = rnd.getUint32() & integerMask; in generateRandomInputData()
154 … dst[valueNdx*scalarSize + compNdx] = extendSignTo32(rnd.getUint32() & integerMask, integerLength); in generateRandomInputData()
597 const deUint32 base0 = rnd.getUint32(); in getInputValues()
598 const deUint32 base1 = rnd.getUint32(); in getInputValues()
688 const deInt32 base0 = (deInt32)rnd.getUint32(); in getInputValues()
689 const deInt32 base1 = (deInt32)rnd.getUint32(); in getInputValues()
Des31fShaderPackingFunctionTests.cpp279 inputs.push_back(rnd.getUint32()); in iterate()
470 inputs.push_back(rnd.getUint32()); in iterate()
568 const deUint32 mantissa = rnd.getUint32() & ((1<<23)-1); in iterate()
674 const deUint32 mantissa = rnd.getUint32() & ((1<<mantBits)-1); in iterate()
887 inputs.push_back(rnd.getUint32()); in iterate()
1096 inputs.push_back(rnd.getUint32()); in iterate()
Des31fShaderCommonFunctionTests.cpp75 …dom& rnd, deUint32 minValue, deUint32 maxValue) { return minValue + rnd.getUint32() % (maxValue - … in randomScalar()
890 const deUint32 mantissa = !isInf ? ((1u<<22) | (rnd.getUint32() & mantissaMask)) : 0; in getInputValues()
891 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; in getInputValues()
892 const deUint32 sign = rnd.getUint32() & 0x1u; in getInputValues()
973 const deUint32 mantissa = !isInf ? ((1u<<22) | (rnd.getUint32() & mantissaMask)) : 0; in getInputValues()
974 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; in getInputValues()
975 const deUint32 sign = rnd.getUint32() & 0x1u; in getInputValues()
1912 const deUint32 mantissa = (1u<<23) | (rnd.getUint32() & ((1u<<23)-1)); in getInputValues()
Des31fBasicComputeShaderTests.cpp158 inputValues[ndx] = rnd.getUint32(); in iterate()
278 inputValues[ndx] = rnd.getUint32(); in iterate()
404 inputValues[ndx] = rnd.getUint32(); in iterate()
1028 *i = rnd.getUint32(); in iterate()
1132 *i = rnd.getUint32(); in iterate()
1259 *i = rnd.getUint32(); in iterate()
/external/v8/test/mjsunit/harmony/
Ddataview-accessors.js357 assertSame(expected, view.getUint32(0));
359 assertSame(expected, view.getUint32(0, true));
437 assertThrows(function() { a.getUint32(); }, TypeError);
/external/deqp/modules/glshared/
DglsInteractionTestUtil.cpp176 state.stencil[ndx].compareMask = rnd.getUint32(); in computeRandomRenderState()
180 state.stencil[ndx].writeMask = rnd.getUint32(); in computeRandomRenderState()
DglsLifetimeTests.cpp819 const GLuint id = m_rnd.getUint32(); in testBindNoGen()
992 const GLuint refSeed = m_rnd.getUint32(); in iterate()
993 const GLuint newSeed = m_rnd.getUint32(); in iterate()
1073 const GLuint refSeed = m_rnd.getUint32(); in iterate()
1074 const GLuint newSeed = m_rnd.getUint32(); in iterate()
DglsTextureBufferCase.cpp106 const deUint8 xBits = deUint8(rng.getUint32() & bitMask); in genRandomCoords()
450 …const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOff… in modifyBufferSubData()
473 …const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOff… in modifyMapWrite()
507 …const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOff… in modifyMapReadWrite()
764 const deUint32 coordSeed = rng.getUint32(); in render()
/external/deqp/modules/egl/
DteglMakeCurrentPerfTests.cpp520 EGLContext context = m_contexts[m_rnd.getUint32() % m_contexts.size()]; in iterate()
521 EGLSurface surface = m_surfaces[m_rnd.getUint32() % m_surfaces.size()]; in iterate()

12