Home | History | Annotate | Download | only in src

Lines Matching refs:random_device

40 random_device::random_device(const string& __token)
46 random_device::~random_device()
51 random_device::operator()()
58 random_device::random_device(const string& __token)
62 __throw_system_error(errno, ("random_device failed to open " + __token).c_str());
65 random_device::~random_device()
71 random_device::operator()()
80 __throw_system_error(ENODATA, "random_device got EOF");
84 __throw_system_error(errno, "random_device got an unexpected error");
95 random_device::random_device(const string& __token)
104 random_device::~random_device()
109 random_device::operator()()
116 __throw_system_error(error, "random_device failed getting bytes");
118 __throw_runtime_error("random_device failed to obtain enough bytes");
124 random_device::random_device(const string& __token)
130 random_device::~random_device()
135 random_device::operator()()
140 __throw_system_error(err, "random_device rand_s failed.");
149 random_device::entropy() const _NOEXCEPT