Home
last modified time | relevance | path

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

12345

/external/deqp/external/openglcts/modules/gles31/
Des31cShaderBitfieldOperationTests.cpp1433 m_glslVersion, Uvec4(rnd.getUint32()))); in init()
1444 m_glslVersion, Uvec4(rnd.getUint32()))); in init()
1455 …m_context, ss.str().c_str(), m_glslVersion, Uvec4(rnd.getUint32()), rnd.getInt(0, 31), rnd.getInt(… in init()
1462 …m_context, ss.str().c_str(), m_glslVersion, Uvec4(rnd.getUint32(), rnd.getUint32()), rnd.getInt(0,… in init()
1470 …m_context, ss.str().c_str(), m_glslVersion, Uvec4(rnd.getUint32(), rnd.getUint32(), rnd.getUint32(… in init()
1479 Uvec4(rnd.getUint32(), rnd.getUint32(), rnd.getUint32(), rnd.getUint32()), rnd.getInt(0, 31), in init()
1488 …m_context, ss.str().c_str(), m_glslVersion, Ivec4(rnd.getUint32()), rnd.getInt(0, 31), rnd.getInt(… in init()
1495 …m_context, ss.str().c_str(), m_glslVersion, Ivec4(rnd.getUint32(), rnd.getUint32()), rnd.getInt(0,… in init()
1503 …m_context, ss.str().c_str(), m_glslVersion, Ivec4(rnd.getUint32(), rnd.getUint32(), rnd.getUint32(… in init()
1512 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/deqp/framework/delibs/decpp/
DdeRandom.hpp52 …64 (void) { deUint32 upper = getUint32(); return static_cast<deInt64>((deUint64)upper << 32ull… in getInt64()
53 …4 getUint64 (void) { deUint32 upper = getUint32(); return (deUint64)upper << 32ull | (deUint6… in getUint64()
54 deUint32 getUint32 (void) { return deRandom_getUint32(&m_rnd); } in getUint32() function in de::Random
96 return (int)getUint32(); in getInt()
98 return min + (int)(getUint32() % (deUint32)(max-min+1)); in getInt()
184 …dom& rnd, deUint32 minValue, deUint32 maxValue) { return minValue + rnd.getUint32() % (maxValue - … in randomScalar()
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/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.cpp251 inputs.push_back(rnd.getUint32()); in iterate()
442 inputs.push_back(rnd.getUint32()); in iterate()
540 const deUint32 mantissa = rnd.getUint32() & ((1<<23)-1); in iterate()
646 const deUint32 mantissa = rnd.getUint32() & ((1<<mantBits)-1); in iterate()
/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/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()
1347 GLuint drawSeed = m_rnd.getUint32(); in testPipelineRendering()
1379 deUint32 drawSeed = m_rnd.getUint32(); in testCurrentProgPriority()
1411 deUint32 drawSeed = m_rnd.getUint32(); in testActiveProgramUniform()
1799 params = genParams(rnd.getUint32()); in createCommonSeparateShaderTests()
Des31fShaderIntegerFunctionTests.cpp148 dst[valueNdx*scalarSize + compNdx] = rnd.getUint32() & integerMask; in generateRandomInputData()
154 … dst[valueNdx*scalarSize + compNdx] = extendSignTo32(rnd.getUint32() & integerMask, integerLength); in generateRandomInputData()
569 const deUint32 base0 = rnd.getUint32(); in getInputValues()
570 const deUint32 base1 = rnd.getUint32(); in getInputValues()
660 const deInt32 base0 = (deInt32)rnd.getUint32(); in getInputValues()
661 const deInt32 base1 = (deInt32)rnd.getUint32(); in getInputValues()
Des31fShaderPackingFunctionTests.cpp251 inputs.push_back(rnd.getUint32()); in iterate()
442 inputs.push_back(rnd.getUint32()); in iterate()
540 const deUint32 mantissa = rnd.getUint32() & ((1<<23)-1); in iterate()
646 const deUint32 mantissa = rnd.getUint32() & ((1<<mantBits)-1); in iterate()
859 inputs.push_back(rnd.getUint32()); in iterate()
1068 inputs.push_back(rnd.getUint32()); in iterate()
/external/perfetto/ui/src/controller/
Dadb.ts546 const cmdNum = dv.getUint32(0, true);
547 const arg0 = dv.getUint32(4, true);
548 const arg1 = dv.getUint32(8, true);
549 const dataLen = dv.getUint32(12, true);
550 const dataChecksum = dv.getUint32(16, true);
551 const cmdChecksum = dv.getUint32(20, true);
568 dv.setUint32(20, dv.getUint32(0, true) ^ 0xFFFFFFFF, true);
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSampleLocationsUtil.cpp73 const UVec2 locationNdx (rng.getUint32() % (maxLocationIndex + 1 - guardOffset), in fillSampleLocationsRandom()
74 rng.getUint32() % (maxLocationIndex + 1 - guardOffset)); in fillSampleLocationsRandom()
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()
768 const deUint32 coordSeed = rng.getUint32(); in render()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp274 inputs.push_back(rnd.getUint32()); in iterate()
493 inputs.push_back(rnd.getUint32()); in iterate()
607 const deUint32 mantissa = rnd.getUint32() & ((1<<23)-1); in iterate()
748 const deUint32 mantissa = rnd.getUint32() & mantBitMask; in iterate()
761 const deUint32 mantissa = rnd.getUint32() & mantBitMask; in iterate()
1042 inputs.push_back(rnd.getUint32()); in iterate()
1277 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()
695 const deUint32 base0 = rnd.getUint32(); in getInputValues()
696 const deUint32 base1 = rnd.getUint32(); in getInputValues()
800 const deInt32 base0 = (deInt32)rnd.getUint32(); in getInputValues()
801 const deInt32 base1 = (deInt32)rnd.getUint32(); in getInputValues()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferMarkerTests.cpp304 expected[i] = rng.getUint32(); in bufferMarkerSequential()
371 const deUint32 slot = rng.getUint32() % static_cast<deUint32>(params.size); in bufferMarkerOverwrite()
856 deUint32 slot = rng.getUint32() % size; in bufferMarkerMemoryDep()
858 MemoryDepOwner newOwner = static_cast<MemoryDepOwner>(1 + (rng.getUint32() % 2)); in bufferMarkerMemoryDep()

12345