/freebsd/contrib/llvm-project/libcxx/include/__filesystem/ |
H A D | operations.h | 36 _LIBCPP_EXPORTED_FROM_ABI path __absolute(const path&, error_code* __ec = nullptr); 37 _LIBCPP_EXPORTED_FROM_ABI path __canonical(const path&, error_code* __ec = nullptr); 39 __copy_file(const path& __from, const path& __to, copy_options __opt, error_code* __ec = nullptr); 41 __copy_symlink(const path& __existing_symlink, const path& __new_symlink, error_code* __ec = nullpt… 43 __copy(const path& __from, const path& __to, copy_options __opt, error_code* __ec = nullptr); 46 __create_directory_symlink(const path& __to, const path& __new_symlink, error_code* __ec = nullptr); 50 __create_hard_link(const path& __to, const path& __new_hard_link, error_code* __ec = nullptr); 52 __create_symlink(const path& __to, const path& __new_symlink, error_code* __ec = nullptr); 53 _LIBCPP_EXPORTED_FROM_ABI path __current_path(error_code* __ec = nullptr); 54 _LIBCPP_EXPORTED_FROM_ABI void __current_path(const path&, error_code* __ec = nullptr); [all …]
|
H A D | directory_entry.h | 52 error_code __ec; in directory_entry() local 53 __refresh(&__ec); in directory_entry() 56 …HIDE_FROM_ABI directory_entry(_Path const& __p, error_code& __ec) : __p_(__p) { __refresh(&__ec); } in directory_entry() argument 65 error_code __ec; in assign() local 66 __refresh(&__ec); in assign() 69 _LIBCPP_HIDE_FROM_ABI void assign(_Path const& __p, error_code& __ec) { in assign() argument 71 __refresh(&__ec); in assign() 76 error_code __ec; in replace_filename() local 77 __refresh(&__ec); in replace_filename() 80 _LIBCPP_HIDE_FROM_ABI void replace_filename(_Path const& __p, error_code& __ec) { in replace_filename() argument [all …]
|
H A D | recursive_directory_iterator.h | 55 …M_ABI recursive_directory_iterator(const path& __p, directory_options __xoptions, error_code& __ec) in recursive_directory_iterator() argument 56 : recursive_directory_iterator(__p, __xoptions, &__ec) {} in recursive_directory_iterator() 58 _LIBCPP_HIDE_FROM_ABI recursive_directory_iterator(const path& __p, error_code& __ec) in recursive_directory_iterator() argument 59 : recursive_directory_iterator(__p, directory_options::none, &__ec) {} in recursive_directory_iterator() 89 …E_FROM_ABI recursive_directory_iterator& increment(error_code& __ec) { return __increment(&__ec); } in increment() argument 96 _LIBCPP_HIDE_FROM_ABI void pop(error_code& __ec) { __pop(&__ec); } in pop() argument 111 …_FROM_ABI recursive_directory_iterator(const path& __p, directory_options __opt, error_code* __ec); 113 _LIBCPP_EXPORTED_FROM_ABI bool __try_recursion(error_code* __ec); 114 _LIBCPP_EXPORTED_FROM_ABI void __advance(error_code* __ec = nullptr); 115 _LIBCPP_EXPORTED_FROM_ABI recursive_directory_iterator& __increment(error_code* __ec = nullptr); [all …]
|
H A D | directory_iterator.h | 58 …_FROM_ABI directory_iterator(const path& __p, error_code& __ec) : directory_iterator(__p, &__ec) {} in directory_iterator() argument 60 …IBCPP_HIDE_FROM_ABI directory_iterator(const path& __p, directory_options __opts, error_code& __ec) in directory_iterator() argument 61 : directory_iterator(__p, &__ec, __opts) {} in directory_iterator() 93 …_LIBCPP_HIDE_FROM_ABI directory_iterator& increment(error_code& __ec) { return __increment(&__ec);… in increment() argument 108 _LIBCPP_EXPORTED_FROM_ABI directory_iterator& __increment(error_code* __ec = nullptr);
|
H A D | filesystem_error.h | 32 _LIBCPP_HIDE_FROM_ABI filesystem_error(const string& __what, error_code __ec) in filesystem_error() argument 33 : system_error(__ec, __what), __storage_(make_shared<_Storage>(path(), path())) { in filesystem_error() 37 _LIBCPP_HIDE_FROM_ABI filesystem_error(const string& __what, const path& __p1, error_code __ec) in filesystem_error() argument 38 : system_error(__ec, __what), __storage_(make_shared<_Storage>(__p1, path())) { in filesystem_error() 42 …ROM_ABI filesystem_error(const string& __what, const path& __p1, const path& __p2, error_code __ec) in filesystem_error() argument 43 : system_error(__ec, __what), __storage_(make_shared<_Storage>(__p1, __p2)) { in filesystem_error()
|
/freebsd/contrib/llvm-project/libcxx/include/__thread/support/ |
H A D | pthread.h | 54 int __ec = pthread_mutexattr_init(&__attr); in __libcpp_recursive_mutex_init() local 55 if (__ec) in __libcpp_recursive_mutex_init() 56 return __ec; in __libcpp_recursive_mutex_init() 57 __ec = pthread_mutexattr_settype(&__attr, PTHREAD_MUTEX_RECURSIVE); in __libcpp_recursive_mutex_init() 58 if (__ec) { in __libcpp_recursive_mutex_init() 60 return __ec; in __libcpp_recursive_mutex_init() 62 __ec = pthread_mutex_init(__m, &__attr); in __libcpp_recursive_mutex_init() 63 if (__ec) { in __libcpp_recursive_mutex_init() 65 return __ec; in __libcpp_recursive_mutex_init() 67 __ec = pthread_mutexattr_destroy(&__attr); in __libcpp_recursive_mutex_init() [all …]
|
H A D | c11.h | 102 int __ec = cnd_timedwait(__cv, __m, __ts); in __libcpp_condvar_timedwait() local 103 return __ec == thrd_timedout ? ETIMEDOUT : __ec; in __libcpp_condvar_timedwait() 151 int __ec = thrd_create(__t, reinterpret_cast<thrd_start_t>(__func), __arg); in __libcpp_thread_create() local 152 return __ec == thrd_nomem ? ENOMEM : __ec; in __libcpp_thread_create()
|
/freebsd/contrib/llvm-project/libcxx/include/__thread/ |
H A D | thread.h | 94 int __ec = __libcpp_tls_create(&__key_, &__thread_specific_ptr::__at_thread_exit); in __thread_specific_ptr() local 95 if (__ec) in __thread_specific_ptr() 96 __throw_system_error(__ec, "__thread_specific_ptr construction failed"); in __thread_specific_ptr() 211 int __ec = std::__libcpp_thread_create(&__t_, &__thread_proxy<_Gp>, __p.get()); 212 if (__ec == 0) 215 __throw_system_error(__ec, "thread constructor failed"); 243 int __ec = std::__libcpp_thread_create(&__t_, &__thread_proxy_cxx03<_InvokePair>, __pp.get()); 244 if (__ec == 0) 247 __throw_system_error(__ec, "thread constructor failed");
|
/freebsd/contrib/llvm-project/libcxx/include/__system_error/ |
H A D | system_error.h | 30 system_error(error_code __ec, const string& __what_arg); 31 system_error(error_code __ec, const char* __what_arg); 32 system_error(error_code __ec); 43 _LIBCPP_NORETURN _LIBCPP_HIDE_FROM_ABI inline void __throw_system_error(error_code __ec, const char* __what_arg) { 45 throw system_error(__ec, __what_arg); 48 "system_error was thrown in -fno-exceptions mode with error %i and message \"%s\"", __ec.value(), __what_arg);
|
H A D | error_condition.h | 123 _LIBCPP_HIDE_FROM_ABI size_t operator()(const error_condition& __ec) const _NOEXCEPT { 124 return static_cast<size_t>(__ec.value());
|
H A D | error_code.h | 136 _LIBCPP_HIDE_FROM_ABI size_t operator()(const error_code& __ec) const _NOEXCEPT { 137 return static_cast<size_t>(__ec.value());
|
/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | future.cpp | 56 future_error::future_error(error_code __ec) : logic_error(__ec.message()), __ec_(__ec) {} 66 future_error(error_code __ec) future_error() argument
|
/freebsd/contrib/llvm-project/libcxx/include/__condition_variable/ |
H A D | condition_variable.h | 226 int __ec = pthread_cond_clockwait(&__cv_, __lk.mutex()->native_handle(), CLOCK_MONOTONIC, &__ts); in __do_timed_wait() local 227 if (__ec != 0 && __ec != ETIMEDOUT) in __do_timed_wait() 228 __throw_system_error(__ec, "condition_variable timed_wait failed"); in __do_timed_wait()
|
/freebsd/contrib/llvm-project/libcxx/include/__ostream/ |
H A D | basic_ostream.h | 769 operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { 770 return __os << __ec.category().name() << ':' << __ec.value();
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | ios | 436 explicit failure(const string& __msg, const error_code& __ec = io_errc::stream); 437 explicit failure(const char* __msg, const error_code& __ec = io_errc::stream);
|
H A D | future | 486 …BCPP_HIDE_FROM_ABI explicit future_error(future_errc __ec) : future_error(std::make_error_code(__e…
|