Home
last modified time | relevance | path

Searched refs:Random (Results 1 – 25 of 699) sorted by relevance

12345678910>>...28

/external/deqp/framework/delibs/decpp/
DdeRandom.cpp39 bool Random::operator== (const Random& other) const in operator ==()
44 bool Random::operator!= (const Random& other) const in operator !=()
55 Random rnd(4789); in Random_selfTest()
64 Random rnd(4789); in Random_selfTest()
73 Random rnd(4789); in Random_selfTest()
82 Random rnd(4789); in Random_selfTest()
92 Random rnd(4789); in Random_selfTest()
102 Random rnd(4789); in Random_selfTest()
125 Random rnd(4789); in Random_selfTest()
141 Random rnd(4789); in Random_selfTest()
[all …]
DdeRandom.hpp38 class Random class
41 Random (deUint32 seed) { deRandom_init(&m_rnd, seed); } in Random() function in de::Random
42 ~Random (void) {} in ~Random()
70 bool operator== (const Random& other) const;
71 bool operator!= (const Random& other) const;
79 inline float Random::getFloat (float min, float max) in getFloat()
85 inline double Random::getDouble (double min, double max) in getDouble()
91 inline int Random::getInt (int min, int max) in getInt()
103 void Random::choose (InputIter first, InputIter last, OutputIter result, int numItems) in choose()
126 T Random::choose (InputIter first, InputIter last) in choose()
[all …]
/external/eigen/test/
Dconservative_resize.cpp25 m = n = MatrixType::Random(50,50); in run_matrix_tests()
29 m = n = MatrixType::Random(50,50); in run_matrix_tests()
33 m = n = MatrixType::Random(50,50); in run_matrix_tests()
42 m = n = MatrixType::Random(50,50); in run_matrix_tests()
52 m = n = MatrixType::Random(50,50); in run_matrix_tests()
68 m = n = VectorType::Random(50); in run_vector_tests()
72 m = n = VectorType::Random(50); in run_vector_tests()
76 m = n = VectorType::Random(50); in run_vector_tests()
80 m = n = VectorType::Random(50); in run_vector_tests()
88 m = n = VectorType::Random(50); in run_vector_tests()
[all …]
Dgeo_orthomethods.cpp27 Vector3 v0 = Vector3::Random(), in orthomethods_3()
28 v1 = Vector3::Random(), in orthomethods_3()
29 v2 = Vector3::Random(); in orthomethods_3()
45 Vector3 vec3 = Vector3::Random(); in orthomethods_3()
54 Vector4 v40 = Vector4::Random(), in orthomethods_3()
55 v41 = Vector4::Random(), in orthomethods_3()
56 v42 = Vector4::Random(); in orthomethods_3()
63 RealVector3 rv1 = RealVector3::Random(); in orthomethods_3()
76 VectorType v0 = VectorType::Random(size); in orthomethods()
92 Vector3 vec3 = Vector3::Random(); in orthomethods()
Dgeo_hyperplane.cpp29 VectorType p0 = VectorType::Random(dim); in hyperplane()
30 VectorType p1 = VectorType::Random(dim); in hyperplane()
32 VectorType n0 = VectorType::Random(dim).normalized(); in hyperplane()
33 VectorType n1 = VectorType::Random(dim).normalized(); in hyperplane()
52 MatrixType rot = MatrixType::Random(dim,dim).householderQr().householderQ(); in hyperplane()
53 DiagonalMatrix<Scalar,HyperplaneType::AmbientDimAtCompileTime> scaling(VectorType::Random()); in hyperplane()
54 Translation<Scalar,HyperplaneType::AmbientDimAtCompileTime> translation(VectorType::Random()); in hyperplane()
89 Vector center = Vector::Random(); in lines()
90 Vector u = Vector::Random(); in lines()
91 Vector v = Vector::Random(); in lines()
[all …]
Dnesting_ops.cpp29 CALL_SUBTEST_1(run_nesting_ops(MatrixXf::Random(25,25))); in test_nesting_ops()
30 CALL_SUBTEST_2(run_nesting_ops(MatrixXd::Random(25,25))); in test_nesting_ops()
31 CALL_SUBTEST_3(run_nesting_ops(Matrix4f::Random())); in test_nesting_ops()
32 CALL_SUBTEST_4(run_nesting_ops(Matrix4d::Random())); in test_nesting_ops()
Dproduct_selfadjoint.cpp24 MatrixType m1 = MatrixType::Random(rows, cols), in product_selfadjoint()
25 m2 = MatrixType::Random(rows, cols), in product_selfadjoint()
27 VectorType v1 = VectorType::Random(rows), in product_selfadjoint()
28 v2 = VectorType::Random(rows), in product_selfadjoint()
30 RowVectorType r1 = RowVectorType::Random(rows), in product_selfadjoint()
31 r2 = RowVectorType::Random(rows); in product_selfadjoint()
32 RhsMatrixType m4 = RhsMatrixType::Random(rows,10); in product_selfadjoint()
Dgeo_homogeneous.cpp29 VectorType v0 = VectorType::Random(), in homogeneous()
32 HVectorType hv0 = HVectorType::Random(); in homogeneous()
34 MatrixType m0 = MatrixType::Random(); in homogeneous()
36 HMatrixType hm0 = HMatrixType::Random(); in homogeneous()
50 T1MatrixType t1 = T1MatrixType::Random(); in homogeneous()
54 T2MatrixType t2 = T2MatrixType::Random(); in homogeneous()
64 T3MatrixType t3 = T3MatrixType::Random(); in homogeneous()
Dqr.cpp23 MatrixType a = MatrixType::Random(rows,cols); in qr()
37 Matrix<Scalar,Rows,Cols> m1 = Matrix<Scalar,Rows,Cols>::Random(); in qr_fixedsize()
46 Matrix<Scalar,Cols,Cols2> m2 = Matrix<Scalar,Cols,Cols2>::Random(Cols,Cols2); in qr_fixedsize()
48 m2 = Matrix<Scalar,Cols,Cols2>::Random(Cols,Cols2); in qr_fixedsize()
63 m1 = MatrixType::Random(size,size); in qr_invertible()
68 MatrixType a = MatrixType::Random(size,size*2); in qr_invertible()
73 m3 = MatrixType::Random(size,size); in qr_invertible()
/external/deqp/framework/common/
DtcuRandomValueIterator.hpp33 T getRandomValue (de::Random& rnd) in getRandomValue()
48 template <> inline deUint8 getRandomValue<deUint8> (de::Random& rnd) { return (deUint8)rnd.getUint… in getRandomValue()
49 template <> inline deUint16 getRandomValue<deUint16> (de::Random& rnd) { return (deUint16)rnd.getUi… in getRandomValue()
50 template <> inline deUint32 getRandomValue<deUint32> (de::Random& rnd) { return rnd.getUint32(); … in getRandomValue()
51 template <> inline deUint64 getRandomValue<deUint64> (de::Random& rnd) { return rnd.getUint64(); … in getRandomValue()
52 template <> inline deInt8 getRandomValue<deInt8> (de::Random& rnd) { return (deInt8)rnd.getUint32(… in getRandomValue()
53 template <> inline deInt16 getRandomValue<deInt16> (de::Random& rnd) { return (deInt16)rnd.getUint… in getRandomValue()
54 template <> inline deInt32 getRandomValue<deInt32> (de::Random& rnd) { return (deInt32)rnd.getUint… in getRandomValue()
55 template <> inline deInt64 getRandomValue<deInt64> (de::Random& rnd) { return (deInt64)rnd.getUint… in getRandomValue()
75 de::Random m_rnd;
/external/guava/guava-tests/test/com/google/common/hash/
DHashTestUtils.java12 import java.util.Random;
86 @Override void performAction(Random random, Iterable<? extends Sink> sinks) { in PUT_BOOLEAN()
94 @Override void performAction(Random random, Iterable<? extends Sink> sinks) { in PUT_BYTE()
102 @Override void performAction(Random random, Iterable<? extends Sink> sinks) { in PUT_SHORT()
110 @Override void performAction(Random random, Iterable<? extends Sink> sinks) { in PUT_CHAR()
118 @Override void performAction(Random random, Iterable<? extends Sink> sinks) { in PUT_INT()
126 @Override void performAction(Random random, Iterable<? extends Sink> sinks) { in PUT_LONG()
134 @Override void performAction(Random random, Iterable<? extends Sink> sinks) { in PUT_FLOAT()
142 @Override void performAction(Random random, Iterable<? extends Sink> sinks) { in PUT_DOUBLE()
150 @Override void performAction(Random random, Iterable<? extends Sink> sinks) { in PUT_BYTES()
[all …]
DHashingTest.java27 import java.util.Random;
45 Random r = new Random(7); in testConsistentHash_correctness()
64 Random r = new Random(9); in testConsistentHash_probabilities()
144 Random random = new Random(7); in testCombineOrdered_randomHashCodes()
193 Random random = new Random(); in testCombineUnordered_randomHashCodes()
/external/eigen/test/eigen2/
Deigen2_hyperplane.cpp29 VectorType p0 = VectorType::Random(dim); in hyperplane()
30 VectorType p1 = VectorType::Random(dim); in hyperplane()
32 VectorType n0 = VectorType::Random(dim).normalized(); in hyperplane()
33 VectorType n1 = VectorType::Random(dim).normalized(); in hyperplane()
52 MatrixType rot = MatrixType::Random(dim,dim).qr().matrixQ(); in hyperplane()
53 Scaling<Scalar,HyperplaneType::AmbientDimAtCompileTime> scaling(VectorType::Random()); in hyperplane()
54 Translation<Scalar,HyperplaneType::AmbientDimAtCompileTime> translation(VectorType::Random()); in hyperplane()
88 Vector center = Vector::Random(); in lines()
89 Vector u = Vector::Random(); in lines()
90 Vector v = Vector::Random(); in lines()
[all …]
Deigen2_nomalloc.cpp33 MatrixType m1 = MatrixType::Random(rows, cols), in nomalloc()
34 m2 = MatrixType::Random(rows, cols), in nomalloc()
40 ::Random(rows, rows); in nomalloc()
41 VectorType v1 = VectorType::Random(rows), in nomalloc()
42 v2 = VectorType::Random(rows), in nomalloc()
59 VERIFY_RAISES_ASSERT(MatrixXd dummy = MatrixXd::Random(3,3)); in test_eigen2_nomalloc()
Dproduct.h41 MatrixType m1 = MatrixType::Random(rows, cols), in product()
42 m2 = MatrixType::Random(rows, cols), in product()
47 square = RowSquareMatrixType::Random(rows, rows), in product()
48 res = RowSquareMatrixType::Random(rows, rows); in product()
50 square2 = ColSquareMatrixType::Random(cols, cols), in product()
51 res2 = ColSquareMatrixType::Random(cols, cols); in product()
52 RowVectorType v1 = RowVectorType::Random(rows), in product()
53 v2 = RowVectorType::Random(rows), in product()
55 ColVectorType vc2 = ColVectorType::Random(cols), vcres(cols); in product()
Deigen2_adjoint.cpp29 MatrixType m1 = MatrixType::Random(rows, cols), in adjoint()
30 m2 = MatrixType::Random(rows, cols), in adjoint()
34 square = SquareMatrixType::Random(rows, rows); in adjoint()
35 VectorType v1 = VectorType::Random(rows), in adjoint()
36 v2 = VectorType::Random(rows), in adjoint()
37 v3 = VectorType::Random(rows), in adjoint()
76 VERIFY_IS_APPROX(VectorType::Random(rows).normalized().norm(), RealScalar(1)); in adjoint()
Deigen2_lu.cpp45 m1 = MatrixType::Random(rows,cols); in lu_non_invertible()
66 m2 = MatrixType::Random(cols,cols2); in lu_non_invertible()
68 m2 = MatrixType::Random(cols,cols2); in lu_non_invertible()
86 m1 = MatrixType::Random(size,size); in lu_invertible()
91 MatrixType a = MatrixType::Random(size,size*2); in lu_invertible()
102 m3 = MatrixType::Random(size,size); in lu_invertible()
106 m3 = MatrixType::Random(size,size); in lu_invertible()
/external/eigen/unsupported/test/
Dalignedvector3.cpp21 RefType r1(RefType::Random()), r2(RefType::Random()), r3(RefType::Random()), in alignedvector3()
22 r4(RefType::Random()), r5(RefType::Random()), r6(RefType::Random()); in alignedvector3()
24 Mat33 m1(Mat33::Random()); in alignedvector3()
/external/skia/bench/
DRectoriBench.cpp28 SkRandom Random; in onDraw() local
31 SkScalar blurSigma = Random.nextRangeScalar(1.5f, 25.0f); in onDraw()
32 SkScalar size = Random.nextRangeScalar(20*blurSigma, 50*blurSigma); in onDraw()
34 SkScalar x = Random.nextRangeScalar(0.0f, W - size); in onDraw()
35 SkScalar y = Random.nextRangeScalar(0.0f, H - size); in onDraw()
55 paint.setColor(0xff000000 | Random.nextU()); in onDraw()
/external/chromium_org/third_party/skia/bench/
DRectoriBench.cpp28 SkRandom Random; in onDraw() local
31 SkScalar blurSigma = Random.nextRangeScalar(1.5f, 25.0f); in onDraw()
32 SkScalar size = Random.nextRangeScalar(20*blurSigma, 50*blurSigma); in onDraw()
34 SkScalar x = Random.nextRangeScalar(0.0f, W - size); in onDraw()
35 SkScalar y = Random.nextRangeScalar(0.0f, H - size); in onDraw()
55 paint.setColor(0xff000000 | Random.nextU()); in onDraw()
/external/chromium_org/third_party/re2/re2/testing/
Drandom_test.cc44 TEST(Random, SmallEgrepLiterals) { in TEST() argument
51 TEST(Random, BigEgrepLiterals) { in TEST() argument
59 TEST(Random, SmallEgrepCaptures) { in TEST() argument
67 TEST(Random, BigEgrepCaptures) { in TEST() argument
77 TEST(Random, Complicated) { in TEST() argument
/external/regex-re2/re2/testing/
Drandom_test.cc44 TEST(Random, SmallEgrepLiterals) { in TEST() argument
51 TEST(Random, BigEgrepLiterals) { in TEST() argument
59 TEST(Random, SmallEgrepCaptures) { in TEST() argument
67 TEST(Random, BigEgrepCaptures) { in TEST() argument
77 TEST(Random, Complicated) { in TEST() argument
/external/deqp/framework/randomshaders/
DrsgBinaryOps.hpp80 …void operator() (de::Random& rnd, float dstMin, float dstMax, float& aMin, float& aMax, float& bMi…
81 …void operator() (de::Random& rnd, int dstMin, int dstMax, int& aMin, int& aMax, int& bMin, int& bM…
82 …void operator() (de::Random&, bool, bool, bool&, bool&, bool&, bool&) const { DE_ASSERT(DE_FALSE);… in operator ()()
104 void operator() (de::Random& rnd, T dstMin, T dstMax, T& aMin, T& aMax, T& bMin, T& bMax) const;
126 void operator() (de::Random& rnd, T dstMin, T dstMax, T& aMin, T& aMax, T& bMin, T& bMax) const;
164 …void operator() (de::Random& rnd, bool dstMin, bool dstMax, T& aMin, T& aMax, T& bMin, T& bMax) co…
188 …void operator() (de::Random& rnd, bool dstMin, bool dstMax, T& aMin, T& aMax, T& bMin, T& bMax) co…
212 …void operator() (de::Random& rnd, bool dstMin, bool dstMax, T& aMin, T& aMax, T& bMin, T& bMax) co… in operator ()()
239 …void operator() (de::Random& rnd, bool dstMin, bool dstMax, T& aMin, T& aMax, T& bMin, T& bMax) co… in operator ()()
/external/deqp/modules/glshared/
DglsRandomUniformBlockCase.hpp32 class Random;
80 void generateBlock (de::Random& rnd, deUint32 layoutFlags);
81 void generateUniform (de::Random& rnd, ub::UniformBlock& block);
82 ub::VarType generateType (de::Random& rnd, int typeDepth, bool arrayOk);
/external/eigen/bench/
Dsparse_trisolver.cpp65 DenseVector b = DenseVector::Random(cols); in main()
66 DenseVector x = DenseVector::Random(cols); in main()
190 Matrix4f m = Matrix4f::Random(); in main()
191 Vector4f b = Vector4f::Random(); in main()
192 Vector4f x = Vector4f::Random(); in main()
205 Matrix4f m = Matrix4f::Random(); in main()
206 Vector4f b = Vector4f::Random(); in main()
207 Vector4f x = Vector4f::Random(); in main()

12345678910>>...28