HomeSort by relevance Sort by last modified time
    Searched full:rnd (Results 126 - 150 of 651) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/deqp/modules/gles31/functional/
es31fVertexAttributeBindingStateQueryTests.cpp 133 de::Random rnd (0xabc);
139 const int va = rnd.getInt(0, de::max(16, maxAttrs)-1);
140 const int binding = rnd.getInt(0, 16);
208 de::Random rnd (0xabc);
213 const int va = rnd.getInt(0, de::max(16, maxAttrs)-1);
214 const int offset = rnd.getInt(0, 2047);
313 de::Random rnd (0xabc);
318 const int binding = rnd.getInt(0, maxBindings-1);
319 const int divisor = rnd.getInt(0, 2047);
391 de::Random rnd (0xabc)
    [all...]
es31fShaderCommonFunctionTests.cpp 72 template<typename T> T randomScalar (de::Random& rnd, T minValue, T maxValue);
73 template<> inline float randomScalar (de::Random& rnd, float minValue, float maxValue) { return rnd.getFloat(minValue, maxValue); }
74 template<> inline deInt32 randomScalar (de::Random& rnd, deInt32 minValue, deInt32 maxValue) { return rnd.getInt(minValue, maxValue); }
75 template<> inline deUint32 randomScalar (de::Random& rnd, deUint32 minValue, deUint32 maxValue) { return minValue + rnd.getUint32() % (maxValue - minValue + 1); }
78 inline tcu::Vector<T, Size> randomVector (de::Random& rnd, const tcu::Vector<T, Size>& minValue, const tcu::Vector<T, Size>& maxValue)
82 res[ndx] = randomScalar<T>(rnd, minValue[ndx], maxValue[ndx]);
87 static void fillRandomVectors (de::Random& rnd, const tcu::Vector<T, Size>& minValue, const tcu::Vector<T, Size>& maxValue, void* dst, int numVal (…)
    [all...]
es31fTextureSpecificationTests.cpp 78 static tcu::Vector<float, Size> randomVector (de::Random& rnd, const tcu::Vector<float, Size>& minVal = tcu::Vector<float, Size>(0.0f), const tcu::Vector<float, Size>& maxVal = tcu::Vector<float, Size>(1.0f))
82 res[ndx] = rnd.getFloat(minVal[ndx], maxVal[ndx]);
147 de::Random rnd (deStringHash(getName()));
150 int x = rnd.getInt(0, renderTarget.getWidth() - width);
151 int y = rnd.getInt(0, renderTarget.getHeight() - height);
329 de::Random rnd (deStringHash(getName()));
340 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
341 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
367 de::Random rnd (deStringHash(getName()));
380 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax)
    [all...]
  /external/deqp/modules/gles2/functional/
es2fFloatStateQueryTests.cpp 747 de::Random rnd(0xabcdef);
776 GLfloat n = rnd.getFloat(0, 1);
777 GLfloat f = rnd.getFloat(0, 1);
800 de::Random rnd(0xabcdef);
812 const GLfloat reference = rnd.getFloat(range[0], range[1]);
834 de::Random rnd(0xabcdef);
856 const GLfloat reference = rnd.getFloat(-64000, 64000);
879 de::Random rnd(0xabcdef);
901 const GLfloat reference = rnd.getFloat(-64000, 64000);
924 de::Random rnd(0xabcdef)
    [all...]
es2fUniformApiTests.cpp 207 static glu::VarType generateRandomType (const int maxDepth, int& curStructIdx, vector<const StructType*>& structTypesDst, Random& rnd)
209 const bool isStruct = maxDepth > 0 && rnd.getFloat() < 0.2f;
210 const bool isArray = rnd.getFloat() < 0.3f;
214 const int numMembers = rnd.getInt(1, 5);
218 structType->addMember(("m" + de::toString(i)).c_str(), generateRandomType(maxDepth-1, curStructIdx, structTypesDst, rnd));
221 return isArray ? glu::VarType(glu::VarType(structType), rnd.getInt(1, 5)) : glu::VarType(structType);
225 const glu::DataType basicType = (glu::DataType)s_testDataTypes[rnd.getInt(0, DE_LENGTH_OF_ARRAY(s_testDataTypes)-1)];
227 return isArray ? glu::VarType(glu::VarType(basicType, precision), rnd.getInt(1, 5)) : glu::VarType(basicType, precision);
452 Random rnd (seed);
453 const int numUniforms = rnd.getInt(1, 5)
    [all...]
