/external/deqp/modules/gles2/functional/ |
D | es2fPrerequisiteTests.cpp | 133 r = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() 134 g = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() 135 b = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() 136 a = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() 212 x = deRandom_getUint32(&rnd) % (targetWidth - 1); in iterate() 213 y = deRandom_getUint32(&rnd) % (targetHeight - 1); in iterate() 214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1)); in iterate() 215 imageHeight = 1 + (deRandom_getUint32(&rnd) % (targetHeight - y - 1)); in iterate() 223 int r = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() 224 int g = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() [all …]
|
D | es2fFboRenderTest.cpp | 574 int x = deRandom_getUint32(&rnd) % xMax; in iterate() 575 int y = deRandom_getUint32(&rnd) % yMax; in iterate() 683 int cX = (int)(deRandom_getUint32(&rnd) & 0x7fffffff) % width; in render() 684 int cY = (int)(deRandom_getUint32(&rnd) & 0x7fffffff) % height; in render() 685 int cWidth = (int)(deRandom_getUint32(&rnd) & 0x7fffffff) % (width-cX); in render() 686 int cHeight = (int)(deRandom_getUint32(&rnd) & 0x7fffffff) % (height-cY); in render() 687 Vec4 color = RGBA(deRandom_getUint32(&rnd)).toVec(); in render()
|
/external/deqp/modules/gles3/functional/ |
D | es3fPrerequisiteTests.cpp | 133 r = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() 134 g = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() 135 b = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() 136 a = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() 212 x = deRandom_getUint32(&rnd) % (targetWidth - 1); in iterate() 213 y = deRandom_getUint32(&rnd) % (targetHeight - 1); in iterate() 214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1)); in iterate() 215 imageHeight = 1 + (deRandom_getUint32(&rnd) % (targetHeight - y - 1)); in iterate() 223 int r = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() 224 int g = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() [all …]
|
D | es3fFboRenderTest.cpp | 438 int x = deRandom_getUint32(&rnd) % xMax; in iterate() 439 int y = deRandom_getUint32(&rnd) % yMax; in iterate()
|
/external/deqp/framework/delibs/debase/ |
D | deRandom.c | 49 deUint32 deRandom_getUint32 (deRandom* rnd) in deRandom_getUint32() function 69 deUint64 x = deRandom_getUint32(rnd); in deRandom_getUint64() 70 return x << 32 | deRandom_getUint32(rnd); in deRandom_getUint64() 80 return (float)(deRandom_getUint32(rnd) & 0xFFFFFFFu) / (float)(0xFFFFFFFu+1); in deRandom_getFloat() 102 deUint32 val = deRandom_getUint32(rnd); in deRandom_getBool()
|
D | deFloat16Test.c | 101 deUint32 mantissa = deRandom_getUint32(&rnd); in deFloat16_selfTest() 119 deUint32 exponent = deRandom_getUint32(&rnd); in deFloat16_selfTest() 120 deUint32 mantissa = deRandom_getUint32(&rnd); in deFloat16_selfTest() 163 deUint32 exponent = deRandom_getUint32(&rnd); in deFloat16_selfTest() 164 deUint32 mantissa = deRandom_getUint32(&rnd); in deFloat16_selfTest() 180 deUint32 exponent = deRandom_getUint32(&rnd); in deFloat16_selfTest() 181 deUint32 mantissa = deRandom_getUint32(&rnd); in deFloat16_selfTest() 223 deUint32 mantissa = deRandom_getUint32(&rnd); in deFloat16_selfTest() 240 deUint32 exponent = deRandom_getUint32(&rnd); in deFloat16_selfTest() 241 deUint32 mantissa = deRandom_getUint32(&rnd); in deFloat16_selfTest() [all …]
|
D | deRandom.h | 48 deUint32 deRandom_getUint32 (deRandom* rnd);
|
D | deMathTest.c | 98 testSingleInt32ToFloat((deInt32)deRandom_getUint32(&rnd)); in testInt32ToFloat()
|
D | deInt32Test.c | 149 deUint32 val = (deRandom_getUint32(&rnd) & ((1u<<numBits)-1)) | (1u<<numBits); in deInt32_selfTest()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiMemoryRequirementInvarianceTests.cpp | 91 m_size = (deRandom_getUint32(&random) % 1024) + 7; in BufferAllocator() 93 m_usage = 1 << (deRandom_getUint32(&random) % 9); in BufferAllocator() 95 m_memoryType = memoryTypes[deRandom_getUint32(&random) % memoryTypes.size()]; in BufferAllocator() 169 m_colorFormat = (VkFormat)linearformats[deRandom_getUint32(&random) % linearformats.size()]; in ImageAllocator() 171 m_colorFormat = (VkFormat)optimalformats[deRandom_getUint32(&random) % optimalformats.size()]; in ImageAllocator() 177 m_size = tcu::IVec2((deRandom_getUint32(&random) % 16 + 3) & ~(widthAlignment - 1), in ImageAllocator() 178 (deRandom_getUint32(&random) % 16 + 3) & ~(heightAlignment - 1)); in ImageAllocator() 180 m_memoryType = memoryTypes[deRandom_getUint32(&random) % memoryTypes.size()]; in ImageAllocator() 597 int a = deRandom_getUint32(&m_random) % testCycles; in iterate() 598 int b = deRandom_getUint32(&m_random) % testCycles; in iterate()
|
/external/deqp/framework/delibs/decpp/ |
D | deRandom.hpp | 54 deUint32 getUint32 (void) { return deRandom_getUint32(&m_rnd); } in getUint32() 55 deUint16 getUint16 (void) { return (deUint16)deRandom_getUint32(&m_rnd); } in getUint16() 56 deUint8 getUint8 (void) { return (deUint8)deRandom_getUint32(&m_rnd); } in getUint8()
|
/external/deqp/framework/delibs/deutil/ |
D | deTimerTest.c | 57 …int interval = minInterval + (int)(deRandom_getUint32(&rnd) % (deUint32)(maxInterval-minInterval… in deTimer_selfTest()
|
/external/deqp/framework/delibs/depool/ |
D | deMemPool.c | 177 if ((deRandom_getUint32(&parent->failRandom) & 16383) <= 15) in createPoolInternal() 210 deRandom_init(&pool->failRandom, parent ? deRandom_getUint32(&parent->failRandom) : 0x1234abcd); in createPoolInternal() 433 if ((deRandom_getUint32(&pool->failRandom) & 16383) <= 15) in deMemPool_allocInternal()
|
/external/deqp/modules/glshared/ |
D | glsVertexArrayTests.cpp | 237 …return GLValue::Short::create((min == max ? min : (deInt16)(min + (deRandom_getUint32(&rnd) % (max… in getRandom() 246 …return GLValue::Ushort::create((min == max ? min : (deUint16)(min + (deRandom_getUint32(&rnd) % (m… in getRandom() 255 …return GLValue::Byte::create((min == max ? min : (deInt8)(min + (deRandom_getUint32(&rnd) % (max.t… in getRandom() 264 …return GLValue::Ubyte::create((min == max ? min : (deUint8)(min + (deRandom_getUint32(&rnd) % (max… in getRandom() 273 …return GLValue::Fixed::create((min == max ? min : min + (deRandom_getUint32(&rnd) % (max.to<deUint… in getRandom() 294 …return GLValue::Int::create((min == max ? min : min + (deRandom_getUint32(&rnd) % (max.to<deUint32… in getRandom() 303 …return GLValue::Uint::create((min == max ? min : min + (deRandom_getUint32(&rnd) % (max.to<deUint3… in getRandom() 1511 deUint32 x1 = min + deRandom_getUint32(&rnd) % (max - min); in createQuadsPacked() 1512 deUint32 x2 = min + deRandom_getUint32(&rnd) % (max - x1); in createQuadsPacked() 1514 deUint32 y1 = min + deRandom_getUint32(&rnd) % (max - min); in createQuadsPacked() [all …]
|
D | glsDrawTest.cpp | 693 …return GLValue::Short::create((min == max ? min : (deInt16)(min + (deRandom_getUint32(&rnd) % (max… in getRandom() 702 …return GLValue::Ushort::create((min == max ? min : (deUint16)(min + (deRandom_getUint32(&rnd) % (m… in getRandom() 711 …return GLValue::Byte::create((min == max ? min : (deInt8)(min + (deRandom_getUint32(&rnd) % (max.t… in getRandom() 720 …return GLValue::Ubyte::create((min == max ? min : (deUint8)(min + (deRandom_getUint32(&rnd) % (max… in getRandom() 729 …return GLValue::Fixed::create((min == max ? min : min + (deRandom_getUint32(&rnd) % (max.to<deUint… in getRandom() 750 …return GLValue::Int::create((min == max ? min : min + (deRandom_getUint32(&rnd) % (max.to<deUint32… in getRandom() 759 …return GLValue::Uint::create((min == max ? min : min + (deRandom_getUint32(&rnd) % (max.to<deUint3… in getRandom() 1637 const deUint32 x = deRandom_getUint32(&rnd) % limit10; in generatePackedArray() 1638 const deUint32 y = deRandom_getUint32(&rnd) % limit10; in generatePackedArray() 1639 const deUint32 z = deRandom_getUint32(&rnd) % limit10; in generatePackedArray() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingDescriptorUpdateTests.cpp | 1126 if (deRandom_getUint32(&m_random) % 10 == 0) in iterate() 1127 numWrites = deRandom_getUint32(&m_random) % 20 + 1; in iterate() 1136 bool rare = (deRandom_getUint32(&m_random) % 100u >= (firstHalf ? 98u : 80u)); in iterate() 1148 descWrite.offset = (deRandom_getUint32(&m_random) % kNumOffsets) * 256u; in iterate() 1150 descWrite.bufferId = deRandom_getUint32(&m_random) % kNumBuffers; in iterate() 1156 deRandom_getUint32(&m_random) % 10u, writes}; in iterate() 1189 descWrite.offset = (deRandom_getUint32(&m_random) % kNumOffsets) * 256u; in iterate() 1190 descWrite.bufferId = deRandom_getUint32(&m_random) % kNumBuffers; in iterate()
|
D | vktBindingDescriptorSetRandomTests.cpp | 395 return (deRandom_getUint32(rnd) % (max - min + 1)) + min; in randRange()
|
/external/deqp/execserver/tools/ |
D | xsTest.cpp | 989 ((deUint32*)data)[ndx] = deRandom_getUint32(&rnd); 998 int blockSize = 1 + deRandom_getUint32(&rnd) % (dataSize-curPos); 1016 …int numToRead = 1 + deRandom_getUint32(&rnd) % deMin(dataSize-curPos, DE_LENGTH_OF_ARRAY(block)…
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeCooperativeMatrixTests.cpp | 941 … setDataFloat(ptrs[i], dataTypes[i], j, ((float)(deRandom_getUint32(&rnd) & 0xff) - 64.0f)/2.0f); in iterate() 943 setDataFloat(ptrs[i], dataTypes[i], j, ((float)(deRandom_getUint32(&rnd) & 0xf) - 4.0f)/2.0f); in iterate() 946 setDataInt(ptrs[i], dataTypes[i], j, (deRandom_getUint32(&rnd) & 0xff) - 128); in iterate()
|
D | vktComputeZeroInitializeWorkgroupMemoryTests.cpp | 558 cases[i].numVariables = (deRandom_getUint32(&rnd) % 16) + 1; in AddTypeTests()
|
/external/deqp/framework/delibs/dethread/ |
D | deThreadTest.c | 386 val = deRandom_getUint32(&random); in producerThread()
|
/external/deqp/external/vulkancts/modules/vulkan/descriptor_indexing/ |
D | vktDescriptorSetsIndexingTests.cpp | 1316 variables.lowerBound = deRandom_getUint32(&rnd) % quarter; in iterateCommandBegin() 1317 variables.upperBound = (deRandom_getUint32(&rnd) % quarter) + (3 * quarter); in iterateCommandBegin()
|
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/ |
D | vktRayTracingAccelerationStructuresTests.cpp | 2233 asIndicesSet.insert(deRandom_getUint32(&rnd) % tlasCount); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/ray_query/ |
D | vktRayQueryAccelerationStructuresTests.cpp | 3183 asIndicesSet.insert(deRandom_getUint32(&rnd) % tlasCount); in iterate()
|