Searched refs:deRandom_getUint32 (Results 1 – 15 of 15) sorted by relevance
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 …]
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()
436 int x = deRandom_getUint32(&rnd) % xMax; in iterate()437 int y = deRandom_getUint32(&rnd) % yMax; in iterate()
49 deUint32 deRandom_getUint32 (deRandom* rnd) in deRandom_getUint32() function69 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()
48 deUint32 deRandom_getUint32 (deRandom* rnd);
98 testSingleInt32ToFloat((deInt32)deRandom_getUint32(&rnd)); in testInt32ToFloat()
149 deUint32 val = (deRandom_getUint32(&rnd) & ((1u<<numBits)-1)) | (1u<<numBits); in deInt32_selfTest()
53 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()
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()
57 …int interval = minInterval + (int)(deRandom_getUint32(&rnd) % (deUint32)(maxInterval-minInterval… in deTimer_selfTest()
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 …]
692 …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 …]
988 ((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)…
386 val = deRandom_getUint32(&random); in producerThread()