es2fBufferWriteTests.cpp 452 de::Random rnd (m_seed ^ deInt32Hash(m_iterNdx) ^ 0xacf92e);
458 const deUint32 target = bufferTargets[rnd.getInt(0, DE_LENGTH_OF_ARRAY(bufferTargets)-1)];
459 const bool respecify = m_curSize == 0 || rnd.getFloat() < respecifyProbability;
469 const int size = rnd.getInt(minSize, maxSize);
470 const deUint32 hint = usageHints[rnd.getInt(0, DE_LENGTH_OF_ARRAY(usageHints)-1)];
471 const bool fillWithData = rnd.getFloat() < respecifyDataProbability;
475 fillWithRandomBytes(m_refBuffer.getPtr(), size, rnd.getUint32());
488 const int size = de::clamp(deRoundFloatToInt32((float)m_curSize * deFloatPow(rnd.getFloat(0.0f, 0.7f), 3.0f)), minSize, m_curSize);
489 const int offset = rnd.getInt(0, m_curSize-size);
491 fillWithRandomBytes(m_refBuffer.getPtr()+offset, size, rnd.getUint32())
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
vktShaderCommonFunctionTests.cpp 77 template<typename T> T randomScalar (de::Random& rnd, T minValue, T maxValue);
78 template<> inline float randomScalar (de::Random& rnd, float minValue, float maxValue) { return rnd.getFloat(minValue, maxValue); }
79 template<> inline deInt32 randomScalar (de::Random& rnd, deInt32 minValue, deInt32 maxValue) { return rnd.getInt(minValue, maxValue); }
82 inline tcu::Vector<T, Size> randomVector (de::Random& rnd, const tcu::Vector<T, Size>& minValue, const tcu::Vector<T, Size>& maxValue)
86 res[ndx] = randomScalar<T>(rnd, minValue[ndx], maxValue[ndx]);
91 static void fillRandomVectors (de::Random& rnd, const tcu::Vector<T, Size>& minValue, const tcu::Vector<T, Size>& maxValue, void* dst, int numValues, int offset = 0)
95 access[offset + ndx] = randomVector<T, Size>(rnd, minValue, maxValue);
99 static void fillRandomScalars (de::Random& rnd, T minValue, T maxValue, void* dst, int numValues, int offset = 0
    [all...]
  /external/deqp/modules/egl/
teglMultiThreadTests.cpp 553 de::Random rnd (deInt32Hash(thread.getId() + 10435));
596 const int popCount = rnd.getInt(0, (int)(configs.size()-2));
644 const int popCount = rnd.getInt(0, (int)(configs.size()-2));
690 const EGLint attribute = attributes[rnd.getInt(0, DE_LENGTH_OF_ARRAY(attributes)-1)];
691 EGLConfig config = configs[rnd.getInt(0, (int)(configs.size()-1))];
998 de::Random& rnd = (thread.getId() == 0 ? m_rnd0 : m_rnd1); local
1069 create = rnd.getBool();
1074 type = rnd.choose<Type>(objectTypes.begin(), objectTypes.end());
1306 de::Random& rnd = (thread.getId() == 0 ? m_rnd0 : m_rnd1); local
1348 de::Random& rnd = (thread.getId() == 0 ? m_rnd0 : m_rnd1); local
    [all...]
teglBufferAgeTests.cpp 175 void generateRandomFrame (Frame* dst, const vector<BufferAgeTest::DrawType>& drawTypes, de::Random& rnd)
179 const int x1 = rnd.getInt(0, (dst->width-1)/8) * 4;
180 const int y1 = rnd.getInt(0, (dst->height-1)/8) * 4;
181 const int x2 = rnd.getInt((dst->width-1)/8, (dst->width-1)/4) * 4;
182 const int y2 = rnd.getInt((dst->height-1)/8, (dst->height-1)/4) * 4;
183 const GLubyte r = rnd.getUint8();
184 const GLubyte g = rnd.getUint8();
185 const GLubyte b = rnd.getUint8();
485 de::Random rnd (m_seed);
490 const float clearRed = rnd.getFloat()
    [all...]
  /external/deqp/modules/gles3/functional/
es3fBufferWriteTests.cpp 464 de::Random rnd (m_seed ^ deInt32Hash(m_iterNdx) ^ 0xacf92e);
470 const deUint32 target = bufferTargets[rnd.getInt(0, DE_LENGTH_OF_ARRAY(bufferTargets)-1)];
471 const bool respecify = m_curSize == 0 || rnd.getFloat() < respecifyProbability;
481 const int size = rnd.getInt(minSize, maxSize);
482 const deUint32 hint = usageHints[rnd.getInt(0, DE_LENGTH_OF_ARRAY(usageHints)-1)];
483 const bool fillWithData = rnd.getFloat() < respecifyDataProbability;
487 fillWithRandomBytes(m_refBuffer.getPtr(), size, rnd.getUint32());
500 const int size = de::clamp(deRoundFloatToInt32((float)m_curSize * deFloatPow(rnd.getFloat(0.0f, 0.7f), 3.0f)), minSize, m_curSize);
501 const int offset = rnd.getInt(0, m_curSize-size);
503 fillWithRandomBytes(m_refBuffer.getPtr()+offset, size, rnd.getUint32())
    [all...]
es3fFloatStateQueryTests.cpp 841 de::Random rnd(0xabcdef);
867 GLfloat n = rnd.getFloat(0, 1);
868 GLfloat f = rnd.getFloat(0, 1);
890 de::Random rnd(0xabcdef);
902 const GLfloat reference = rnd.getFloat(range[0], range[1]);
924 de::Random rnd(0xabcdef);
    [all...]
es3fReadPixelsTests.cpp 223 de::Random rnd(m_seed);
261 const float red = rnd.getFloat();
262 const float green = rnd.getFloat();
263 const float blue = rnd.getFloat();
264 const float alpha = rnd.getFloat();
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()
    [all...]
es3fTransformFeedbackTests.cpp 534 static void genAttributeData (const Attribute& attrib, deUint8* basePtr, int stride, int numElements, de::Random& rnd)
553 case glu::PRECISION_LOWP: *comp = 0.0f + 0.25f*(float)rnd.getInt(0, 4); break;
554 case glu::PRECISION_MEDIUMP: *comp = rnd.getFloat(-1e3f, 1e3f); break;
555 case glu::PRECISION_HIGHP: *comp = rnd.getFloat(-1e5f, 1e5f); break;
565 case glu::PRECISION_LOWP: *comp = (int)signExtend(rnd.getUint32()&0xff, 8); break;
566 case glu::PRECISION_MEDIUMP: *comp = (int)signExtend(rnd.getUint32()&0xffff, 16); break;
567 case glu::PRECISION_HIGHP: *comp = (int)rnd.getUint32(); break;
577 case glu::PRECISION_LOWP: *comp = rnd.getUint32()&0xff; break;
578 case glu::PRECISION_MEDIUMP: *comp = rnd.getUint32()&0xffff; break;
579 case glu::PRECISION_HIGHP: *comp = rnd.getUint32(); break
    [all...]
es3fSyncTests.cpp 109 static void generateVertices (std::vector<float>& dst, int numPrimitives, de::Random& rnd)
116 dst[i*4 ] = rnd.getFloat(-1.0f, 1.0f); // x
117 dst[i*4 + 1] = rnd.getFloat(-1.0f, 1.0f); // y
118 dst[i*4 + 2] = rnd.getFloat( 0.0f, 1.0f); // z
  /external/boringssl/src/crypto/bn/
random.c 118 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) {
122 if (rnd == NULL) {
127 BN_zero(rnd);
166 if (!BN_bin2bn(buf, bytes, rnd)) {
180 int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom) {
181 return BN_rand(rnd, bits, top, bottom);
  /external/libhevc/common/arm/
ihevc_itrans_recon_8x8.s 267 vqrshrn.s32 d2,q10,#shift_stage1_idct @// r0 = (a0 + b0 + rnd) >> 7(shift_stage1_idct)
268 vqrshrn.s32 d15,q3,#shift_stage1_idct @// r7 = (a0 - b0 + rnd) >> 7(shift_stage1_idct)
269 vqrshrn.s32 d3,q12,#shift_stage1_idct @// r2 = (a2 + b2 + rnd) >> 7(shift_stage1_idct)
270 vqrshrn.s32 d14,q11,#shift_stage1_idct @// r5 = (a2 - b2 + rnd) >> 7(shift_stage1_idct)
271 vqrshrn.s32 d6,q14,#shift_stage1_idct @// r1 = (a1 + b1 + rnd) >> 7(shift_stage1_idct)
272 vqrshrn.s32 d11,q9,#shift_stage1_idct @// r6 = (a1 - b1 + rnd) >> 7(shift_stage1_idct)
273 vqrshrn.s32 d7,q13,#shift_stage1_idct @// r3 = (a3 + b3 + rnd) >> 7(shift_stage1_idct)
274 vqrshrn.s32 d10,q15,#shift_stage1_idct @// r4 = (a3 - b3 + rnd) >> 7(shift_stage1_idct)
335 vqrshrn.s32 d2,q10,#shift_stage1_idct @// r0 = (a0 + b0 + rnd) >> 7(shift_stage1_idct)
336 vqrshrn.s32 d15,q3,#shift_stage1_idct @// r7 = (a0 - b0 + rnd) >> 7(shift_stage1_idct
    [all...]
  /external/llvm/test/MC/Hexagon/
v60-vmpy1.s 74 #CHECK: 1945c945 { v5.h = vmpy(v9.h,{{ *}}r5.h):<<1:rnd:sat }
75 v5.h=vmpy(v9.h,r5.h):<<1:rnd:sat
80 #CHECK: 1c34d937 { v23.h = vmpy(v25.h,{{ *}}v20.h):<<1:rnd:sat }
81 v23.h=vmpy(v25.h,v20.h):<<1:rnd:sat
134 #CHECK: 1f5cd411 { v17.w = vmpyo(v20.w{{ *}},{{ *}}v28.h):<<1:rnd:sat }
135 v17.w=vmpyo(v20.w,v28.h):<<1:rnd:sat
  /external/deqp/modules/glshared/
glsMemoryStressCase.cpp 451 void allocateTexture (de::Random& rnd);
452 void allocateBuffer (de::Random& rnd);
496 de::Random rnd(m_seed);
510 allocateTexture(rnd);
514 allocateBuffer(rnd);
519 if (rnd.getBool())
520 allocateBuffer(rnd);
522 allocateTexture(rnd);
580 void MemObjectAllocator::allocateTexture (de::Random& rnd)
585 int width = rnd.getInt(m_config.minTextureSize, m_config.maxTextureSize)
    [all...]
  /external/deqp/framework/randomshaders/
rsgProgramGenerator.cpp 47 de::Random rnd(programParams.seed);
49 GeneratorState state(programParams, rnd);
rsgTest.cpp 62 de::Random rnd(seed);
64 rsg::computeUniformValues(rnd, uniformValues, uniforms);
  /external/libhevc/common/arm64/
ihevc_itrans_recon_16x16.s 403 sqrshrn v30.4h, v20.4s,#shift_stage1_idct //// x0 = (a0 + b0 + rnd) >> 7(shift_stage1_idct)
404 sqrshrn v19.4h, v22.4s,#shift_stage1_idct //// x7 = (a0 - b0 + rnd) >> 7(shift_stage1_idct)
405 sqrshrn v31.4h, v14.4s,#shift_stage1_idct //// x2 = (a2 + b2 + rnd) >> 7(shift_stage1_idct)
406 sqrshrn v18.4h, v26.4s,#shift_stage1_idct //// x5 = (a2 - b2 + rnd) >> 7(shift_stage1_idct)
407 sqrshrn v12.4h, v12.4s,#shift_stage1_idct //// x1 = (a1 + b1 + rnd) >> 7(shift_stage1_idct)
408 sqrshrn v15.4h, v24.4s,#shift_stage1_idct //// x6 = (a1 - b1 + rnd) >> 7(shift_stage1_idct)
409 sqrshrn v13.4h, v16.4s,#shift_stage1_idct //// x3 = (a3 + b3 + rnd) >> 7(shift_stage1_idct)
410 sqrshrn v14.4h, v28.4s,#shift_stage1_idct //// x4 = (a3 - b3 + rnd) >> 7(shift_stage1_idct)
571 sqrshrn v18.4h, v4.4s,#shift_stage1_idct //// x0 = (a0 + b0 + rnd) >> 7(shift_stage1_idct)
572 sqrshrn v31.4h, v22.4s,#shift_stage1_idct //// x7 = (a0 - b0 + rnd) >> 7(shift_stage1_idct
    [all...]
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
partial_idct_test.cc 55 ACMRandom rnd(ACMRandom::DeterministicSeed());
91 (rnd.Rand16() - 32768) / 65536);
  /external/deqp/modules/gles3/stress/
es3sSyncTests.cpp 97 static void generateVertices (std::vector<float>& dst, int numPrimitives, de::Random& rnd)
104 dst[i*4 ] = rnd.getFloat(-1.0f, 1.0f); // x
105 dst[i*4 + 1] = rnd.getFloat(-1.0f, 1.0f); // y
106 dst[i*4 + 2] = rnd.getFloat( 0.0f, 1.0f); // z
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/include/
mpfr.h     [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/include/
mpfr.h     [all...]

Completed in 487 milliseconds

1 2 3 4 56 7 8 91011>>