| /freebsd/contrib/llvm-project/libcxx/src/ |
| H A D | random.cpp | 44 random_device::random_device(const string& __token) { in random_device() function in random_device 49 random_device::~random_device() {} in ~random_device() 51 unsigned random_device::operator()() { in operator ()() 62 random_device::random_device(const string&) {} 64 random_device::~random_device() {} 66 unsigned random_device::operator()() { return arc4random(); } 70 random_device::random_device(const string& __token) : __f_(open(__token.c_str(), O_RDONLY)) { 75 random_device::~random_device() { close(__f_); } 77 unsigned random_device::operator()() { 98 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") {} in random_device() function 59 explicit random_device(const string& __token); 61 explicit random_device(const string& __token = "/dev/urandom"); 63 ~random_device(); 71 random_device(const random_device&) = delete; 72 void operator=(const random_device&) = delete;
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__random/ |
| H A D | random_device.h | 26 class _LIBCPP_EXPORTED_FROM_ABI random_device { 57 explicit random_device(const string& __token = "/dev/urandom"); 58 ~random_device(); 66 random_device(const random_device&) = delete; 67 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/crypto/openssl/providers/implementations/rands/seeding/ |
| H A D | rand_unix.c | 410 static struct random_device { struct 514 static int check_random_device(struct random_device *rd) in check_random_device() 532 struct random_device *rd = &random_devices[n]; in get_random_device() 561 struct random_device *rd = &random_devices[n]; in close_random_device()
|
| /freebsd/contrib/llvm-project/libcxx/modules/std/ |
| H A D | random.cppm | |
| H A D | random.inc | 46 // [rand.device], class random_device 47 using std::random_device;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | ExponentialBackoff.h | 60 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; 1708 # include <__random/random_device.h>
|
| H A D | __config | 296 // Libc++ supports various implementations of std::random_device. 303 // inside `std::random_device`. 309 // When this option is used, the token passed to `std::random_device`'s 314 // When this option is used, the token passed to `std::random_device`'s 320 // When this option is used, the token passed to `std::random_device`'s 327 // When this option is used, the token passed to `std::random_device`'s 332 // When this option is used, the token passed to `std::random_device`'s
|
| H A D | module.modulemap.in | 1836 module random_device { header "__random/random_device.h" }
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/ |
| 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 <__cxx03/__random/random_device.h>
|
| H A D | __config | 247 // Libc++ supports various implementations of std::random_device. 254 // inside `std::random_device`. 260 // When this option is used, the token passed to `std::random_device`'s 265 // When this option is used, the token passed to `std::random_device`'s 271 // When this option is used, the token passed to `std::random_device`'s 278 // When this option is used, the token passed to `std::random_device`'s 283 // 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 | 1210 C3RND_HEADERS+= random_device.h 1953 RND_HEADERS+= random_device.h
|
| H A D | module.modulemap | 1836 module random_device { header "__random/random_device.h" }
|
| H A D | libcxx.imp | 670 { include: [ "<__random/random_device.h>", "private", "<random>", "public" ] },
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | STLExtras.h | 1601 static unsigned Result(std::random_device{}());
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | Writer.cpp | 1069 std::mt19937 g(seed ? seed : std::random_device()()); in maybeShuffle()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/ |
| H A D | StdSymbolMap.inc | 2466 SYMBOL(random_device, std::, <random>)
|
| /freebsd/contrib/bsnmp/tests/ |
| H A D | catch.hpp | 7721 static std::random_device entropy; in analyse_samples()
|