/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
nv50_ir_emit_gk110.cpp | 172 #define RND_(b, t) emitRoundMode##t(i->rnd, 0x##b) 211 CodeEmitterGK110::emitRoundMode(RoundMode rnd, const int pos, const int rintPos) 216 switch (rnd) { 221 rint = rnd == ROUND_NI; 223 assert(rnd == ROUND_N || rnd == ROUND_NI); 232 CodeEmitterGK110::emitRoundModeF(RoundMode rnd, const int pos) 236 switch (rnd) { 242 assert(rnd == ROUND_N); 249 CodeEmitterGK110::emitRoundModeI(RoundMode rnd, const int pos 1019 RoundMode rnd = i->rnd; local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
RandomDataImpl.java | 369 double rnd = 1.0d; local 372 rnd = generator.nextDouble(); 373 r = r * rnd; [all...] |
/external/deqp/modules/gles2/accuracy/ |
es2aVaryingInterpolationTests.cpp | 154 de::Random rnd (deStringHash(getName())); 162 int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth() - viewportWidth); 163 int viewportY = rnd.getInt(0, m_context.getRenderTarget().getHeight() - viewportHeight);
|
/external/deqp/modules/gles3/accuracy/ |
es3aVaryingInterpolationTests.cpp | 156 de::Random rnd (deStringHash(getName())); 165 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportWidth); 166 int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportHeight);
|
/external/deqp/modules/gles3/stress/ |
es3sLongShaderTests.cpp | 182 LongShaderGenerator (de::Random& rnd, const LongShaderSpec& spec); 210 LongShaderGenerator::LongShaderGenerator (de::Random& rnd, const LongShaderSpec& spec) 211 : m_rnd (rnd)
|
/external/deqp/modules/glshared/ |
glsTextureTestUtil.cpp | 61 de::Random rnd(seed); 62 x = rnd.getInt(0, renderTarget.getWidth() - width); 63 y = rnd.getInt(0, renderTarget.getHeight() - height);
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
IsValidUtf8TestUtil.java | 248 Random rnd = new Random(); 278 int i = rnd.nextInt(numBytes); 279 int j = rnd.nextInt(numBytes);
|
/external/tensorflow/tensorflow/core/framework/ |
rendezvous_test.cc | 173 random::SimplePhilox rnd(&philox); 177 int micros = 100 + rnd.Uniform(1000); 201 micros = 100 + rnd.Uniform(1000);
|
/libcore/ojluni/src/main/java/java/util/ |
Random.java | 129 * Random rnd = new Random(); 130 * rnd.setSeed(seed);}</pre> 218 * for (int rnd = nextInt(), n = Math.min(bytes.length - i, 4); 219 * n-- > 0; rnd >>= 8) 220 * bytes[i++] = (byte)rnd; 229 for (int rnd = nextInt(), 231 n-- > 0; rnd >>= Byte.SIZE) 232 bytes[i++] = (byte)rnd; [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/include/ |
mpc.h | 255 mpc_set_fr_z (mpc_t rop, mpfr_t x, mpz_t y, mpc_rnd_t rnd) 256 MPC_SET_X_Y (fr, z, rop, x, y, rnd) 261 #define MPC_SET_X_Y(real_t, imag_t, z, real_value, imag_value, rnd) \ 264 _inex_re = (mpfr_set_ ## real_t) (mpc_realref (z), (real_value), MPC_RND_RE (rnd)); \ 265 _inex_im = (mpfr_set_ ## imag_t) (mpc_imagref (z), (imag_value), MPC_RND_IM (rnd)); \
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/include/ |
mpc.h | 255 mpc_set_fr_z (mpc_t rop, mpfr_t x, mpz_t y, mpc_rnd_t rnd) 256 MPC_SET_X_Y (fr, z, rop, x, y, rnd) 261 #define MPC_SET_X_Y(real_t, imag_t, z, real_value, imag_value, rnd) \ 264 _inex_re = (mpfr_set_ ## real_t) (mpc_realref (z), (real_value), MPC_RND_RE (rnd)); \ 265 _inex_im = (mpfr_set_ ## imag_t) (mpc_imagref (z), (imag_value), MPC_RND_IM (rnd)); \
|
/external/boringssl/src/include/openssl/ |
bn.h | 596 // BN_rand sets |rnd| to a random number of length |bits|. It returns one on 602 // action will be taken and |BN_num_bits(rnd)| may not equal |bits| if the most 608 OPENSSL_EXPORT int BN_rand(BIGNUM *rnd, int bits, int top, int bottom); 611 OPENSSL_EXPORT int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom); 615 OPENSSL_EXPORT int BN_rand_range(BIGNUM *rnd, const BIGNUM *range); 617 // BN_rand_range_ex sets |rnd| to a random value in 624 OPENSSL_EXPORT int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range); [all...] |
/external/deqp/modules/gles2/functional/ |
es2fBufferTestUtil.cpp | 549 de::Random rnd (0xabc231); 555 i->x() = rnd.getFloat(minVal, maxVal); 556 i->y() = rnd.getFloat(minVal, maxVal); 557 i->z() = rnd.getFloat(minVal, maxVal);
|
es2fFboRenderTest.cpp | 567 deRandom rnd; local 568 deRandom_init(&rnd, deStringHash(getName())); 574 int x = deRandom_getUint32(&rnd) % xMax; 575 int y = deRandom_getUint32(&rnd) % yMax; 663 deRandom rnd; local 665 deRandom_init(&rnd, 0); 683 int cX = (int)(deRandom_getUint32(&rnd) & 0x7fffffff) % width; 684 int cY = (int)(deRandom_getUint32(&rnd) & 0x7fffffff) % height; 685 int cWidth = (int)(deRandom_getUint32(&rnd) & 0x7fffffff) % (width-cX); 686 int cHeight = (int)(deRandom_getUint32(&rnd) & 0x7fffffff) % (height-cY) [all...] |
es2fRandomFragmentOpTests.cpp | 298 de::Random rnd (iterSeed); 302 const int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-width); 303 const int viewportY = rnd.getInt(0, m_context.getRenderTarget().getHeight()-height); 318 computeRandomRenderCommands(rnd, glu::ApiType::es(2,0), NUM_CALLS_PER_ITERATION, width, height, commands);
|
es2fRasterizationTests.cpp | [all...] |
es2fTextureMipmapTests.cpp | 551 static void randomPartition (vector<IVec4>& dst, de::Random& rnd, int x, int y, int width, int height) 556 bool partition = rnd.getFloat() > 0.4f; 557 bool partitionX = partition && width > minWidth && rnd.getBool(); 562 int split = width/2 + rnd.getInt(-width/4, +width/4); 563 randomPartition(dst, rnd, x, y, split, height); 564 randomPartition(dst, rnd, x+split, y, width-split, height); 568 int split = height/2 + rnd.getInt(-height/4, +height/4); 569 randomPartition(dst, rnd, x, y, width, split); 570 randomPartition(dst, rnd, x, y+split, width, height-split); 578 de::Random rnd(7) [all...] |
/external/deqp/modules/gles3/functional/ |
es3fRandomFragmentOpTests.cpp | 298 de::Random rnd (iterSeed); 302 const int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-width); 303 const int viewportY = rnd.getInt(0, m_context.getRenderTarget().getHeight()-height); 318 computeRandomRenderCommands(rnd, glu::ApiType::es(3,0), NUM_CALLS_PER_ITERATION, width, height, commands);
|
es3fRasterizerDiscardTests.cpp | 127 static void generateVertices (std::vector<float>& dst, int numPrimitives, de::Random& rnd, deUint32 drawMode) 149 dst[i*4 ] = rnd.getFloat(-1.0f, 1.0f); // x 150 dst[i*4 + 1] = rnd.getFloat(-1.0f, 1.0f); // y 151 dst[i*4 + 2] = rnd.getFloat( 0.1f, 0.9f); // z
|
es3fTextureWrapTests.cpp | 221 de::Random rnd (deStringHash(getName())); 224 data[i] = rnd.getUint32() & 0xff; 252 de::Random rnd (deStringHash(getName())); 256 deMemcpy(&data[i*BLOCK_SIZE], &blocks[rnd.getInt(0, DE_LENGTH_OF_ARRAY(blocks)-1)][0], BLOCK_SIZE);
|
/external/eigen/lapack/ |
dlamch.f | 33 *> = 'R' or 'r', DLAMCH := rnd 44 *> rnd = 1.0 when rounding occurs in addition, 0.0 otherwise 82 DOUBLE PRECISION RND, EPS, SFMIN, SMALL, RMACH 97 RND = ONE 99 IF( ONE.EQ.RND ) THEN 125 RMACH = RND
|
slamch.f | 37 *> = 'R' or 'r', SLAMCH := rnd 48 *> rnd = 1.0 when rounding occurs in addition, 0.0 otherwise 86 REAL RND, EPS, SFMIN, SMALL, RMACH 101 RND = ONE 103 IF( ONE.EQ.RND ) THEN 129 RMACH = RND
|
/external/libvpx/libvpx/test/ |
test_intra_pred_speed.cc | 44 libvpx_test::ACMRandom rnd(libvpx_test::ACMRandom::DeterministicSeed()); 47 for (int i = 0; i < kTotalPixels; ++i) ref_src[i] = rnd.Rand16() & mask; 48 for (int i = 0; i < kBPS; ++i) left[i] = rnd.Rand16() & mask; 49 for (int i = -1; i < kBPS; ++i) above[i] = rnd.Rand16() & mask;
|
/external/mesa3d/src/mesa/math/ |
m_debug_util.h | 265 static GLfloat rnd( void ) function
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
DessertCaseView.java | 355 final float rnd = frand(); 363 if (rnd < PROB_4X) { 367 } else if (rnd < PROB_3X) { 371 } else if (rnd < PROB_2X) {
|