Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/libcxx/include/__filesystem/
H A Doperations.h36 _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 Ddirectory_entry.h55 error_code __ec; in directory_entry() local
56 __refresh(&__ec); in directory_entry()
59 …HIDE_FROM_ABI directory_entry(_Path const& __p, error_code& __ec) : __p_(__p) { __refresh(&__ec); } in directory_entry() argument
68 error_code __ec; in assign() local
69 __refresh(&__ec); in assign()
72 _LIBCPP_HIDE_FROM_ABI void assign(_Path const& __p, error_code& __ec) { in assign() argument
74 __refresh(&__ec); in assign()
79 error_code __ec; in replace_filename() local
80 __refresh(&__ec); in replace_filename()
83 _LIBCPP_HIDE_FROM_ABI void replace_filename(_Path const& __p, error_code& __ec) { in replace_filename() argument
[all …]
H A Drecursive_directory_iterator.h54 …M_ABI recursive_directory_iterator(const path& __p, directory_options __xoptions, error_code& __ec) in recursive_directory_iterator() argument
55 : recursive_directory_iterator(__p, __xoptions, &__ec) {} in recursive_directory_iterator()
57 _LIBCPP_HIDE_FROM_ABI recursive_directory_iterator(const path& __p, error_code& __ec) in recursive_directory_iterator() argument
58 : recursive_directory_iterator(__p, directory_options::none, &__ec) {} in recursive_directory_iterator()
88 …E_FROM_ABI recursive_directory_iterator& increment(error_code& __ec) { return __increment(&__ec); } in increment() argument
95 _LIBCPP_HIDE_FROM_ABI void pop(error_code& __ec) { __pop(&__ec); } in pop() argument
110 …_FROM_ABI recursive_directory_iterator(const path& __p, directory_options __opt, error_code* __ec);
112 _LIBCPP_EXPORTED_FROM_ABI bool __try_recursion(error_code* __ec);
113 _LIBCPP_EXPORTED_FROM_ABI void __advance(error_code* __ec = nullptr);
114 _LIBCPP_EXPORTED_FROM_ABI recursive_directory_iterator& __increment(error_code* __ec = nullptr);
[all …]
H A Ddirectory_iterator.h57 …_FROM_ABI directory_iterator(const path& __p, error_code& __ec) : directory_iterator(__p, &__ec) {} in directory_iterator() argument
59 …IBCPP_HIDE_FROM_ABI directory_iterator(const path& __p, directory_options __opts, error_code& __ec) in directory_iterator() argument
60 : directory_iterator(__p, &__ec, __opts) {} in directory_iterator()
92 …_LIBCPP_HIDE_FROM_ABI directory_iterator& increment(error_code& __ec) { return __increment(&__ec);… in increment() argument
107 _LIBCPP_EXPORTED_FROM_ABI directory_iterator& __increment(error_code* __ec = nullptr);
H A Dfilesystem_error.h32 _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/__cxx03/__thread/support/
H A Dpthread.h54 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 Dc11.h102 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/support/
H A Dpthread.h54 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 Dc11.h102 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/__cxx03/__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.h102 _LIBCPP_HIDE_FROM_ABI size_t operator()(const error_condition& __ec) const _NOEXCEPT {
103 return static_cast<size_t>(__ec.value());
H A Derror_code.h116 _LIBCPP_HIDE_FROM_ABI size_t operator()(const error_code& __ec) const _NOEXCEPT {
117 return static_cast<size_t>(__ec.value());
/freebsd/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);
46 [[__noreturn__]] _LIBCPP_HIDE_FROM_ABI inline void __throw_system_error(error_code __ec, const char… in __throw_system_error() argument
48 throw system_error(__ec, __what_arg); in __throw_system_error()
51 …"system_error was thrown in -fno-exceptions mode with error %i and message \"%s\"", __ec.value(), … in __throw_system_error()
H A Derror_condition.h122 _LIBCPP_HIDE_FROM_ABI size_t operator()(const error_condition& __ec) const _NOEXCEPT {
123 return static_cast<size_t>(__ec.value());
H A Derror_code.h135 _LIBCPP_HIDE_FROM_ABI size_t operator()(const error_code& __ec) const _NOEXCEPT {
136 return static_cast<size_t>(__ec.value());
/freebsd/contrib/llvm-project/libcxx/include/__thread/
H A Dthread.h102 int __ec = __libcpp_tls_create(&__key_, &__thread_specific_ptr::__at_thread_exit); in __thread_specific_ptr() local
103 if (__ec) in __thread_specific_ptr()
104 std::__throw_system_error(__ec, "__thread_specific_ptr construction failed"); in __thread_specific_ptr()
213 int __ec = std::__libcpp_thread_create(&__t_, std::addressof(__thread_proxy<_Gp>), __p.get());
214 if (__ec == 0)
217 __throw_system_error(__ec, "thread constructor failed");
225 int __ec = std::__libcpp_thread_create(&__t_, &__thread_proxy_cxx03<_InvokePair>, __pp.get());
226 if (__ec == 0)
229 __throw_system_error(__ec, "thread constructor failed");
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__thread/
H A Dthread.h93 int __ec = __libcpp_tls_create(&__key_, &__thread_specific_ptr::__at_thread_exit); in __thread_specific_ptr() local
94 if (__ec) in __thread_specific_ptr()
95 __throw_system_error(__ec, "__thread_specific_ptr construction failed"); in __thread_specific_ptr()
205 int __ec = std::__libcpp_thread_create(&__t_, &__thread_proxy_cxx03<_InvokePair>, __pp.get());
206 if (__ec == 0)
209 __throw_system_error(__ec, "thread constructor failed");
/freebsd/contrib/llvm-project/libcxx/include/__charconv/
H A Dfrom_chars_floating_point.h35 errc __ec; member
52 if (__r.__ec != errc::invalid_argument) in __from_chars()
54 return {__first + __r.__n, __r.__ec}; in __from_chars()
H A Dto_chars_result.h39 errc __ec; member
42 _LIBCPP_HIDE_FROM_ABI constexpr operator to_chars_result() { return {__ptr, __ec}; } in to_chars_result()
/freebsd/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/contrib/llvm-project/libcxx/include/__condition_variable/
H A Dcondition_variable.h214 int __ec = pthread_cond_clockwait(&__cv_, __lk.mutex()->native_handle(), CLOCK_MONOTONIC, &__ts); in __do_timed_wait() local
215 if (__ec != 0 && __ec != ETIMEDOUT) 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.h226 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/src/include/
H A Dfrom_chars_floating_point.h255 if (__result.__ec == errc::result_out_of_range && __r.is_subnormal() && !__r.is_zero()) in __calculate_result()
256 __result.__ec = errc{}; in __calculate_result()
302 __result.__ec = errc::result_out_of_range; in __from_chars_floating_point_hex()
403 __result.__ec = errc::result_out_of_range; in __from_chars_floating_point_decimal()
/freebsd/contrib/llvm-project/libcxx/include/__ostream/
H A Dbasic_ostream.h588 operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) {
589 return __os << __ec.category().name() << ':' << __ec.value();
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__ostream/
H A Dbasic_ostream.h757 operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) {
758 return __os << __ec.category().name() << ':' << __ec.value();

12