Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/src/
H A Drandom.cpp46 std::__throw_system_error(ENOENT, ("random device not supported " + __token).c_str()); in random_device()
56 std::__throw_system_error(errno, "random_device getentropy failed"); in operator ()()
72 std::__throw_system_error(errno, ("random_device failed to open " + __token).c_str());
84 std::__throw_system_error(ENOMSG, "random_device got EOF");
87 std::__throw_system_error(errno, "random_device got an unexpected error");
100 std::__throw_system_error(ENOENT, ("random device not supported " + __token).c_str());
103 std::__throw_system_error(error, ("random device failed to open " + __token).c_str());
114 std::__throw_system_error(error, "random_device failed getting bytes");
124 std::__throw_system_error(ENOENT, ("random device not supported " + __token).c_str());
133 std::__throw_system_error(err, "random_device rand_s failed.");
[all …]
H A Dcondition_variable.cpp35 std::__throw_system_error(EPERM, "condition_variable::wait: mutex not locked"); in wait()
38 std::__throw_system_error(ec, "condition_variable wait failed"); in wait()
45 std::__throw_system_error(EPERM, "condition_variable::timed wait: mutex not locked"); in __do_timed_wait()
62 std::__throw_system_error(ec, "condition_variable timed_wait failed"); in __do_timed_wait()
H A Dchrono.cpp127 std::__throw_system_error(errno, "timespec_get(TIME_UTC) failed");
136 std::__throw_system_error(errno, "clock_gettime(CLOCK_REALTIME) failed");
183 std::__throw_system_error(errno, "clock_gettime(CLOCK_MONOTONIC_RAW) failed"); in __libcpp_steady_clock_now()
216 std::__throw_system_error(errno, "failed to obtain time of day"); in __libcpp_steady_clock_now()
237 std::__throw_system_error(errno, "timespec_get(TIME_MONOTONIC) failed"); in __libcpp_steady_clock_now()
246 std::__throw_system_error(errno, "clock_gettime(CLOCK_MONOTONIC) failed"); in __libcpp_steady_clock_now()
H A Dmutex.cpp32 std::__throw_system_error(ec, "mutex lock failed"); in lock()
49 std::__throw_system_error(ec, "recursive_mutex constructor failed"); in recursive_mutex()
61 std::__throw_system_error(ec, "recursive_mutex lock failed"); in lock()
112 std::__throw_system_error(EAGAIN, "recursive_timed_mutex lock limit reached"); in lock()
H A Dthread.cpp51 std::__throw_system_error(ec, "thread::join failed"); in join()
63 std::__throw_system_error(ec, "thread::detach failed"); in detach()
H A Dprint.cpp54 …std::__throw_system_error(filesystem::detail::get_last_error(), "failed to write formatted output"… in __write_to_windows_console()
H A Dsystem_error.cpp359 void __throw_system_error(int ev, const char* what_arg) { in __throw_system_error() function
361 std::__throw_system_error(error_code(ev, generic_category()), what_arg); in __throw_system_error()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__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"); in lock()
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"); in try_lock()
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"); in try_lock_for()
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"); in try_lock_until()
163 __throw_system_error(EPERM, "unique_lock::unlock: not locked"); in unlock()
/freebsd/contrib/llvm-project/libcxx/include/__mutex/
H A Dunique_lock.h119 std::__throw_system_error(EPERM, "unique_lock::lock: references null mutex"); in lock()
121 std::__throw_system_error(EDEADLK, "unique_lock::lock: already locked"); in lock()
129 std::__throw_system_error(EPERM, "unique_lock::try_lock: references null mutex"); in try_lock()
131 std::__throw_system_error(EDEADLK, "unique_lock::try_lock: already locked"); in try_lock()
140 std::__throw_system_error(EPERM, "unique_lock::try_lock_for: references null mutex"); in try_lock_for()
142 std::__throw_system_error(EDEADLK, "unique_lock::try_lock_for: already locked"); in try_lock_for()
151 std::__throw_system_error(EPERM, "unique_lock::try_lock_until: references null mutex"); in try_lock_until()
153 std::__throw_system_error(EDEADLK, "unique_lock::try_lock_until: already locked"); in try_lock_until()
161 std::__throw_system_error(EPERM, "unique_lock::unlock: not locked"); in unlock()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dshared_mutex387 std::__throw_system_error(EPERM, "shared_lock::lock: references null mutex");
389 std::__throw_system_error(EDEADLK, "shared_lock::lock: already locked");
397 std::__throw_system_error(EPERM, "shared_lock::try_lock: references null mutex");
399 std::__throw_system_error(EDEADLK, "shared_lock::try_lock: already locked");
408 std::__throw_system_error(EPERM, "shared_lock::try_lock_for: references null mutex");
410 std::__throw_system_error(EDEADLK, "shared_lock::try_lock_for: already locked");
419 std::__throw_system_error(EPERM, "shared_lock::try_lock_until: references null mutex");
421 std::__throw_system_error(EDEADLK, "shared_lock::try_lock_until: already locked");
429 std::__throw_system_error(EPERM, "shared_lock::unlock: not locked");
H A Dprint227 std::__throw_system_error(EIO, "EOF while writing the formatted output");
228 std::__throw_system_error(std::ferror(__stream), "failed to write formatted output");
/freebsd/contrib/llvm-project/libcxx/include/__system_error/
H A Dsystem_error.h44 [[__noreturn__]] _LIBCPP_EXPORTED_FROM_ABI void __throw_system_error(int __ev, const char* __what_a…
46 [[__noreturn__]] _LIBCPP_HIDE_FROM_ABI inline void __throw_system_error(error_code __ec, const char… in __throw_system_error() function
H A Dthrow_system_error.h21 [[__noreturn__]] _LIBCPP_EXPORTED_FROM_ABI void __throw_system_error(int __ev, const char* __what_a…
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__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/contrib/llvm-project/libcxx/src/filesystem/
H A Dfilesystem_clock.cpp63 std::__throw_system_error(errno, "timespec_get(TIME_UTC) failed"); in now()
69 std::__throw_system_error(errno, "clock_gettime(CLOCK_REALTIME) failed"); in now()
/freebsd/contrib/llvm-project/libcxx/include/__thread/
H A Dthread.h104 std::__throw_system_error(__ec, "__thread_specific_ptr construction failed"); in __thread_specific_ptr()
217 __throw_system_error(__ec, "thread constructor failed");
229 __throw_system_error(__ec, "thread constructor failed");
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__thread/
H A Dthread.h95 __throw_system_error(__ec, "__thread_specific_ptr construction failed"); in __thread_specific_ptr()
209 __throw_system_error(__ec, "thread constructor failed");
/freebsd/contrib/llvm-project/libcxx/include/__condition_variable/
H A Dcondition_variable.h201 std::__throw_system_error(EPERM, "condition_variable::timed wait: mutex not locked"); in __do_timed_wait()
216 std::__throw_system_error(__ec, "condition_variable timed_wait failed"); in __do_timed_wait()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__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()