Lines Matching refs:random_device
42 random_device::random_device(const string& __token)
48 random_device::~random_device()
53 random_device::operator()()
59 __throw_system_error(errno, "random_device getentropy failed");
65 random_device::random_device(const string& __token)
71 random_device::~random_device()
76 random_device::operator()()
83 random_device::random_device(const string& __token)
87 __throw_system_error(errno, ("random_device failed to open " + __token).c_str());
90 random_device::~random_device()
96 random_device::operator()()
105 __throw_system_error(ENODATA, "random_device got EOF");
109 __throw_system_error(errno, "random_device got an unexpected error");
120 random_device::random_device(const string& __token)
129 random_device::~random_device()
134 random_device::operator()()
141 __throw_system_error(error, "random_device failed getting bytes");
143 __throw_runtime_error("random_device failed to obtain enough bytes");
149 random_device::random_device(const string& __token)
155 random_device::~random_device()
160 random_device::operator()()
165 __throw_system_error(err, "random_device rand_s failed.");
174 random_device::entropy() const _NOEXCEPT