Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/libc++/src/
H A Drandom.cpp42 random_device::random_device(const string& __token) in random_device() function in random_device
48 random_device::~random_device() in ~random_device()
53 random_device::operator()() in operator ()()
65 random_device::random_device(const string& __token)
71 random_device::~random_device()
83 random_device::random_device(const string& __token)
90 random_device::~random_device()
120 random_device::random_device(const string& __token)
129 random_device::~random_device()
149 random_device::random_device(const string& __token)
[all …]
/freebsd-12.1/sys/dev/random/
H A Drandomdev.c111 SYSINIT(random_device, SI_SUB_RANDOM, SI_ORDER_THIRD, random_alg_context_ra_init_alg, NULL);
112 SYSUNINIT(random_device, SI_SUB_RANDOM, SI_ORDER_THIRD, random_alg_context_ra_deinit_alg, NULL);
426 DECLARE_MODULE(random_device, randomdev_mod, SI_SUB_DRIVERS, SI_ORDER_FIRST);
427 MODULE_VERSION(random_device, 1);
428 MODULE_DEPEND(random_device, crypto, 1, 1, 1);
429 MODULE_DEPEND(random_device, random_harvestq, 1, 1, 1);
H A Divy.c132 MODULE_DEPEND(rdrand, random_device, 1, 1, 1);
H A Ddarn.c142 MODULE_DEPEND(darn, random_device, 1, 1, 1);
H A Dnehemiah.c151 MODULE_DEPEND(nehemiah, random_device, 1, 1, 1);
/freebsd-12.1/sys/contrib/zstd/contrib/pzstd/test/
H A DPzstdTest.cpp26 unsigned seed = std::random_device{}(); in TEST()
64 unsigned seed = std::random_device{}(); in TEST()
99 unsigned seed = std::random_device{}(); in TEST()
H A DRoundTripTest.cpp65 std::mt19937 gen(std::random_device{}()); in main()
/freebsd-12.1/crypto/openssl/crypto/rand/
H A Drand_unix.c356 static struct random_device { struct
457 static int check_random_device(struct random_device * rd) in check_random_device()
475 struct random_device * rd = &random_devices[n]; in get_random_device()
504 struct random_device * rd = &random_devices[n]; in close_random_device()
/freebsd-12.1/contrib/llvm/tools/bugpoint/
H A DFindBugs.cpp39 std::mt19937 randomness(std::random_device{}()); in runManyPasses()
/freebsd-12.1/contrib/libstdc++/include/tr1/
H A Drandom1410 class random_device
1421 random_device(const std::string& __token = "/dev/urandom")
1425 std::__throw_runtime_error(__N("random_device::"
1426 "random_device(const std::string&)"));
1429 ~random_device()
1435 random_device(const std::string& __token = "mt19937")
1449 std::__throw_runtime_error(__N("random_device::_M_strtoul"
1485 random_device(const random_device&);
1486 void operator=(const random_device&);
/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DSTLExtras.h1089 std::mt19937 Generator(std::random_device{}());
1106 std::mt19937 Generator(std::random_device{}());
1118 std::mt19937 Generator(std::random_device{}());
1131 std::mt19937 Generator(std::random_device{}());
/freebsd-12.1/sys/crypto/ccp/
H A Dccp.c736 MODULE_DEPEND(ccp, random_device, 1, 1, 1);
/freebsd-12.1/contrib/libc++/include/
H A Drandom378 class random_device
389 explicit random_device(const string& token = "/dev/urandom");
398 random_device(const random_device& ) = delete;
399 void operator=(const random_device& ) = delete;
3479 // random_device
3481 class _LIBCPP_TYPE_VIS random_device
3500 explicit random_device(const string& __token = "/dev/urandom");
3501 ~random_device();
3511 random_device(const random_device&); // = delete;
3512 random_device& operator=(const random_device&); // = delete;
H A D__config306 // std::random_device is instead exposed through a NaCl syscall.
/freebsd-12.1/contrib/libstdc++/
H A DChangeLog290 * include/tr1/random (class random_device): Rework to use simple
H A DChangeLog-20063903 * include/tr1/random (random_device::random_device(const
3906 * include/tr1/random (random_device::random_device(const
3908 (random_device::_M_strtoul): New.
3909 (random_device::operator()()): Update.
3919 * include/tr1/random (random_device): Implement, a fall-back for
3921 * testsuite/tr1/5_numerical_facilities/random/random_device/
3923 * testsuite/tr1/5_numerical_facilities/random/random_device/
3925 * testsuite/tr1/5_numerical_facilities/random/random_device/
H A Dacinclude.m41281 dnl random_device of "TR1" (Chapter 5.1, "Random number generation").
1285 AC_MSG_CHECKING([for "dev/random" and "dev/urandom" for TR1 random_device])
1301 the random_device of TR1 (Chapter 5.1).])
H A Dconfig.h.in759 /* Define if dev/random and dev/urandom are available for the random_device of