Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/src/
H A Drandom.cpp43 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 Drandom_device.h26 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 Drandomdev.c97 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 Drandom.cppm
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DExponentialBackoff.h59 std::random_device RandDev;
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DFindBugs.cpp38 std::mt19937 randomness(std::random_device{}()); in runManyPasses()
/freebsd/sys/dev/qcom_rnd/
H A Dqcom_rnd.c252 MODULE_DEPEND(qcom_rnd_random, random_device, 1, 1, 1);
/freebsd/contrib/llvm-project/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;
1705 #include <__random/random_device.h>
H A D__config267 // 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 Dmodule.modulemap1679 header "__random/random_device.h"
/freebsd/sys/dev/virtio/random/
H A Dvirtio_random.c108 MODULE_DEPEND(virtio_random, random_device, 1, 1, 1);
/freebsd/sys/crypto/ccp/
H A Dccp.c640 MODULE_DEPEND(ccp, random_device, 1, 1, 1);
/freebsd/lib/libc++/
H A DMakefile1075 RND_HEADERS+= random_device.h
H A Dlibcxx.imp610 { include: [ "<__random/random_device.h>", "private", "<random>", "public" ] },
/freebsd/contrib/llvm-project/lld/ELF/
H A DWriter.cpp1035 std::mt19937 g(seed ? seed : std::random_device()()); in maybeShuffle()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSTLExtras.h1579 static unsigned Result(std::random_device{}());
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DStdSymbolMap.inc2413 SYMBOL(random_device, std::, <random>)
/freebsd/contrib/bsnmp/tests/
H A Dcatch.hpp7721 static std::random_device entropy; in analyse_samples()