Home
last modified time | relevance | path

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

12345

/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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 deInt32 getInt32 (void) { return static_cast<deInt32>(getUint32()); } in getInt32()
55 deUint32 getUint32 (void) { return deRandom_getUint32(&m_rnd); } in getUint32() function in de::Random
97 return (int)getUint32(); in getInt()
99 return min + (int)(getUint32() % (deUint32)(max-min+1)); in getInt()
185 …minValue, deUint32 maxValue) { if (minValue == 0 && maxValue == 0xffffffff) return rnd.getUint32(); in randomScalar()
186 return minValue + rnd.getUint32() % (maxValue - minValue + 1); } 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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/flatbuffers/ts/flexbuffers/
Dreference-util.ts26 return new Long(dataView.getUint32(offset, true), dataView.getUint32(offset + 4, true))
42 return dataView.getUint32(offset, true)
45 return new Long(dataView.getUint32(offset, true), dataView.getUint32(offset + 4, true))
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fUniformLocationTests.cpp887 const Stage layoutLoc = Stage(rng.getUint32()&0x3); in init()
888 const Stage declareLoc = Stage((rng.getUint32()&0x3) | layoutLoc); in init()
889 const Stage verifyLoc = Stage((rng.getUint32()&0x3) & declareLoc); in init()
932 Stage(rng.getUint32()&0x3), in init()
933 Stage(rng.getUint32()&0x3), in init()
934 Stage(rng.getUint32()&0x3), in init()
935 Stage(rng.getUint32()&0x3), in init()
940 (rng.getUint32()&0x3) | layoutLocs[0], in init()
941 (rng.getUint32()&0x3) | layoutLocs[1], in init()
942 (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()
/third_party/vk-gl-cts/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()
/third_party/protobuf/js/experimental/runtime/kernel/
Dbuffer_decoder.js164 getUint32(index) { method in BufferDecoder
166 return this.dataView_.getUint32(index, true);
Dbuffer_decoder_test.js202 const result = bufferDecoder.getUint32(0);
210 const result = bufferDecoder.getUint32(0);
Dreader.js73 return bufferDecoder.getUint32(start);
/third_party/node/test/parallel/
Dtest-buffer-arraybuffer.js31 assert.strictEqual(dv.getUint32(0, true), 0xF00);
32 assert.strictEqual(dv.getUint32(4), 0xB47);
/third_party/vk-gl-cts/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()
/third_party/flutter/flutter/packages/flutter/lib/src/foundation/
Dserialization.dart132 int getUint32() {
133 final int value = data.getUint32(_position, Endian.host);
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/services/
Dserialization.dart133 int getUint32() {
134 final int value = data.getUint32(_position, Endian.host);
/third_party/vk-gl-cts/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()

12345