Home
last modified time | relevance | path

Searched refs:seed_seq (Results 1 – 25 of 44) sorted by relevance

12

/third_party/abseil-cpp/absl/random/internal/
Dsalted_seed_seq_test.cc69 ConformsToInterface<std::seed_seq>(); in TEST()
72 ConformsToInterface<SaltedSeedSeq<std::seed_seq>>(); in TEST()
77 std::seed_seq seq(seed_values.begin(), seed_values.end()); in TEST()
91 std::seed_seq seq(std::begin(init), std::end(init)); in TEST()
94 SaltedSeedSeq<std::seed_seq> salted_seq = MakeSaltedSeedSeq(std::move(seq)); in TEST()
99 SaltedSeedSeq<std::seed_seq> salted_salted_seq = in TEST()
117 std::seed_seq seq(std::begin(seed_material), std::end(seed_material)); in TEST()
118 SaltedSeedSeq<std::seed_seq> salted_seq(std::begin(seed_material), in TEST()
138 SaltedSeedSeq<std::seed_seq> seq({1, 2, 3}); in TEST()
Dpcg_engine_test.cc53 std::seed_seq seq1{1, 2, 3, 4, 5, 6, 7}; in TYPED_TEST()
61 std::seed_seq seq2{rd(), rd(), rd()}; in TYPED_TEST()
197 std::seed_seq q{1, 2, 3}; in TYPED_TEST()
261 std::seed_seq seed_seq; in TYPED_TEST() local
262 engine_type engine(seed_seq); in TYPED_TEST()
263 engine.seed(seed_seq); in TYPED_TEST()
267 engine_type engine{std::seed_seq()}; in TYPED_TEST()
268 engine.seed(std::seed_seq()); in TYPED_TEST()
461 std::seed_seq seed_sequence{1, 2, 3}; in TEST()
612 std::seed_seq seed_sequence{1, 2, 3}; in TEST()
Dranden_engine_test.cc55 std::seed_seq seq1{1, 2, 3, 4, 5, 6, 7}; in TYPED_TEST()
63 std::seed_seq seq2{rd(), rd(), rd()}; in TYPED_TEST()
198 std::seed_seq q{1, 2, 3}; in TYPED_TEST()
262 std::seed_seq seed_seq; in TYPED_TEST() local
263 randen engine(seed_seq); in TYPED_TEST()
264 engine.seed(seed_seq); in TYPED_TEST()
268 randen engine{std::seed_seq()}; in TYPED_TEST()
269 engine.seed(std::seed_seq()); in TYPED_TEST()
593 std::seed_seq seed_sequence{1, 2, 3, 4, 5}; in TEST()
Dnonsecure_base_test.cc99 std::seed_seq q{1, 2, 3}; in TEST()
141 std::seed_seq seq; in TEST()
175 std::seed_seq seq; in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dsalted_seed_seq_test.cc69 ConformsToInterface<std::seed_seq>(); in TEST()
72 ConformsToInterface<SaltedSeedSeq<std::seed_seq>>(); in TEST()
77 std::seed_seq seq(seed_values.begin(), seed_values.end()); in TEST()
91 std::seed_seq seq(std::begin(init), std::end(init)); in TEST()
94 SaltedSeedSeq<std::seed_seq> salted_seq = MakeSaltedSeedSeq(std::move(seq)); in TEST()
99 SaltedSeedSeq<std::seed_seq> salted_salted_seq = in TEST()
117 std::seed_seq seq(std::begin(seed_material), std::end(seed_material)); in TEST()
118 SaltedSeedSeq<std::seed_seq> salted_seq(std::begin(seed_material), in TEST()
138 SaltedSeedSeq<std::seed_seq> seq({1, 2, 3}); in TEST()
Dpcg_engine_test.cc53 std::seed_seq seq1{1, 2, 3, 4, 5, 6, 7}; in TYPED_TEST()
61 std::seed_seq seq2{rd(), rd(), rd()}; in TYPED_TEST()
197 std::seed_seq q{1, 2, 3}; in TYPED_TEST()
261 std::seed_seq seed_seq; in TYPED_TEST() local
262 engine_type engine(seed_seq); in TYPED_TEST()
263 engine.seed(seed_seq); in TYPED_TEST()
267 engine_type engine{std::seed_seq()}; in TYPED_TEST()
268 engine.seed(std::seed_seq()); in TYPED_TEST()
461 std::seed_seq seed_sequence{1, 2, 3}; in TEST()
612 std::seed_seq seed_sequence{1, 2, 3}; in TEST()
Dranden_engine_test.cc55 std::seed_seq seq1{1, 2, 3, 4, 5, 6, 7}; in TYPED_TEST()
63 std::seed_seq seq2{rd(), rd(), rd()}; in TYPED_TEST()
198 std::seed_seq q{1, 2, 3}; in TYPED_TEST()
262 std::seed_seq seed_seq; in TYPED_TEST() local
263 randen engine(seed_seq); in TYPED_TEST()
264 engine.seed(seed_seq); in TYPED_TEST()
268 randen engine{std::seed_seq()}; in TYPED_TEST()
269 engine.seed(std::seed_seq()); in TYPED_TEST()
593 std::seed_seq seed_sequence{1, 2, 3, 4, 5}; in TEST()
Dnonsecure_base_test.cc99 std::seed_seq q{1, 2, 3}; in TEST()
141 std::seed_seq seq; in TEST()
175 std::seed_seq seq; in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dseed_sequences_test.cc28 absl::SeedSeq seed_seq({1, 2, 3}); in TEST() local
29 absl::BitGen bitgen(seed_seq); in TEST()
35 auto seed_seq = absl::CreateSeedSeqFrom(&engine); in TEST() local
36 absl::BitGen bitgen(seed_seq); in TEST()
41 auto seed_seq = absl::MakeSeedSeq(); in TEST() local
42 std::mt19937 random(seed_seq); in TEST()
Dseed_sequences.h55 using SeedSeq = random_internal::SaltedSeedSeq<std::seed_seq>;
Dexamples_test.cc90 std::seed_seq my_seed(std::begin(kData), std::end(kData)); in TEST()
/third_party/abseil-cpp/absl/random/
Dseed_sequences_test.cc28 absl::SeedSeq seed_seq({1, 2, 3}); in TEST() local
29 absl::BitGen bitgen(seed_seq); in TEST()
35 auto seed_seq = absl::CreateSeedSeqFrom(&engine); in TEST() local
36 absl::BitGen bitgen(seed_seq); in TEST()
41 auto seed_seq = absl::MakeSeedSeq(); in TEST() local
42 std::mt19937 random(seed_seq); in TEST()
Dseed_sequences.h55 using SeedSeq = random_internal::SaltedSeedSeq<std::seed_seq>;
Dexamples_test.cc90 std::seed_seq my_seed(std::begin(kData), std::end(kData)); in TEST()
/third_party/boost/boost/random/
Dseed_seq.hpp39 class seed_seq { class
44 seed_seq() {} in seed_seq() function in boost::random::seed_seq
48 seed_seq(const std::initializer_list<T>& il) : v(il.begin(), il.end()) {} in seed_seq() function in boost::random::seed_seq
52 seed_seq(Iter first, Iter last) : v(first, last) {} in seed_seq() function in boost::random::seed_seq
55 explicit seed_seq(const Range& range) in seed_seq() function in boost::random::seed_seq
/third_party/boost/libs/random/test/
Dtest_seed_seq.cpp40 boost::random::seed_seq seq; in BOOST_AUTO_TEST_CASE()
70 boost::random::seed_seq seq_r(data); in BOOST_AUTO_TEST_CASE()
85 boost::random::seed_seq seq_it(data.begin(), data.end()); in BOOST_AUTO_TEST_CASE()
101 boost::random::seed_seq seq_il = {2, 3, 4}; in BOOST_AUTO_TEST_CASE()
125 boost::random::seed_seq seq(data); in BOOST_AUTO_TEST_CASE()
Dtest_generator.ipp13 #include <boost/random/seed_seq.hpp>
128 boost::random::seed_seq q;
251 boost::random::seed_seq seed;
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dhash_generator_testing.cc45 RandomDeviceSeedSeq seed_seq; in GetSharedRng() local
46 return new std::mt19937_64(seed_seq); in GetSharedRng()
/third_party/abseil-cpp/absl/container/internal/
Dhash_generator_testing.cc45 RandomDeviceSeedSeq seed_seq; in GetSharedRng() local
46 return new std::mt19937_64(seed_seq); in GetSharedRng()
/third_party/boost/libs/beast/include/boost/beast/websocket/detail/
Dprng.ipp29 prng_seed(std::seed_seq* ss)
36 data(std::seed_seq* pss)
41 std::seed_seq ss{
Dprng.hpp32 prng_seed(std::seed_seq* ss = nullptr);
/third_party/boost/boost/beast/websocket/detail/
Dprng.ipp29 prng_seed(std::seed_seq* ss)
36 data(std::seed_seq* pss)
41 std::seed_seq ss{
Dprng.hpp32 prng_seed(std::seed_seq* ss = nullptr);
/third_party/boost/libs/beast/test/beast/websocket/
D_detail_prng.cpp24 std::seed_seq seq{{0xDEAD, 0xBEEF}}; in __anon743a0d0d0102()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DRandomNumberGenerator.cpp49 std::seed_seq SeedSeq(Data.begin(), Data.end()); in RandomNumberGenerator()

12