Home
last modified time | relevance | path

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

/freebsd-src/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(ENOMSG, "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(er
[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-src/contrib/llvm-project/libcxx/include/__mutex/
H A Dunique_lock.h121 __throw_system_error(EPERM, "unique_lock::lock: references null mutex"); in lock()
123 __throw_system_error(EDEADLK, "unique_lock::lock: already locked");
131 __throw_system_error(EPERM, "unique_lock::try_lock: references null mutex"); in try_lock()
133 __throw_system_error(EDEADLK, "unique_lock::try_lock: already locked");
142 __throw_system_error(EPERM, "unique_lock::try_lock_for: references null mutex"); in try_lock_for()
144 __throw_system_error(EDEADLK, "unique_lock::try_lock_for: already locked");
153 __throw_system_error(EPERM, "unique_lock::try_lock_until: references null mutex"); in try_lock_until()
155 __throw_system_error(EDEADLK, "unique_lock::try_lock_until: already locked");
163 __throw_system_error(EPERM, "unique_lock::unlock: not locked");
/freebsd-src/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-src/contrib/llvm-project/libcxx/include/
H A Dshared_mutex400 __throw_system_error(EPERM, "shared_lock::lock: references null mutex");
402 __throw_system_error(EDEADLK, "shared_lock::lock: already locked");
410 __throw_system_error(EPERM, "shared_lock::try_lock: references null mutex");
412 __throw_system_error(EDEADLK, "shared_lock::try_lock: already locked");
421 __throw_system_error(EPERM, "shared_lock::try_lock_for: references null mutex");
423 __throw_system_error(EDEADLK, "shared_lock::try_lock_for: already locked");
432 __throw_system_error(EPERM, "shared_lock::try_lock_until: references null mutex");
434 __throw_system_error(EDEADLK, "shared_lock::try_lock_until: already locked");
442 __throw_system_error(EPERM, "shared_lock::unlock: not locked");
H A Dprint224 std::__throw_system_error(EIO, "EOF while writing the formatted output");
225 std::__throw_system_error(std::ferror(__stream), "failed to write formatted output");
/freebsd-src/contrib/llvm-project/libcxx/include/__thread/
H A Dthread.h96 __throw_system_error(__ec, "__thread_specific_ptr construction failed"); in __thread_specific_ptr()
215 __throw_system_error(__ec, "thread constructor failed");
247 __throw_system_error(__ec, "thread constructor failed");
/freebsd-src/contrib/llvm-project/libcxx/src/filesystem/
H A Dfilesystem_clock.cpp52 __throw_system_error(errno, "clock_gettime(CLOCK_REALTIME) failed"); in now()
/freebsd-src/contrib/llvm-project/libcxx/include/__condition_variable/
H A Dcondition_variable.h213 __throw_system_error(EPERM, "condition_variable::timed wait: mutex not locked"); in __do_timed_wait()
228 __throw_system_error(__ec, "condition_variable timed_wait failed"); in __do_timed_wait()