Home
last modified time | relevance | path

Searched refs:__ec (Results 1 – 15 of 15) sorted by relevance

/freebsd-14.2/contrib/llvm-project/libcxx/include/__filesystem/
H A Doperations.h139 inline _LIBCPP_HIDE_FROM_ABI path current_path(error_code& __ec) { return __current_path(&__ec); } in current_path() argument
142 __current_path(__p, &__ec); in current_path()
155 auto __s = __status(__p, &__ec); in exists()
157 __ec.clear(); in exists()
163 return __file_size(__p, &__ec); in file_size()
238 if (__ec) in proximate()
241 if (__ec) in proximate()
257 if (__ec) in relative()
260 if (__ec) in relative()
288 return __space(__p, &__ec); in space()
[all …]
H A Ddirectory_entry.h53 error_code __ec; in directory_entry() local
54 __refresh(&__ec); in directory_entry()
66 error_code __ec; in assign() local
67 __refresh(&__ec); in assign()
72 __refresh(&__ec); in assign()
77 error_code __ec; in replace_filename() local
78 __refresh(&__ec); in replace_filename()
83 __refresh(&__ec); in replace_filename()
252 if (!__ec) in __is_dne_error()
269 if (__ec && (!__allow_dne || !__is_dne_error(__ec)))
[all …]
H A Drecursive_directory_iterator.h56 …M_ABI recursive_directory_iterator(const path& __p, directory_options __xoptions, error_code& __ec) in recursive_directory_iterator() argument
57 : recursive_directory_iterator(__p, __xoptions, &__ec) {} in recursive_directory_iterator()
59 _LIBCPP_HIDE_FROM_ABI recursive_directory_iterator(const path& __p, error_code& __ec) in recursive_directory_iterator() argument
60 : recursive_directory_iterator(__p, directory_options::none, &__ec) {} in recursive_directory_iterator()
90 …E_FROM_ABI recursive_directory_iterator& increment(error_code& __ec) { return __increment(&__ec); } in increment() argument
97 _LIBCPP_HIDE_FROM_ABI void pop(error_code& __ec) { __pop(&__ec); } in pop() argument
112 …_FROM_ABI recursive_directory_iterator(const path& __p, directory_options __opt, error_code* __ec);
114 _LIBCPP_EXPORTED_FROM_ABI bool __try_recursion(error_code* __ec);
115 _LIBCPP_EXPORTED_FROM_ABI void __advance(error_code* __ec = nullptr);
116 _LIBCPP_EXPORTED_FROM_ABI recursive_directory_iterator& __increment(error_code* __ec = nullptr);
[all …]
H A Dfilesystem_error.h33 _LIBCPP_HIDE_FROM_ABI filesystem_error(const string& __what, error_code __ec) in filesystem_error() argument
34 : system_error(__ec, __what), __storage_(make_shared<_Storage>(path(), path())) { in filesystem_error()
38 _LIBCPP_HIDE_FROM_ABI filesystem_error(const string& __what, const path& __p1, error_code __ec) in filesystem_error() argument
39 : system_error(__ec, __what), __storage_(make_shared<_Storage>(__p1, path())) { in filesystem_error()
43 …ROM_ABI filesystem_error(const string& __what, const path& __p1, const path& __p2, error_code __ec) in filesystem_error() argument
44 : system_error(__ec, __what), __storage_(make_shared<_Storage>(__p1, __p2)) { in filesystem_error()
H A Ddirectory_iterator.h59 …_FROM_ABI directory_iterator(const path& __p, error_code& __ec) : directory_iterator(__p, &__ec) {} in directory_iterator() argument
61 …IBCPP_HIDE_FROM_ABI directory_iterator(const path& __p, directory_options __opts, error_code& __ec) in directory_iterator() argument
62 : directory_iterator(__p, &__ec, __opts) {} in directory_iterator()
94 …_LIBCPP_HIDE_FROM_ABI directory_iterator& increment(error_code& __ec) { return __increment(&__ec);… in increment() argument
109 _LIBCPP_EXPORTED_FROM_ABI directory_iterator& __increment(error_code* __ec = nullptr);
/freebsd-14.2/contrib/llvm-project/libcxx/include/__system_error/
H A Dsystem_error.h30 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… in __throw_system_error() argument
45 throw system_error(__ec, __what_arg); in __throw_system_error()
48 …"system_error was thrown in -fno-exceptions mode with error %i and message \"%s\"", __ec.value(), … in __throw_system_error()
H A Derror_condition.h123 _LIBCPP_HIDE_FROM_ABI size_t operator()(const error_condition& __ec) const _NOEXCEPT {
124 return static_cast<size_t>(__ec.value());
H A Derror_code.h136 _LIBCPP_HIDE_FROM_ABI size_t operator()(const error_code& __ec) const _NOEXCEPT {
137 return static_cast<size_t>(__ec.value());
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A D__threading_support252 if (__ec)
253 return __ec;
255 if (__ec) {
257 return __ec;
259 __ec = pthread_mutex_init(__m, &__attr);
260 if (__ec) {
262 return __ec;
265 if (__ec) {
267 return __ec;
397 return __ec == thrd_timedout ? ETIMEDOUT : __ec;
[all …]
H A Dios433 explicit failure(const string& __msg, const error_code& __ec = io_errc::stream);
434 explicit failure(const char* __msg, const error_code& __ec = io_errc::stream);
H A Dostream937 operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) {
938 return __os << __ec.category().name() << ':' << __ec.value();
H A Dfuture489 …BCPP_HIDE_FROM_ABI explicit future_error(future_errc __ec) : future_error(std::make_error_code(__e…
/freebsd-14.2/contrib/llvm-project/libcxx/include/__thread/
H A Dthread.h95 int __ec = __libcpp_tls_create(&__key_, &__thread_specific_ptr::__at_thread_exit); in __thread_specific_ptr() local
96 if (__ec) in __thread_specific_ptr()
97 __throw_system_error(__ec, "__thread_specific_ptr construction failed"); in __thread_specific_ptr()
212 int __ec = std::__libcpp_thread_create(&__t_, &__thread_proxy<_Gp>, __p.get());
213 if (__ec == 0)
216 __throw_system_error(__ec, "thread constructor failed");
244 int __ec = std::__libcpp_thread_create(&__t_, &__thread_proxy_cxx03<_InvokePair>, __pp.get());
245 if (__ec == 0)
248 __throw_system_error(__ec, "thread constructor failed");
/freebsd-14.2/contrib/llvm-project/libcxx/src/
H A Dfuture.cpp56 future_error::future_error(error_code __ec) : logic_error(__ec.message()), __ec_(__ec) {} in future_error() argument
/freebsd-14.2/contrib/llvm-project/libcxx/include/__condition_variable/
H A Dcondition_variable.h225 int __ec = pthread_cond_clockwait(&__cv_, __lk.mutex()->native_handle(), CLOCK_MONOTONIC, &__ts); in __do_timed_wait() local
226 if (__ec != 0 && __ec != ETIMEDOUT) in __do_timed_wait()
227 __throw_system_error(__ec, "condition_variable timed_wait failed"); in __do_timed_wait()