/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashTestUtils.java | 92 @Override void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_BOOLEAN() argument 93 boolean value = random.nextBoolean(); in PUT_BOOLEAN() 100 @Override void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_BYTE() argument 101 int value = random.nextInt(); in PUT_BYTE() 108 @Override void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_SHORT() argument 109 short value = (short) random.nextInt(); in PUT_SHORT() 116 @Override void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_CHAR() argument 117 char value = (char) random.nextInt(); in PUT_CHAR() 124 @Override void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { in PUT_INT() argument 125 int value = random.nextInt(); in PUT_INT() [all …]
|
/external/skia/src/gpu/ |
D | GrTestUtils.cpp | 17 static const SkMatrix& test_matrix(SkRandom* random, bool includePerspective) { in test_matrix() argument 38 return gMatrices[random->nextULessThan(count)]; in test_matrix() 40 return gMatrices[random->nextULessThan(count - kPerspectiveCount)]; in test_matrix() 45 const SkMatrix& TestMatrix(SkRandom* random) { return test_matrix(random, true); } in TestMatrix() argument 47 const SkMatrix& TestMatrixPreservesRightAngles(SkRandom* random) { in TestMatrixPreservesRightAngles() argument 70 return gMatrices[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gMatrices)))]; in TestMatrixPreservesRightAngles() 73 const SkMatrix& TestMatrixRectStaysRect(SkRandom* random) { in TestMatrixRectStaysRect() argument 96 return gMatrices[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gMatrices)))]; in TestMatrixRectStaysRect() 99 const SkMatrix& TestMatrixInvertible(SkRandom* random) { return test_matrix(random, false); } in TestMatrixInvertible() argument 101 const SkRect& TestRect(SkRandom* random) { in TestRect() argument [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
D | BitsStreamGenerator.java | 17 package org.apache.commons.math.random; 69 final int random = next(32); in nextBytes() local 70 bytes[i] = (byte) (random & 0xff); in nextBytes() 71 bytes[i + 1] = (byte) ((random >> 8) & 0xff); in nextBytes() 72 bytes[i + 2] = (byte) ((random >> 16) & 0xff); in nextBytes() 73 bytes[i + 3] = (byte) ((random >> 24) & 0xff); in nextBytes() 76 int random = next(32); in nextBytes() local 78 bytes[i++] = (byte) (random & 0xff); in nextBytes() 79 random = random >> 8; in nextBytes() 98 final double random; in nextGaussian() local [all …]
|
/external/eigen/test/ |
D | product_large.cpp | 15 …CALL_SUBTEST_1( product(MatrixXf(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<in… in test_product_large() 16 …CALL_SUBTEST_2( product(MatrixXd(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<in… in test_product_large() 17 …CALL_SUBTEST_3( product(MatrixXi(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<in… in test_product_large() 18 …CALL_SUBTEST_4( product(MatrixXcf(internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2), internal::random… in test_product_large() 19 …(Matrix<float,Dynamic,Dynamic,RowMajor>(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::ra… in test_product_large() 41 std::ptrdiff_t l1 = internal::random<int>(10000,20000); in test_product_large() 42 std::ptrdiff_t l2 = internal::random<int>(1000000,2000000); in test_product_large() 46 std::ptrdiff_t k1 = internal::random<int>(10,100)*16; in test_product_large() 47 std::ptrdiff_t m1 = internal::random<int>(10,100)*16; in test_product_large() 48 std::ptrdiff_t n1 = internal::random<int>(10,100)*16; in test_product_large()
|
D | linearstructure.cpp | 30 Scalar s1 = internal::random<Scalar>(); in linearStructure() 31 while (abs(s1)<1e-3) s1 = internal::random<Scalar>(); in linearStructure() 33 Index r = internal::random<Index>(0, rows-1), in linearStructure() 34 c = internal::random<Index>(0, cols-1); in linearStructure() 78 …L_SUBTEST_5( linearStructure(MatrixXcf(internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2), internal::r… in test_linearstructure() 79 …LL_SUBTEST_6( linearStructure(MatrixXf (internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::ra… in test_linearstructure() 80 …LL_SUBTEST_7( linearStructure(MatrixXi (internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::ra… in test_linearstructure() 81 …L_SUBTEST_8( linearStructure(MatrixXcd(internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2), internal::r… in test_linearstructure() 82 …LL_SUBTEST_9( linearStructure(ArrayXXf (internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::ra… in test_linearstructure()
|
D | mapstride.cpp | 126 CALL_SUBTEST_4( map_class_vector<Aligned>(VectorXcf(internal::random<int>(1,maxn))) ); in test_mapstride() 127 CALL_SUBTEST_4( map_class_vector<Unaligned>(VectorXcf(internal::random<int>(1,maxn))) ); in test_mapstride() 128 CALL_SUBTEST_5( map_class_vector<Aligned>(VectorXi(internal::random<int>(1,maxn))) ); in test_mapstride() 129 CALL_SUBTEST_5( map_class_vector<Unaligned>(VectorXi(internal::random<int>(1,maxn))) ); in test_mapstride() 139 …_SUBTEST_4( map_class_matrix<Aligned>(MatrixXcf(internal::random<int>(1,maxn),internal::random<int… in test_mapstride() 140 …UBTEST_4( map_class_matrix<Unaligned>(MatrixXcf(internal::random<int>(1,maxn),internal::random<int… in test_mapstride() 141 …L_SUBTEST_5( map_class_matrix<Aligned>(MatrixXi(internal::random<int>(1,maxn),internal::random<int… in test_mapstride() 142 …SUBTEST_5( map_class_matrix<Unaligned>(MatrixXi(internal::random<int>(1,maxn),internal::random<int… in test_mapstride() 143 …_SUBTEST_6( map_class_matrix<Aligned>(MatrixXcd(internal::random<int>(1,maxn),internal::random<int… in test_mapstride() 144 …UBTEST_6( map_class_matrix<Unaligned>(MatrixXcd(internal::random<int>(1,maxn),internal::random<int… in test_mapstride()
|
D | product_symm.cpp | 33 Scalar s1 = internal::random<Scalar>(), in symm() 34 s2 = internal::random<Scalar>(); in symm() 84 …_SUBTEST_1(( symm<float,Dynamic,Dynamic>(internal::random<int>(1,EIGEN_TEST_MAX_SIZE),internal::ra… in test_product_symm() 85 …SUBTEST_2(( symm<double,Dynamic,Dynamic>(internal::random<int>(1,EIGEN_TEST_MAX_SIZE),internal::ra… in test_product_symm() 86 …mm<std::complex<float>,Dynamic,Dynamic>(internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2),internal::r… in test_product_symm() 87 …m<std::complex<double>,Dynamic,Dynamic>(internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2),internal::r… in test_product_symm() 89 CALL_SUBTEST_5(( symm<float,Dynamic,1>(internal::random<int>(1,EIGEN_TEST_MAX_SIZE)) )); in test_product_symm() 90 CALL_SUBTEST_6(( symm<double,Dynamic,1>(internal::random<int>(1,EIGEN_TEST_MAX_SIZE)) )); in test_product_symm() 91 …CALL_SUBTEST_7(( symm<std::complex<float>,Dynamic,1>(internal::random<int>(1,EIGEN_TEST_MAX_SIZE))… in test_product_symm() 92 …CALL_SUBTEST_8(( symm<std::complex<double>,Dynamic,1>(internal::random<int>(1,EIGEN_TEST_MAX_SIZE)… in test_product_symm()
|
/external/autotest/client/site_tests/graphics_dEQP/expectations/rogue/ |
D | dEQP-GLES2.stress.NotSupported.bz2 | ... texture_512x512_rgba_write_use
33dEQP-GLES2.stress.memory.random.buffer_large_no_write_no_use
34dEQP-GLES2.stress.memory ... |
D | dEQP-GLES2.stress.CompatibilityWarning.bz2 | ... dEQP-GLES2.stress.draw.unaligned_data.random.11
3dEQP-GLES2.stress.draw ... |
/external/autotest/client/site_tests/graphics_dEQP/expectations/broadwell/ |
D | dEQP-GLES2.functional.hasty.Flaky.bz2 | ... dEQP-GLES2.functional.buffer.write.random.0
27dEQP-GLES2.functional.buffer ... |
D | dEQP-GLES2.functional.Fail.bz2 | ... dEQP-GLES2.functional.fragment_ops.depth_stencil.random.0
70dEQP-GLES2.functional.fragment_ops ... |
/external/skia/include/gpu/ |
D | GrTestUtils.h | 43 static inline GrColor GrRandomColor(SkRandom* random) { in GrRandomColor() argument 53 ColorMode colorMode = ColorMode(random->nextULessThan(kLast_ColorMode + 1)); in GrRandomColor() 63 color = GrColorPackRGBA(random->nextULessThan(256), in GrRandomColor() 64 random->nextULessThan(256), in GrRandomColor() 65 random->nextULessThan(256), in GrRandomColor() 69 uint8_t alpha = random->nextULessThan(256); in GrRandomColor() 70 color = GrColorPackRGBA(random->nextRangeU(0, alpha), in GrRandomColor() 71 random->nextRangeU(0, alpha), in GrRandomColor() 72 random->nextRangeU(0, alpha), in GrRandomColor() 81 static inline uint8_t GrRandomCoverage(SkRandom* random) { in GrRandomCoverage() argument [all …]
|
/external/autotest/client/site_tests/graphics_dEQP/expectations/sandybridge/ |
D | dEQP-GLES2.functional.Fail.bz2 | ... dEQP-GLES2.functional.fragment_ops.depth_stencil.random.0
70dEQP-GLES2.functional.fragment_ops ... |
/external/autotest/client/site_tests/graphics_dEQP/expectations/haswell/ |
D | dEQP-GLES2.functional.Fail.bz2 |
|
/external/autotest/client/site_tests/graphics_dEQP/expectations/ivybridge/ |
D | dEQP-GLES2.functional.Fail.bz2 | ... dEQP-GLES2.functional.fragment_ops.depth_stencil.random.0
70dEQP-GLES2.functional.fragment_ops ... |
/external/autotest/client/site_tests/graphics_dEQP/expectations/baytrail/ |
D | dEQP-GLES2.functional.Fail.bz2 | ... dEQP-GLES2.functional.fragment_ops.depth_stencil.random.0
70dEQP-GLES2.functional.fragment_ops ... |
/external/autotest/client/site_tests/graphics_dEQP/expectations/skylake/ |
D | dEQP-GLES2.functional.Fail.bz2 | ... dEQP-GLES2.functional.fragment_ops.depth_stencil.random.0
70dEQP-GLES2.functional.fragment_ops ... |
/external/autotest/client/site_tests/graphics_dEQP/expectations/braswell/ |
D | dEQP-GLES2.functional.Fail.bz2 | ... dEQP-GLES2.functional.fragment_ops.depth_stencil.random.0
70dEQP-GLES2.functional.fragment_ops ... |
/external/skia/src/gpu/batches/ |
D | GrDrawAtlasBatch.cpp | 202 static SkRSXform random_xform(SkRandom* random) { in random_xform() argument 210 SkRSXform xform = SkRSXform::MakeFromRadians(random->nextRangeScalar(kMinScale, kMaxScale), in random_xform() 211 random->nextRangeScalar(kMinRotate, kMaxRotate), in random_xform() 212 random->nextRangeScalar(kMinExtent, kMaxExtent), in random_xform() 213 random->nextRangeScalar(kMinExtent, kMaxExtent), in random_xform() 214 random->nextRangeScalar(kMinExtent, kMaxExtent), in random_xform() 215 random->nextRangeScalar(kMinExtent, kMaxExtent)); in random_xform() 219 static SkRect random_texRect(SkRandom* random) { in random_texRect() argument 223 SkRect texRect = SkRect::MakeLTRB(random->nextRangeScalar(kMinCoord, kMaxCoord), in random_texRect() 224 random->nextRangeScalar(kMinCoord, kMaxCoord), in random_texRect() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
D | AlgorithmParameterGeneratorSpi.java | 19 protected SecureRandom random; field in AlgorithmParameterGeneratorSpi 25 SecureRandom random) in engineInit() argument 43 this.random = random; in engineInit() 48 SecureRandom random) in engineInit() argument 67 if (random == null) in engineGenerateParameters() 69 random = new SecureRandom(); in engineGenerateParameters() 74 params = new DSAParameterGenerationParameters(1024, 160, 80, random); in engineGenerateParameters() 79 params = new DSAParameterGenerationParameters(strength, 256, 80, random); in engineGenerateParameters() 84 pGen.init(strength, 20, random); in engineGenerateParameters()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
D | AlgorithmParameterGeneratorSpi.java | 18 protected SecureRandom random; field in AlgorithmParameterGeneratorSpi 25 SecureRandom random) in engineInit() argument 28 this.random = random; in engineInit() 33 SecureRandom random) in engineInit() argument 44 this.random = random; in engineInit() 51 if (random != null) in engineGenerateParameters() 53 pGen.init(strength, 20, random); in engineGenerateParameters()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
D | KeyPairGeneratorSpi.java | 49 SecureRandom random = new SecureRandom(); field in KeyPairGeneratorSpi.EC 86 SecureRandom random) in initialize() argument 90 if (random != null) { in initialize() 92 this.random = random; in initialize() 105 initialize(ecParams, random); in initialize() 115 SecureRandom random) in initialize() argument 119 if (random == null) { in initialize() 120 random = this.random; in initialize() 132 this.param = createKeyGenParamsBC(implicitCA, random); in initialize() 137 this.param = createKeyGenParamsBC((ECParameterSpec)params, random); in initialize() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
D | DSAParameterGenerationParameters.java | 14 private final SecureRandom random; field in DSAParameterGenerationParameters 28 SecureRandom random) in DSAParameterGenerationParameters() argument 30 this(L, N, certainty, random, -1); in DSAParameterGenerationParameters() 46 SecureRandom random, in DSAParameterGenerationParameters() argument 53 this.random = random; in DSAParameterGenerationParameters() 73 return random; in getRandom()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/ |
D | ISO10126d2Padding.java | 13 SecureRandom random; field in ISO10126d2Padding 20 public void init(SecureRandom random) in init() argument 23 if (random != null) in init() 25 this.random = random; in init() 29 this.random = new SecureRandom(); in init() 55 in[inOff] = (byte)random.nextInt(); in addPadding()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | BaseKeyGenerator.java | 37 SecureRandom random) in engineInit() argument 44 SecureRandom random) in engineInit() argument 46 if (random != null) in engineInit() 48 engine.init(new KeyGenerationParameters(random, defaultKeySize)); in engineInit() 55 SecureRandom random) in engineInit() argument 59 if (random == null) in engineInit() 61 random = new SecureRandom(); in engineInit() 63 engine.init(new KeyGenerationParameters(random, keySize)); in engineInit()
|