| /llvm-project-15.0.7/libcxx/include/__filesystem/ |
| H A D | operations.h | 66 …P_HIDE_FROM_ABI path absolute(const path& __p, error_code& __ec) { return __absolute(__p, &__ec); } in absolute() argument 68 …HIDE_FROM_ABI path canonical(const path& __p, error_code& __ec) { return __canonical(__p, &__ec); } in canonical() argument 92 inline _LIBCPP_HIDE_FROM_ABI path current_path(error_code& __ec) { return __current_path(&__ec); } in current_path() argument 102 auto __s = __status(__p, &__ec); in exists() 104 __ec.clear(); in exists() 123 …HIDE_FROM_ABI bool is_empty(const path& __p, error_code& __ec) { return __fs_is_empty(__p, &__ec);… in is_empty() argument 150 if (__ec) in proximate() 153 if (__ec) in proximate() 165 if (__ec) in relative() 168 if (__ec) in relative() [all …]
|
| H A D | directory_entry.h | 55 error_code __ec; in directory_entry() local 56 __refresh(&__ec); in directory_entry() 61 __refresh(&__ec); in directory_entry() 72 error_code __ec; in assign() local 73 __refresh(&__ec); in assign() 79 __refresh(&__ec); in assign() 85 error_code __ec; in replace_filename() local 99 void refresh(error_code& __ec) noexcept { __refresh(&__ec); } in refresh() argument 318 if (!__ec) in __is_dne_error() 336 if (__ec && (!__allow_dne || !__is_dne_error(__ec))) [all …]
|
| H A D | recursive_directory_iterator.h | 55 error_code& __ec) in recursive_directory_iterator() argument 56 : recursive_directory_iterator(__p, __xoptions, &__ec) {} in recursive_directory_iterator() 59 recursive_directory_iterator(const path& __p, error_code& __ec) in recursive_directory_iterator() argument 97 recursive_directory_iterator& increment(error_code& __ec) { in increment() argument 98 return __increment(&__ec); in increment() 108 void pop(error_code& __ec) { __pop(&__ec); } in pop() argument 119 error_code* __ec); 125 bool __try_recursion(error_code* __ec); 128 void __advance(error_code* __ec = nullptr); 131 recursive_directory_iterator& __increment(error_code* __ec = nullptr); [all …]
|
| H A D | filesystem_error.h | 33 filesystem_error(const string& __what, error_code __ec) in filesystem_error() argument 34 : system_error(__ec, __what), in filesystem_error() 40 filesystem_error(const string& __what, const path& __p1, error_code __ec) in filesystem_error() argument 41 : system_error(__ec, __what), in filesystem_error() 48 error_code __ec) in filesystem_error() argument 49 : system_error(__ec, __what), in filesystem_error()
|
| H A D | directory_iterator.h | 59 directory_iterator(const path& __p, error_code& __ec) in directory_iterator() argument 60 : directory_iterator(__p, &__ec) {} in directory_iterator() 64 error_code& __ec) in directory_iterator() argument 65 : directory_iterator(__p, &__ec, __opts) {} in directory_iterator() 102 directory_iterator& increment(error_code& __ec) { return __increment(&__ec); } in increment() argument 115 directory_iterator& __increment(error_code* __ec = nullptr);
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | __threading_support | 262 if (__ec) 263 return __ec; 265 if (__ec) { 267 return __ec; 269 __ec = pthread_mutex_init(__m, &attr); 270 if (__ec) { 272 return __ec; 275 if (__ec) { 277 return __ec; 500 return __ec == thrd_timedout ? ETIMEDOUT : __ec; [all …]
|
| H A D | thread | 183 int __ec = 185 if (__ec) 186 __throw_system_error(__ec, "__thread_specific_ptr construction failed"); 311 int __ec = _VSTD::__libcpp_thread_create(&__t_, &__thread_proxy<_Gp>, __p.get()); 312 if (__ec == 0) 315 __throw_system_error(__ec, "thread constructor failed"); 346 int __ec = _VSTD::__libcpp_thread_create(&__t_, &__thread_proxy_cxx03<_InvokePair>, __pp.get()); 347 if (__ec == 0) 350 __throw_system_error(__ec, "thread constructor failed");
|
| H A D | system_error | 444 size_t operator()(const error_code& __ec) const _NOEXCEPT 446 return static_cast<size_t>(__ec.value()); 455 size_t operator()(const error_condition& __ec) const _NOEXCEPT 457 return static_cast<size_t>(__ec.value()); 468 system_error(error_code __ec, const string& __what_arg); 469 system_error(error_code __ec, const char* __what_arg); 470 system_error(error_code __ec);
|
| H A D | __mutex_base | 500 … int __ec = pthread_cond_clockwait(&__cv_, __lk.mutex()->native_handle(), CLOCK_MONOTONIC, &__ts); 501 if (__ec != 0 && __ec != ETIMEDOUT) 502 __throw_system_error(__ec, "condition_variable timed_wait failed");
|
| H A D | ostream | 1100 operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) 1102 return __os << __ec.category().name() << ':' << __ec.value();
|
| H A D | ios | 441 explicit failure(const string& __msg, const error_code& __ec = io_errc::stream); 442 explicit failure(const char* __msg, const error_code& __ec = io_errc::stream);
|
| H A D | future | 515 future_error(error_code __ec);
|
| /llvm-project-15.0.7/libcxx/src/ |
| H A D | future.cpp | 66 future_error::future_error(error_code __ec) in future_error() argument 67 : logic_error(__ec.message()), in future_error() 68 __ec_(__ec) in future_error()
|
| /llvm-project-15.0.7/libcxx/src/support/win32/ |
| H A D | thread_win32.cpp | 128 auto __ec = GetLastError(); in __libcpp_condvar_timedwait() local 129 return __ec == ERROR_TIMEOUT ? ETIMEDOUT : __ec; in __libcpp_condvar_timedwait()
|