Searched refs:__token (Results 1 – 3 of 3) sorted by relevance
42 random_device::random_device(const string& __token) in random_device() argument44 if (__token != "/dev/urandom") in random_device()45 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str()); in random_device()65 random_device::random_device(const string& __token)67 if (__token != "/dev/urandom")83 random_device::random_device(const string& __token)84 : __f_(open(__token.c_str(), O_RDONLY))120 random_device::random_device(const string& __token)122 if (__token != "/dev/urandom")149 random_device::random_device(const string& __token)[all …]
1421 random_device(const std::string& __token = "/dev/urandom")1423 if ((__token != "/dev/urandom" && __token != "/dev/random")1424 || !(_M_file = std::fopen(__token.c_str(), "rb")))1435 random_device(const std::string& __token = "mt19937")1436 : _M_mt(_M_strtoul(__token)) { }
3500 explicit random_device(const string& __token = "/dev/urandom");