Home
last modified time | relevance | path

Searched refs:random_device (Results 1 – 25 of 54) sorted by relevance

123

/netbsd-src/external/apache2/llvm/dist/libcxx/src/
H A Drandom.cpp46 random_device::random_device(const string& __token) in random_device() function in random_device
52 random_device::~random_device() in ~random_device()
57 random_device::operator()() in operator ()()
69 random_device::random_device(const string& __token)
75 random_device::~random_device()
80 random_device::operator()()
87 random_device::random_device(const string& __token)
94 random_device::~random_device()
100 random_device::operator()()
124 random_device::random_device(const string& __token)
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/
H A Drandom.cc148 random_device::_M_init(const std::string& token) in _M_init()
302 random_device::_M_init_pretr1(const std::string& token) in _M_init_pretr1()
327 random_device::_M_init(const char* s, size_t len) in _M_init()
338 random_device::_M_fini() in _M_fini()
353 random_device::result_type
354 random_device::_M_getval() in _M_getval()
393 random_device::result_type
394 random_device::_M_getval_pretr1() in _M_getval_pretr1()
398 random_device::_M_getentropy() const noexcept in _M_getentropy()
H A Dcow-string-inst.cc42 random_device::_M_init(const std::string& token) in _M_init()
46 random_device::_M_init_pretr1(const std::string& token) in _M_init_pretr1()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/
H A Drandom.cc257 which_source(random_device::result_type (*func [[maybe_unused]])(void*), in which_source()
313 random_device::_M_init(const std::string& token) in _M_init()
507 random_device::_M_init_pretr1(const std::string& token) in _M_init_pretr1()
532 random_device::_M_init(const char* s, size_t len) in _M_init()
543 random_device::_M_fini() in _M_fini()
568 random_device::result_type
569 random_device::_M_getval() in _M_getval()
606 random_device::result_type
607 random_device::_M_getval_pretr1() in _M_getval_pretr1()
611 random_device::_M_getentropy() const noexcept in _M_getentropy()
H A Dcow-string-inst.cc42 random_device::_M_init(const std::string& token) in _M_init()
46 random_device::_M_init_pretr1(const std::string& token) in _M_init_pretr1()
/netbsd-src/lib/librumpuser/
H A Drumpuser_random.c59 static const char *random_device = "/dev/urandom"; variable
66 random_fd = open(random_device, O_RDONLY); in rumpuser__random_init()
/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/rands/seeding/
H A Drand_unix.c410 static struct random_device { struct
512 static int check_random_device(struct random_device * rd) in check_random_device()
530 struct random_device * rd = &random_devices[n]; in get_random_device()
559 struct random_device * rd = &random_devices[n]; in close_random_device()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/rand/
H A Drand_unix.c417 static struct random_device { struct
519 static int check_random_device(struct random_device * rd) in check_random_device()
537 struct random_device * rd = &random_devices[n]; in get_random_device()
566 struct random_device * rd = &random_devices[n]; in close_random_device()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/
H A Drandom47 static thread_local default_random_engine __eng{random_device{}()};
69 _S_randint_engine().seed(random_device{}());
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/
H A Drandom47 static thread_local default_random_engine __eng{random_device{}()};
68 _S_randint_engine().seed(random_device{}());
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/tr1/
H A Drandom.h1461 class random_device in _GLIBCXX_VISIBILITY()
1472 random_device(const std::string& __token = "/dev/urandom") in _GLIBCXX_VISIBILITY()
1480 ~random_device() in _GLIBCXX_VISIBILITY()
1486 random_device(const std::string& __token = "mt19937") in _GLIBCXX_VISIBILITY()
1536 random_device(const random_device&); in _GLIBCXX_VISIBILITY()
1537 void operator=(const random_device&); in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/tr1/
H A Drandom.h1461 class random_device in _GLIBCXX_VISIBILITY()
1472 random_device(const std::string& __token = "/dev/urandom") in _GLIBCXX_VISIBILITY()
1480 ~random_device() in _GLIBCXX_VISIBILITY()
1486 random_device(const std::string& __token = "mt19937") in _GLIBCXX_VISIBILITY()
1536 random_device(const random_device&); in _GLIBCXX_VISIBILITY()
1537 void operator=(const random_device&); in _GLIBCXX_VISIBILITY()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/bugpoint/
H A DFindBugs.cpp38 std::mt19937 randomness(std::random_device{}()); in runManyPasses()
/netbsd-src/external/apache2/llvm/dist/libcxx/benchmarks/
H A DGenerateInput.h28 static std::default_random_engine RandEngine(std::random_device{}()); in getRandomEngine()
H A Dordered_set.bench.cpp38 std::random_device R; in sortKeysBy()
H A Dalgorithms.bench.cpp110 std::random_device R; in sortValues()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DLockFileManager.cpp307 std::random_device Device; in waitForUnlock()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/
H A DSnippetGenerator.cpp176 static std::random_device RandomDevice; in randomGenerator()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/config/abi/pre/
H A Dgnu-versioned-namespace.ver31 std::random_device::*
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Drandom386 class random_device
397 explicit random_device(const string& token = implementation-defined); // before C++20
398 random_device() : random_device(implementation-defined) {} // C++20
399 explicit random_device(const string& token); // C++20
408 random_device(const random_device& ) = delete;
409 void operator=(const random_device& ) = delete;
3589 // random_device
3593 class _LIBCPP_TYPE_VIS random_device
3613 random_device() : random_device("/dev/urandom") {}
3614 explicit random_device(const string& __token);
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Drandom.h1613 class random_device in _GLIBCXX_VISIBILITY()
1621 random_device() { _M_init("default"); } in _GLIBCXX_VISIBILITY()
1624 random_device(const std::string& __token) { _M_init(__token); } in _GLIBCXX_VISIBILITY()
1627 ~random_device() in _GLIBCXX_VISIBILITY()
1654 random_device(const random_device&) = delete; in _GLIBCXX_VISIBILITY()
1655 void operator=(const random_device&) = delete; in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/
H A Drandom.h1608 class random_device in _GLIBCXX_VISIBILITY()
1616 random_device() { _M_init("default"); } in _GLIBCXX_VISIBILITY()
1619 random_device(const std::string& __token) { _M_init(__token); } in _GLIBCXX_VISIBILITY()
1622 ~random_device() in _GLIBCXX_VISIBILITY()
1649 random_device(const random_device&) = delete; in _GLIBCXX_VISIBILITY()
1650 void operator=(const random_device&) = delete; in _GLIBCXX_VISIBILITY()
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/test/
H A Doutput_test_helper.cc449 static std::mt19937 rd{std::random_device{}()}; in RandomHexChar()
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/ci/
H A Drun-buildbot329 generic-no-random_device)
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/
H A DChangeLog-20193477 * include/bits/random.h (random_device::_M_init(const char*, size_t)):
3479 * src/c++11/cow-string-inst.cc (random_device::_M_init(const string&))
3480 (random_device::_M_init_pretr1(const string&)): Call new private
3482 * src/c++11/random.cc (random_device::_M_init(const char*, size_t)):
3484 * testsuite/26_numerics/random/random_device/cons/default-cow.cc: New
3486 * testsuite/26_numerics/random/random_device/cons/default.cc: Generate
3488 * testsuite/26_numerics/random/random_device/cons/token.cc: Likewise.
3523 * testsuite/26_numerics/random/random_device/cons/token.cc: Fix test
3542 PR libstdc++/85494 use rdseed and rand_s in std::random_device
3551 * include/bits/random.h (random_device::random_device()): Always call
[all …]

123