Home
last modified time | relevance | path

Searched refs:__token (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/contrib/llvm-project/libcxx/src/
H A Drandom.cpp46 random_device::random_device(const string& __token) in random_device() argument
48 if (__token != "/dev/urandom") in random_device()
49 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str()); in random_device()
69 random_device::random_device(const string& __token)
71 if (__token != "/dev/urandom")
87 random_device::random_device(const string& __token)
88 : __f_(open(__token.c_str(), O_RDONLY))
124 random_device::random_device(const string& __token)
126 if (__token != "/dev/urandom")
153 random_device::random_device(const string& __token)
[all …]
/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A Drandom3615 explicit random_device(const string& __token);
3617 explicit random_device(const string& __token = "/dev/urandom");