Lines Matching refs:random_device
46 random_device::random_device(const string& __token)
52 random_device::~random_device()
57 random_device::operator()()
63 __throw_system_error(errno, "random_device getentropy failed");
69 random_device::random_device(const string& __token)
75 random_device::~random_device()
80 random_device::operator()()
87 random_device::random_device(const string& __token)
91 __throw_system_error(errno, ("random_device failed to open " + __token).c_str());
94 random_device::~random_device()
100 random_device::operator()()
109 __throw_system_error(ENODATA, "random_device got EOF");
113 __throw_system_error(errno, "random_device got an unexpected error");
124 random_device::random_device(const string& __token)
133 random_device::~random_device()
138 random_device::operator()()
145 __throw_system_error(error, "random_device failed getting bytes");
147 __throw_runtime_error("random_device failed to obtain enough bytes");
153 random_device::random_device(const string& __token)
159 random_device::~random_device()
164 random_device::operator()()
169 __throw_system_error(err, "random_device rand_s failed.");
178 random_device::entropy() const noexcept