Searched refs:getUint32 (Results 1 - 25 of 84) sorted by relevance

1234

/external/deqp/external/openglcts/modules/gles31/
H A Des31cShaderBitfieldOperationTests.cpp1421 m_glslVersion, Uvec4(rnd.getUint32())));
1432 m_glslVersion, Uvec4(rnd.getUint32())));
1443 m_context, ss.str().c_str(), m_glslVersion, Uvec4(rnd.getUint32()), rnd.getInt(0, 31), rnd.getInt(1, 32)));
1450 m_context, ss.str().c_str(), m_glslVersion, Uvec4(rnd.getUint32(), rnd.getUint32()), rnd.getInt(0, 31),
1458 m_context, ss.str().c_str(), m_glslVersion, Uvec4(rnd.getUint32(), rnd.getUint32(), rnd.getUint32()),
1467 Uvec4(rnd.getUint32(), rnd.getUint32(), rn
[all...]
/external/deqp/framework/common/
H A DtcuRandomValueIterator.hpp40 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/libmojo/mojo/public/js/
H A Dbuffer.js63 Buffer.prototype.getUint32 = function(offset) {
64 return this.dataView.getUint32(offset, kHostIsLittleEndian);
69 lo = this.dataView.getUint32(offset, kHostIsLittleEndian);
70 hi = this.dataView.getUint32(offset + 4, kHostIsLittleEndian);
72 hi = this.dataView.getUint32(offset, kHostIsLittleEndian);
73 lo = this.dataView.getUint32(offset + 4, kHostIsLittleEndian);
90 lo = this.dataView.getUint32(offset, kHostIsLittleEndian);
94 lo = this.dataView.getUint32(offset + 4, kHostIsLittleEndian);
H A Dvalidator.js120 var index = this.message.buffer.getUint32(offset);
147 var numBytes = this.message.buffer.getUint32(offset);
159 var numBytes = this.message.buffer.getUint32(offset);
160 var version = this.message.buffer.getUint32(offset + 4);
179 var structVersion = this.message.buffer.getUint32(offset + 4);
246 return this.message.buffer.getUint32(offset);
250 return this.message.buffer.getUint32(offset + 4);
283 var size = this.message.buffer.getUint32(offset);
310 return this.message.buffer.getUint32(arrayOffset + 4);
378 var numBytes = this.message.buffer.getUint32(offse
[all...]
H A Dcodec.js89 var result = this.buffer.getUint32(this.next);
441 return this.buffer.getUint32(kStructHeaderNumBytesOffset);
445 return this.buffer.getUint32(kStructHeaderVersionOffset);
449 return this.buffer.getUint32(kMessageNameOffset);
453 return this.buffer.getUint32(kMessageFlagsOffset);
/external/deqp/framework/delibs/decpp/
H A DdeRandom.hpp52 deUint64 getUint64 (void) { deUint32 upper = getUint32(); return (deUint64)upper << 32ull | (deUint64)getUint32(); }
53 deUint32 getUint32 (void) { return deRandom_getUint32(&m_rnd); } function in class:de::Random
95 return (int)getUint32();
97 return min + (int)(getUint32() % (deUint32)(max-min+1));
H A DdeBlockBuffer.cpp314 threads.push_back(new Consumer(&buffer, rnd.getUint32()));
316 threads.push_back(new Producer(&buffer, rnd.getUint32()));
H A DdeRandom.cpp69 // getUint32()
75 DE_TEST_ASSERT(expected[i] == rnd.getUint32());
/external/deqp/modules/gles2/functional/
H A Des2fColorClearTest.cpp115 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()
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fColorClearTest.cpp115 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()
[all...]
H A Des3fReadPixelsTests.cpp279 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();
H A Des3fShaderPrecisionTests.cpp581 int in0 = deSignExtendTo32(((isMaxRangeA ? (int)m_rnd.getUint32() : m_rnd.getInt(m_rangeA.x(), m_rangeA.y())) & mask), m_bits);
582 int in1 = deSignExtendTo32(((isMaxRangeB ? (int)m_rnd.getUint32() : m_rnd.getInt(m_rangeB.x(), m_rangeB.y())) & mask), m_bits);
775 deUint32 in0 = (isMaxRangeA ? m_rnd.getUint32() : (m_rangeA.x() + m_rnd.getUint32()%(m_rangeA.y()-m_rangeA.x()+1))) & mask;
776 deUint32 in1 = (isMaxRangeB ? m_rnd.getUint32() : (m_rangeB.x() + m_rnd.getUint32()%(m_rangeB.y()-m_rangeB.x()+1))) & mask;
H A Des3fShaderPackingFunctionTests.cpp275 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);
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmIndexingTests.cpp83 indexSelectorData.push_back(UVec4(rnd.getUint32() % 32, rnd.getUint32() % 32, rnd.getUint32() % 4, rnd.getUint32() % 4));
291 indexSelectorData.push_back(UVec4(rnd.getUint32() % 32, rnd.getUint32() % 32, rnd.getUint32() % 4, rnd.getUint32() % 4));
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineUniqueRandomIterator.hpp76 uniqueIndices.insert(rnd.getUint32() % numValues);
/external/deqp/modules/gles31/functional/
H A Des31fUniformLocationTests.cpp845 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()
[all...]
H A Des31fSeparateShaderTests.cpp673 const deUint32 vtxSeed = rnd.getUint32();
675 const deUint32 frgSeed = rnd.getUint32();
1195 const deUint32 initVtxSeed = m_params.switchVtx ? m_rnd.getUint32() : pp.vtxSeed;
1198 const deUint32 initFrgSeed = m_params.switchFrg ? m_rnd.getUint32() : pp.frgSeed;
1316 Random rnd (seed > 0 ? seed : m_rnd.getUint32());
1336 GLuint drawSeed = m_rnd.getUint32();
1368 deUint32 drawSeed = m_rnd.getUint32();
1400 deUint32 drawSeed = m_rnd.getUint32();
1788 params = genParams(rnd.getUint32());
H A Des31fShaderIntegerFunctionTests.cpp148 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();
H A Des31fShaderPackingFunctionTests.cpp279 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());
1096 inputs.push_back(rnd.getUint32());
/external/deqp/modules/glshared/
H A DglsInteractionTestUtil.cpp176 state.stencil[ndx].compareMask = rnd.getUint32();
180 state.stencil[ndx].writeMask = rnd.getUint32();
H A DglsLifetimeTests.cpp981 const GLuint id = m_rnd.getUint32();
1154 const GLuint refSeed = m_rnd.getUint32();
1155 const GLuint newSeed = m_rnd.getUint32();
1235 const GLuint refSeed = m_rnd.getUint32();
1236 const GLuint newSeed = m_rnd.getUint32();
H A DglsTextureBufferCase.cpp100 const deUint8 xBits = deUint8(rng.getUint32() & bitMask);
449 const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOffset)));
472 const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOffset)));
506 const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOffset)));
767 const deUint32 coordSeed = rng.getUint32();
/external/deqp/modules/egl/
H A DteglMultiContextTests.cpp146 const eglw::EGLContext sharedContext = (m_sharing == SHARING_SHARED && contextCount > 0 ? contexts[rng.getUint32() % (deUint32)contextCount] : EGL_NO_CONTEXT);
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderIntegerFunctionTests.cpp150 dst[valueNdx*scalarSize + compNdx] = rnd.getUint32() & integerMask;
156 dst[valueNdx*scalarSize + compNdx] = extendSignTo32(rnd.getUint32() & integerMask, integerLength);
716 const deUint32 base0 = rnd.getUint32();
717 const deUint32 base1 = rnd.getUint32();
821 const deInt32 base0 = (deInt32)rnd.getUint32();
822 const deInt32 base1 = (deInt32)rnd.getUint32();
H A DvktShaderPackingFunctionTests.cpp299 inputs.push_back(rnd.getUint32());
522 inputs.push_back(rnd.getUint32());
636 const deUint32 mantissa = rnd.getUint32() & ((1<<23)-1);
757 const deUint32 mantissa = rnd.getUint32() & ((1<<mantBits)-1);
1003 inputs.push_back(rnd.getUint32());
1246 inputs.push_back(rnd.getUint32());

Completed in 1002 milliseconds

1234