Home | History | Annotate | Download | only in src

Lines Matching refs:random_device

38 random_device::random_device(const string& __token)
44 random_device::~random_device()
49 random_device::operator()()
56 random_device::random_device(const string& __token)
60 __throw_system_error(errno, ("random_device failed to open " + __token).c_str());
63 random_device::~random_device()
69 random_device::operator()()
78 __throw_system_error(ENODATA, "random_device got EOF");
82 __throw_system_error(errno, "random_device got an unexpected error");
93 random_device::random_device(const string& __token)
102 random_device::~random_device()
107 random_device::operator()()
114 __throw_system_error(error, "random_device failed getting bytes");
116 __throw_runtime_error("random_device failed to obtain enough bytes");
122 random_device::random_device(const string& __token)
128 random_device::~random_device()
133 random_device::operator()()
138 __throw_system_error(err, "random_device rand_s failed.");
147 random_device::entropy() const _NOEXCEPT