Home
last modified time | relevance | path

Searched refs:seed (Results 1 – 22 of 22) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.adapt/rand.adapt.disc/
Dseed_result_type.pass.cpp28 e2.seed(s); in test1()
41 e2.seed(s); in test2()
Dseed_sseq.pass.cpp28 e1.seed(sseq); in test1()
40 e1.seed(sseq); in test2()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.eng/rand.eng.mers/
Dseed_result_type.pass.cpp30 e2.seed(s); in test1()
43 e2.seed(s); in test2()
Dseed_sseq.pass.cpp30 e1.seed(sseq); in test1()
42 e1.seed(sseq); in test2()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.eng/rand.eng.sub/
Dseed_result_type.pass.cpp28 e2.seed(s); in test1()
41 e2.seed(s); in test2()
Dseed_sseq.pass.cpp28 e1.seed(sseq); in test1()
40 e1.seed(sseq); in test2()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.adapt/rand.adapt.ibits/
Dseed_result_type.pass.cpp28 e2.seed(s); in test1()
41 e2.seed(s); in test2()
Dseed_sseq.pass.cpp28 e1.seed(sseq); in test1()
40 e1.seed(sseq); in test2()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/functional/hash/
Dhash_fwd.hpp26 template <class T> void hash_combine(std::size_t& seed, T& v);
28 template <class T> void hash_combine(std::size_t& seed, T const& v);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.adapt/rand.adapt.shuf/
Dseed_result_type.pass.cpp28 e2.seed(s); in test1()
Dseed_sseq.pass.cpp28 e1.seed(sseq); in test1()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.eng/rand.eng.lcong/
Dseed_result_type.pass.cpp29 e2.seed(s); in test1()
Dseed_sseq.pass.cpp28 e1.seed(sseq); in main()
Ddefault.pass.cpp28 e2.seed(); in test1()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/impl/
Dframework.ipp431 unsigned int seed = static_cast<unsigned int>( std::time( 0 ) );
432 BOOST_TEST_MESSAGE( "Test cases order is shuffled using seed: " << seed );
433 std::srand( seed );
437 …BOOST_TEST_MESSAGE( "Test cases order is shuffled using seed: " << runtime_config::random_seed() );
Dunit_test_parameters.ipp285 … "Optionally allows to specify concrete seed for random number generator")
/ndk/sources/third_party/googletest/googletest/src/
Dgtest-internal-inl.h151 inline int GetNextRandomSeed(int seed) { in GetNextRandomSeed() argument
152 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) in GetNextRandomSeed()
153 << "Invalid random seed " << seed << " - must be in [1, " in GetNextRandomSeed()
155 const int next_seed = seed + 1; in GetNextRandomSeed()
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
Dgtest-internal.h669 explicit Random(UInt32 seed) : state_(seed) {} in Random() argument
671 void Reseed(UInt32 seed) { state_ = seed; } in Reseed() argument
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Drandom42 void seed(result_type s = default_seed);
43 template<class Sseq> void seed(Sseq& q);
102 void seed(result_type value = default_seed);
103 template<class Sseq> void seed(Sseq& q);
160 void seed(result_type value = default_seed);
161 template<class Sseq> void seed(Sseq& q);
211 void seed();
212 void seed(result_type s);
213 template<class Sseq> void seed(Sseq& q);
264 void seed();
[all …]
Dcstdlib47 void srand(unsigned int seed);
/ndk/sources/host-tools/nawk-20071023/
DFIXES737 restored srand behavior: it returns the current seed.
740 srand now returns previous seed value (0 to start).
907 srand returns seed value it's using.
/ndk/sources/third_party/googletest/googletest/test/
Dgtest_unittest.cc316 const int seed = GetRandomSeedFromFlag(0); in TEST() local
317 EXPECT_LE(1, seed); in TEST()
318 EXPECT_LE(seed, static_cast<int>(kMaxRandomSeed)); in TEST()