Lines Matching refs:random_device
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) {
105 random_device::~random_device() {}
107 unsigned random_device::operator()() {
121 random_device::random_device(const string& __token) {
126 random_device::~random_device() {}
128 unsigned random_device::operator()() {
138 random_device::random_device(const string& __token) {
143 random_device::~random_device() {}
145 unsigned random_device::operator()() {
161 double random_device::entropy() const noexcept { in entropy()