Home
last modified time | relevance | path

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

123

/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/chromium_org/mojo/public/js/bindings/
Dbuffer.js63 Buffer.prototype.getUint32 = function(offset) { method in Buffer
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);
Dvalidator.js93 var index = this.message.buffer.getUint32(offset);
112 var numBytes = this.message.buffer.getUint32(offset);
113 var numFields = this.message.buffer.getUint32(offset + 4);
207 var numBytes = this.message.buffer.getUint32(offset);
208 var numElements = this.message.buffer.getUint32(offset + 4);
Dcodec.js80 var result = this.buffer.getUint32(this.next);
367 return this.buffer.getUint32(kStructHeaderNumBytesOffset);
371 return this.buffer.getUint32(kStructHeaderNumFieldsOffset);
375 return this.buffer.getUint32(kMessageNameOffset);
379 return this.buffer.getUint32(kMessageFlagsOffset);
/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()
/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.cpp296 const GLint red = rnd.getUint32(); in clearColor()
297 const GLint green = rnd.getUint32(); in clearColor()
298 const GLint blue = rnd.getUint32(); in clearColor()
299 const GLint alpha = rnd.getUint32(); in clearColor()
313 const GLuint red = rnd.getUint32(); in clearColor()
314 const GLuint green = rnd.getUint32(); in clearColor()
315 const GLuint blue = rnd.getUint32(); in clearColor()
316 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()
/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.cpp846 const Stage layoutLoc = Stage(rng.getUint32()&0x3); in init()
847 const Stage declareLoc = Stage((rng.getUint32()&0x3) | layoutLoc); in init()
848 const Stage verifyLoc = Stage((rng.getUint32()&0x3) & declareLoc); in init()
891 Stage(rng.getUint32()&0x3), in init()
892 Stage(rng.getUint32()&0x3), in init()
893 Stage(rng.getUint32()&0x3), in init()
894 Stage(rng.getUint32()&0x3), in init()
899 (rng.getUint32()&0x3) | layoutLocs[0], in init()
900 (rng.getUint32()&0x3) | layoutLocs[1], in init()
901 (rng.getUint32()&0x3) | layoutLocs[2], in init()
[all …]
Des31fSeparateShaderTests.cpp665 const deUint32 vtxSeed = rnd.getUint32(); in genProgramParams()
667 const deUint32 frgSeed = rnd.getUint32(); in genProgramParams()
1187 const deUint32 initVtxSeed = m_params.switchVtx ? m_rnd.getUint32() : pp.vtxSeed; in createPipeline()
1190 const deUint32 initFrgSeed = m_params.switchFrg ? m_rnd.getUint32() : pp.frgSeed; in createPipeline()
1308 Random rnd (seed > 0 ? seed : m_rnd.getUint32()); in drawSurface()
1328 GLuint drawSeed = m_rnd.getUint32(); in testPipelineRendering()
1360 deUint32 drawSeed = m_rnd.getUint32(); in testCurrentProgPriority()
1392 deUint32 drawSeed = m_rnd.getUint32(); in testActiveProgramUniform()
1780 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/chromium_org/third_party/WebKit/Source/core/html/canvas/
DDataView.h53 …uint32_t getUint32(unsigned byteOffset, ExceptionState& ec) { return getUint32(byteOffset, false, … in getUint32() function
54 uint32_t getUint32(unsigned byteOffset, bool littleEndian, ExceptionState&);
DDataView.idl40 …[RaisesException] unsigned long getUint32(unsigned long byteOffset, optional boolean littleEndian);
/external/chromium_org/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()
DglsTextureBufferCase.cpp105 const deUint8 xBits = deUint8(rng.getUint32() & bitMask); in genRandomCoords()
451 …const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOff… in modifyBufferSubData()
474 …const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOff… in modifyMapWrite()
508 …const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOff… in modifyMapReadWrite()
765 const deUint32 coordSeed = rng.getUint32(); in render()
DglsLifetimeTests.cpp816 const GLuint id = m_rnd.getUint32(); in testBindNoGen()
989 const GLuint refSeed = m_rnd.getUint32(); in iterate()
990 const GLuint newSeed = m_rnd.getUint32(); in iterate()
1070 const GLuint refSeed = m_rnd.getUint32(); in iterate()
1071 const GLuint newSeed = m_rnd.getUint32(); in iterate()

123