Home
last modified time | relevance | path

Searched refs:__throw_system_error (Results 1 – 14 of 14) sorted by relevance

/freebsd-14.2/contrib/llvm-project/libcxx/src/
H A Drandom.cpp45 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str()); in random_device()
55 __throw_system_error(errno, "random_device getentropy failed"); in operator ()()
71 __throw_system_error(errno, ("random_device failed to open " + __token).c_str());
83 __throw_system_error(ENODATA, "random_device got EOF");
86 __throw_system_error(errno, "random_device got an unexpected error");
99 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str());
102 __throw_system_error(error, ("random device failed to open " + __token).c_str());
113 __throw_system_error(error, "random_device failed getting bytes");
123 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str());
132 __throw_system_error(err, "random_device rand_s failed.");
[all …]
H A Dcondition_variable.cpp29 __throw_system_error(EPERM, "condition_variable::wait: mutex not locked"); in wait()
32 __throw_system_error(ec, "condition_variable wait failed"); in wait()
39 __throw_system_error(EPERM, "condition_variable::timed wait: mutex not locked"); in __do_timed_wait()
56 __throw_system_error(ec, "condition_variable timed_wait failed"); in __do_timed_wait()
H A Dmutex.cpp31 __throw_system_error(ec, "mutex lock failed"); in lock()
48 __throw_system_error(ec, "recursive_mutex constructor failed"); in recursive_mutex()
60 __throw_system_error(ec, "recursive_mutex lock failed"); in lock()
111 __throw_system_error(EAGAIN, "recursive_timed_mutex lock limit reached"); in lock()
H A Dchrono.cpp122 __throw_system_error(errno, "clock_gettime(CLOCK_REALTIME) failed");
166 __throw_system_error(errno, "clock_gettime(CLOCK_MONOTONIC_RAW) failed"); in __libcpp_steady_clock_now()
199 __throw_system_error(errno, "failed to obtain time of day"); in __libcpp_steady_clock_now()
220 __throw_system_error(errno, "clock_gettime(CLOCK_MONOTONIC) failed"); in __libcpp_steady_clock_now()
H A Dthread.cpp49 __throw_system_error(ec, "thread::join failed"); in join()
61 __throw_system_error(ec, "thread::detach failed"); in detach()
H A Dsystem_error.cpp213 void __throw_system_error(int ev, const char* what_arg) { in __throw_system_error() function
215 std::__throw_system_error(error_code(ev, system_category()), what_arg); in __throw_system_error()
H A Dprint.cpp54__throw_system_error(filesystem::detail::make_windows_error(GetLastError()), "failed to write form… in __write_to_windows_console()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__mutex/
H A Dunique_lock.h117 __throw_system_error(EPERM, "unique_lock::lock: references null mutex"); in lock()
119 __throw_system_error(EDEADLK, "unique_lock::lock: already locked"); in lock()
127 __throw_system_error(EPERM, "unique_lock::try_lock: references null mutex"); in try_lock()
129 __throw_system_error(EDEADLK, "unique_lock::try_lock: already locked"); in try_lock()
138 __throw_system_error(EPERM, "unique_lock::try_lock_for: references null mutex"); in try_lock_for()
140 __throw_system_error(EDEADLK, "unique_lock::try_lock_for: already locked"); in try_lock_for()
149 __throw_system_error(EPERM, "unique_lock::try_lock_until: references null mutex"); in try_lock_until()
151 __throw_system_error(EDEADLK, "unique_lock::try_lock_until: already locked"); in try_lock_until()
159 __throw_system_error(EPERM, "unique_lock::unlock: not locked"); in unlock()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__system_error/
H A Dsystem_error.h42 _LIBCPP_NORETURN _LIBCPP_EXPORTED_FROM_ABI void __throw_system_error(int __ev, const char* __what_a…
43 _LIBCPP_NORETURN _LIBCPP_HIDE_FROM_ABI inline void __throw_system_error(error_code __ec, const char… in __throw_system_error() function
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dshared_mutex404 __throw_system_error(EPERM, "shared_lock::lock: references null mutex");
406 __throw_system_error(EDEADLK, "shared_lock::lock: already locked");
414 __throw_system_error(EPERM, "shared_lock::try_lock: references null mutex");
416 __throw_system_error(EDEADLK, "shared_lock::try_lock: already locked");
425 __throw_system_error(EPERM, "shared_lock::try_lock_for: references null mutex");
427 __throw_system_error(EDEADLK, "shared_lock::try_lock_for: already locked");
436 __throw_system_error(EPERM, "shared_lock::try_lock_until: references null mutex");
438 __throw_system_error(EDEADLK, "shared_lock::try_lock_until: already locked");
446 __throw_system_error(EPERM, "shared_lock::unlock: not locked");
H A Dprint223 std::__throw_system_error(EIO, "EOF while writing the formatted output");
224 std::__throw_system_error(std::ferror(__stream), "failed to write formatted output");
/freebsd-14.2/contrib/llvm-project/libcxx/include/__thread/
H A Dthread.h97 __throw_system_error(__ec, "__thread_specific_ptr construction failed"); in __thread_specific_ptr()
216 __throw_system_error(__ec, "thread constructor failed");
248 __throw_system_error(__ec, "thread constructor failed");
/freebsd-14.2/contrib/llvm-project/libcxx/src/filesystem/
H A Dfilesystem_clock.cpp52 __throw_system_error(errno, "clock_gettime(CLOCK_REALTIME) failed"); in now()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__condition_variable/
H A Dcondition_variable.h212 __throw_system_error(EPERM, "condition_variable::timed wait: mutex not locked"); in __do_timed_wait()
227 __throw_system_error(__ec, "condition_variable timed_wait failed"); in __do_timed_wait()