/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | random.cpp | 43 random_device::random_device(const string& __token) { in random_device() function in random_device 48 random_device::~random_device() {} in ~random_device() 50 unsigned random_device::operator()() { in operator ()() 61 random_device::random_device(const string&) {} 63 random_device::~random_device() {} 65 unsigned random_device::operator()() { return arc4random(); } 69 random_device::random_device(const string& __token) : __f_(open(__token.c_str(), O_RDONLY)) { 74 random_device::~random_device() { close(__f_); } 76 unsigned random_device::operator()() { 97 random_device::random_device(const string& __token) { [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__random/ |
H A D | random_device.h | 26 class _LIBCPP_EXPORTED_FROM_ABI random_device { 58 _LIBCPP_HIDE_FROM_ABI random_device() : random_device("/dev/urandom") {} 59 explicit random_device(const string& __token); 61 explicit random_device(const string& __token = "/dev/urandom"); in random_device() function 63 ~random_device(); 71 random_device(const random_device&) = delete; 72 void operator=(const random_device&) = delete;
|
/freebsd/sys/dev/random/ |
H A D | randomdev.c | 97 SYSINIT(random_device, SI_SUB_RANDOM, SI_ORDER_SECOND, random_alg_context_init, 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);
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | random.cppm |
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ExponentialBackoff.h | 59 std::random_device RandDev;
|
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/ |
H A D | FindBugs.cpp | 38 std::mt19937 randomness(std::random_device{}()); in runManyPasses()
|
/freebsd/sys/dev/qcom_rnd/ |
H A D | qcom_rnd.c | 252 MODULE_DEPEND(qcom_rnd_random, random_device, 1, 1, 1);
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | random | 386 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; 1705 #include <__random/random_device.h>
|
H A D | __config | 267 // Libc++ supports various implementations of std::random_device. 274 // inside `std::random_device`. 280 // When this option is used, the token passed to `std::random_device`'s 285 // When this option is used, the token passed to `std::random_device`'s 291 // When this option is used, the token passed to `std::random_device`'s 298 // When this option is used, the token passed to `std::random_device`'s 303 // When this option is used, the token passed to `std::random_device`'s
|
H A D | module.modulemap | 1679 header "__random/random_device.h"
|
/freebsd/sys/dev/virtio/random/ |
H A D | virtio_random.c | 108 MODULE_DEPEND(virtio_random, random_device, 1, 1, 1);
|
/freebsd/sys/crypto/ccp/ |
H A D | ccp.c | 640 MODULE_DEPEND(ccp, random_device, 1, 1, 1);
|
/freebsd/lib/libc++/ |
H A D | Makefile | 1075 RND_HEADERS+= random_device.h
|
H A D | libcxx.imp | 610 { include: [ "<__random/random_device.h>", "private", "<random>", "public" ] },
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | Writer.cpp | 1035 std::mt19937 g(seed ? seed : std::random_device()()); in maybeShuffle()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | STLExtras.h | 1579 static unsigned Result(std::random_device{}());
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/ |
H A D | StdSymbolMap.inc | 2413 SYMBOL(random_device, std::, <random>)
|
/freebsd/contrib/bsnmp/tests/ |
H A D | catch.hpp | 7721 static std::random_device entropy; in analyse_samples()
|