Home
last modified time | relevance | path

Searched refs:deRandom_getUint32 (Results 1 – 15 of 15) sorted by relevance

/external/deqp/modules/gles2/functional/
Des2fPrerequisiteTests.cpp133 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 …]
Des2fFboRenderTest.cpp574 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/
Des3fPrerequisiteTests.cpp133 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 …]
Des3fFboRenderTest.cpp436 int x = deRandom_getUint32(&rnd) % xMax; in iterate()
437 int y = deRandom_getUint32(&rnd) % yMax; in iterate()
/external/deqp/framework/delibs/debase/
DdeRandom.c49 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()
DdeRandom.h48 deUint32 deRandom_getUint32 (deRandom* rnd);
DdeMathTest.c98 testSingleInt32ToFloat((deInt32)deRandom_getUint32(&rnd)); in testInt32ToFloat()
DdeInt32Test.c149 deUint32 val = (deRandom_getUint32(&rnd) & ((1u<<numBits)-1)) | (1u<<numBits); in deInt32_selfTest()
/external/deqp/framework/delibs/decpp/
DdeRandom.hpp53 deUint32 getUint32 (void) { return deRandom_getUint32(&m_rnd); } in getUint32()
54 deUint16 getUint16 (void) { return (deUint16)deRandom_getUint32(&m_rnd); } in getUint16()
55 deUint8 getUint8 (void) { return (deUint8)deRandom_getUint32(&m_rnd); } in getUint8()
/external/deqp/framework/delibs/depool/
DdeMemPool.c177 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/framework/delibs/deutil/
DdeTimerTest.c57 …int interval = minInterval + (int)(deRandom_getUint32(&rnd) % (deUint32)(maxInterval-minInterval… in deTimer_selfTest()
/external/deqp/modules/glshared/
DglsVertexArrayTests.cpp237 …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 …]
DglsDrawTest.cpp692 …return GLValue::Short::create((min == max ? min : (deInt16)(min + (deRandom_getUint32(&rnd) % (max… in getRandom()
701 …return GLValue::Ushort::create((min == max ? min : (deUint16)(min + (deRandom_getUint32(&rnd) % (m… in getRandom()
710 …return GLValue::Byte::create((min == max ? min : (deInt8)(min + (deRandom_getUint32(&rnd) % (max.t… in getRandom()
719 …return GLValue::Ubyte::create((min == max ? min : (deUint8)(min + (deRandom_getUint32(&rnd) % (max… in getRandom()
728 …return GLValue::Fixed::create((min == max ? min : min + (deRandom_getUint32(&rnd) % (max.to<deUint… in getRandom()
749 …return GLValue::Int::create((min == max ? min : min + (deRandom_getUint32(&rnd) % (max.to<deUint32… in getRandom()
758 …return GLValue::Uint::create((min == max ? min : min + (deRandom_getUint32(&rnd) % (max.to<deUint3… in getRandom()
1720 const deUint32 x = deRandom_getUint32(&rnd) % limit10; in generatePackedArray()
1721 const deUint32 y = deRandom_getUint32(&rnd) % limit10; in generatePackedArray()
1722 const deUint32 z = deRandom_getUint32(&rnd) % limit10; in generatePackedArray()
[all …]
/external/deqp/execserver/tools/
DxsTest.cpp988 ((deUint32*)data)[ndx] = deRandom_getUint32(&rnd);
997 int blockSize = 1 + deRandom_getUint32(&rnd) % (dataSize-curPos);
1015 …int numToRead = 1 + deRandom_getUint32(&rnd) % deMin(dataSize-curPos, DE_LENGTH_OF_ARRAY(block)…
/external/deqp/framework/delibs/dethread/
DdeThreadTest.c386 val = deRandom_getUint32(&random); in producerThread()