Home
last modified time | relevance | path

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

/external/libcxx/src/
Drandom.cpp42 random_device::random_device(const string& __token) in random_device() argument
44 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")
68 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str());
83 random_device::random_device(const string& __token)
84 : __f_(open(__token.c_str(), O_RDONLY))
87 __throw_system_error(errno, ("random_device failed to open " + __token).c_str());
120 random_device::random_device(const string& __token)
[all …]
/external/llvm-project/libcxx/src/
Drandom.cpp41 random_device::random_device(const string& __token) in random_device() argument
43 if (__token != "/dev/urandom") in random_device()
44 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str()); in random_device()
64 random_device::random_device(const string& __token)
66 if (__token != "/dev/urandom")
67 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str());
82 random_device::random_device(const string& __token)
83 : __f_(open(__token.c_str(), O_RDONLY))
86 __throw_system_error(errno, ("random_device failed to open " + __token).c_str());
119 random_device::random_device(const string& __token)
[all …]
/external/libcxx/include/
Drandom3500 explicit random_device(const string& __token = "/dev/urandom");
/external/llvm-project/libcxx/include/
Drandom3527 explicit random_device(const string& __token = "/dev/urandom");