Home
last modified time | relevance | path

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

1234

/external/deqp/external/openglcts/modules/gles31/
Des31cShaderBitfieldOperationTests.cpp1421 m_glslVersion, Uvec4(rnd.getUint32()))); in init()
1432 m_glslVersion, Uvec4(rnd.getUint32()))); in init()
1443 …m_context, ss.str().c_str(), m_glslVersion, Uvec4(rnd.getUint32()), rnd.getInt(0, 31), rnd.getInt(… in init()
1450 …m_context, ss.str().c_str(), m_glslVersion, Uvec4(rnd.getUint32(), rnd.getUint32()), rnd.getInt(0,… in init()
1458 …m_context, ss.str().c_str(), m_glslVersion, Uvec4(rnd.getUint32(), rnd.getUint32(), rnd.getUint32(… in init()
1467 Uvec4(rnd.getUint32(), rnd.getUint32(), rnd.getUint32(), rnd.getUint32()), rnd.getInt(0, 31), in init()
1476 …m_context, ss.str().c_str(), m_glslVersion, Ivec4(rnd.getUint32()), rnd.getInt(0, 31), rnd.getInt(… in init()
1483 …m_context, ss.str().c_str(), m_glslVersion, Ivec4(rnd.getUint32(), rnd.getUint32()), rnd.getInt(0,… in init()
1491 …m_context, ss.str().c_str(), m_glslVersion, Ivec4(rnd.getUint32(), rnd.getUint32(), rnd.getUint32(… in init()
1500 Ivec4(rnd.getUint32(), rnd.getUint32(), rnd.getUint32(), rnd.getUint32()), rnd.getInt(0, 31), in init()
[all …]
/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/libchrome/mojo/public/js/lib/
Dbuffer.js64 Buffer.prototype.getUint32 = function(offset) { method in Buffer
65 return this.dataView.getUint32(offset, kHostIsLittleEndian);
70 lo = this.dataView.getUint32(offset, kHostIsLittleEndian);
71 hi = this.dataView.getUint32(offset + 4, kHostIsLittleEndian);
73 hi = this.dataView.getUint32(offset, kHostIsLittleEndian);
74 lo = this.dataView.getUint32(offset + 4, kHostIsLittleEndian);
91 lo = this.dataView.getUint32(offset, kHostIsLittleEndian);
95 lo = this.dataView.getUint32(offset + 4, kHostIsLittleEndian);
Dvalidator.js191 var index = this.message.buffer.getUint32(offset);
205 var index = this.message.buffer.getUint32(offset);
244 var numBytes = this.message.buffer.getUint32(offset);
256 var numBytes = this.message.buffer.getUint32(offset);
257 var version = this.message.buffer.getUint32(offset + 4);
276 var structVersion = this.message.buffer.getUint32(offset + 4);
375 return this.message.buffer.getUint32(offset);
379 return this.message.buffer.getUint32(offset + 4);
412 var size = this.message.buffer.getUint32(offset);
439 return this.message.buffer.getUint32(arrayOffset + 4);
[all …]
Dcodec.js88 var result = this.buffer.getUint32(this.next);
462 return this.buffer.getUint32(kStructHeaderNumBytesOffset);
466 return this.buffer.getUint32(kStructHeaderVersionOffset);
470 return this.buffer.getUint32(kMessageNameOffset);
474 return this.buffer.getUint32(kMessageFlagsOffset);
478 return this.buffer.getUint32(kMessageInterfaceIdOffset);
/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.cpp581 …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()
775 …deUint32 in0 = (isMaxRangeA ? m_rnd.getUint32() : (m_rangeA.x() + m_rnd.getUint32()%(m_rangeA.y()… in iterate()
776 …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()
/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()
/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()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmIndexingTests.cpp84 …indexSelectorData.push_back(UVec4(rnd.getUint32() % 32, rnd.getUint32() % 32, rnd.getUint32() % 4,… in addComputeIndexingStructTests()
300 …indexSelectorData.push_back(UVec4(rnd.getUint32() % 32, rnd.getUint32() % 32, rnd.getUint32() % 4,… in addGraphicsIndexingStructTests()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineUniqueRandomIterator.hpp76 uniqueIndices.insert(rnd.getUint32() % numValues); in UniqueRandomIterator()
/external/deqp/modules/glshared/
DglsInteractionTestUtil.cpp176 state.stencil[ndx].compareMask = rnd.getUint32(); in computeRandomRenderState()
180 state.stencil[ndx].writeMask = rnd.getUint32(); in computeRandomRenderState()
DglsTextureBufferCase.cpp100 const deUint8 xBits = deUint8(rng.getUint32() & bitMask); in genRandomCoords()
449 …const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOff… in modifyBufferSubData()
472 …const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOff… in modifyMapWrite()
506 …const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOff… in modifyMapReadWrite()
767 const deUint32 coordSeed = rng.getUint32(); in render()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp299 inputs.push_back(rnd.getUint32()); in iterate()
522 inputs.push_back(rnd.getUint32()); in iterate()
636 const deUint32 mantissa = rnd.getUint32() & ((1<<23)-1); in iterate()
777 const deUint32 mantissa = rnd.getUint32() & mantBitMask; in iterate()
790 const deUint32 mantissa = rnd.getUint32() & mantBitMask; in iterate()
1079 inputs.push_back(rnd.getUint32()); in iterate()
1322 inputs.push_back(rnd.getUint32()); in iterate()
DvktShaderIntegerFunctionTests.cpp150 dst[valueNdx*scalarSize + compNdx] = rnd.getUint32() & integerMask; in generateRandomInputData()
156 … dst[valueNdx*scalarSize + compNdx] = extendSignTo32(rnd.getUint32() & integerMask, integerLength); in generateRandomInputData()
716 const deUint32 base0 = rnd.getUint32(); in getInputValues()
717 const deUint32 base1 = rnd.getUint32(); in getInputValues()
821 const deInt32 base0 = (deInt32)rnd.getUint32(); in getInputValues()
822 const deInt32 base1 = (deInt32)rnd.getUint32(); in getInputValues()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemStorageBufferTests.cpp697 …testData[ndx].values = tcu::UVec4(rnd.getUint32(), rnd.getUint32(), rnd.getUint32(), rnd.getUint32 in createRandomizedBufferTests()

1234