/external/deqp/framework/common/ |
tcuRandomValueIterator.hpp | 40 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/deqp/framework/delibs/decpp/ |
deRandom.hpp | 52 deUint64 getUint64 (void) { deUint32 upper = getUint32(); return (deUint64)upper << 32ull | (deUint64)getUint32(); } 53 deUint32 getUint32 (void) { return deRandom_getUint32(&m_rnd); } 95 return (int)getUint32(); 97 return min + (int)(getUint32() % (deUint32)(max-min+1));
|
deBlockBuffer.cpp | 314 threads.push_back(new Consumer(&buffer, rnd.getUint32())); 316 threads.push_back(new Producer(&buffer, rnd.getUint32()));
|
deRandom.cpp | 69 // getUint32() 75 DE_TEST_ASSERT(expected[i] == rnd.getUint32());
|
/external/deqp/modules/gles2/functional/ |
es2fColorClearTest.cpp | 115 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() & 0xF) [all...] |
/external/deqp/modules/gles3/functional/ |
es3fColorClearTest.cpp | 115 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() & 0xF) [all...] |
es3fReadPixelsTests.cpp | 279 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();
|
es3fShaderPrecisionTests.cpp | 602 int in0 = deSignExtendTo32(((isMaxRangeA ? (int)m_rnd.getUint32() : m_rnd.getInt(m_rangeA.x(), m_rangeA.y())) & mask), m_bits); 603 int in1 = deSignExtendTo32(((isMaxRangeB ? (int)m_rnd.getUint32() : m_rnd.getInt(m_rangeB.x(), m_rangeB.y())) & mask), m_bits); 796 deUint32 in0 = (isMaxRangeA ? m_rnd.getUint32() : (m_rangeA.x() + m_rnd.getUint32()%(m_rangeA.y()-m_rangeA.x()+1))) & mask; 797 deUint32 in1 = (isMaxRangeB ? m_rnd.getUint32() : (m_rangeB.x() + m_rnd.getUint32()%(m_rangeB.y()-m_rangeB.x()+1))) & mask; [all...] |
es3fShaderPackingFunctionTests.cpp | 275 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/pipeline/ |
vktPipelineUniqueRandomIterator.hpp | 76 uniqueIndices.insert(rnd.getUint32() % numValues);
|
/external/deqp/modules/gles31/functional/ |
es31fUniformLocationTests.cpp | 845 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()&0x3) | layoutLocs[2] [all...] |
es31fSeparateShaderTests.cpp | 673 const deUint32 vtxSeed = rnd.getUint32(); 675 const deUint32 frgSeed = rnd.getUint32(); [all...] |
es31fShaderIntegerFunctionTests.cpp | 148 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(); [all...] |
es31fShaderPackingFunctionTests.cpp | 279 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()); [all...] |
/external/deqp/modules/glshared/ |
glsInteractionTestUtil.cpp | 176 state.stencil[ndx].compareMask = rnd.getUint32(); 180 state.stencil[ndx].writeMask = rnd.getUint32();
|
glsLifetimeTests.cpp | 819 const GLuint id = m_rnd.getUint32(); 992 const GLuint refSeed = m_rnd.getUint32(); 993 const GLuint newSeed = m_rnd.getUint32(); 1073 const GLuint refSeed = m_rnd.getUint32(); 1074 const GLuint newSeed = m_rnd.getUint32(); [all...] |
glsTextureBufferCase.cpp | 100 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(); [all...] |
/frameworks/base/services/net/java/android/net/apf/ |
ApfFilter.java | 383 private long getUint32(ByteBuffer buffer, int position) { 492 lifetime = getUint32(mPacket, 499 lifetime = getUint32(mPacket, 509 lifetime = getUint32(mPacket, position + ICMP6_4_BYTE_LIFETIME_OFFSET); 514 lifetime = getUint32(mPacket, position + ICMP6_4_BYTE_LIFETIME_OFFSET); 519 lifetime = getUint32(mPacket, position + ICMP6_4_BYTE_LIFETIME_OFFSET); [all...] |
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
vktMemoryAllocationTests.cpp | 434 const size_t nonFullHeapNdx = (size_t)(m_rng.getUint32() % (deUint32)nonFullHeaps.size()); 473 const size_t nonEmptyHeapNdx = (size_t)(m_rng.getUint32() % (deUint32)nonEmptyHeaps.size()); 476 const size_t memoryObjectNdx = m_rng.getUint32() % heap.objects.size();
|
vktMemoryPipelineBarrierTests.cpp | [all...] |
/external/v8/test/mjsunit/harmony/ |
dataview-accessors.js | 357 assertSame(expected, view.getUint32(0)); 359 assertSame(expected, view.getUint32(0, true)); 418 CheckAccessor("getUint32"); 437 assertThrows(function() { a.getUint32(); }, TypeError);
|
/external/deqp/modules/egl/ |
teglMultiContextTests.cpp | 146 const eglw::EGLContext sharedContext = (m_sharing == SHARING_SHARED && contextCount > 0 ? contexts[rng.getUint32() % (deUint32)contextCount] : EGL_NO_CONTEXT);
|
teglMakeCurrentPerfTests.cpp | 520 EGLContext context = m_contexts[m_rnd.getUint32() % m_contexts.size()]; 521 EGLSurface surface = m_surfaces[m_rnd.getUint32() % m_surfaces.size()];
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
vktShaderIntegerFunctionTests.cpp | 150 dst[valueNdx*scalarSize + compNdx] = rnd.getUint32() & integerMask; 156 dst[valueNdx*scalarSize + compNdx] = extendSignTo32(rnd.getUint32() & integerMask, integerLength); 730 const deUint32 base0 = rnd.getUint32(); 731 const deUint32 base1 = rnd.getUint32(); 836 const deInt32 base0 = (deInt32)rnd.getUint32(); 837 const deInt32 base1 = (deInt32)rnd.getUint32(); [all...] |
vktShaderPackingFunctionTests.cpp | 312 inputs.push_back(rnd.getUint32()); 537 inputs.push_back(rnd.getUint32()); 652 const deUint32 mantissa = rnd.getUint32() & ((1<<23)-1); 774 const deUint32 mantissa = rnd.getUint32() & ((1<<mantBits)-1); [all...] |