| /freebsd-14.2/contrib/llvm-project/libcxx/src/ |
| H A D | barrier.cpp | 24 ptrdiff_t& __expected; member in __barrier_algorithm_base 27 _LIBCPP_HIDDEN __barrier_algorithm_base(ptrdiff_t& __expected) : __expected(__expected) { in __barrier_algorithm_base() argument 28 size_t const __count = (__expected + 1) >> 1; in __barrier_algorithm_base() 33 size_t __current_expected = __expected, in __arrive() 34 __current = hash<thread::id>()(this_thread::get_id()) % ((__expected + 1) >> 1); in __arrive() 62 …RTED_FROM_ABI __barrier_algorithm_base* __construct_barrier_algorithm_base(ptrdiff_t& __expected) { in __construct_barrier_algorithm_base() argument 63 return new __barrier_algorithm_base(__expected); in __construct_barrier_algorithm_base()
|
| H A D | tz.cpp | 66 static void __matches(istream& __input, char __expected) { in __matches() argument 67 if (std::tolower(__input.get()) != __expected) in __matches() 68 …std::__throw_runtime_error((string("corrupt tzdb: expected character '") + __expected + '\'').c_st… in __matches() 71 static void __matches(istream& __input, string_view __expected) { in __matches() argument 72 for (auto __c : __expected) in __matches() 74 …std::__throw_runtime_error((string("corrupt tzdb: expected string '") + string(__expected) + '\'')… in __matches()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__atomic/ |
| H A D | cxx_atomic_impl.h | 165 _Tp* __expected, in __cxx_atomic_compare_exchange_strong() argument 171 __expected, in __cxx_atomic_compare_exchange_strong() 183 __expected, in __cxx_atomic_compare_exchange_strong() 193 _Tp* __expected, in __cxx_atomic_compare_exchange_weak() argument 199 __expected, in __cxx_atomic_compare_exchange_weak() 211 __expected, in __cxx_atomic_compare_exchange_weak() 391 _Tp* __expected, 397 __expected, 408 __expected, 423 __expected, [all …]
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__algorithm/ |
| H A D | three_way_comp_ref_type.h | 48 _Order __expected = __o; in __do_compare_assert() local 50 __expected = _Order::greater; in __do_compare_assert() 52 __expected = _Order::less; in __do_compare_assert() 54 __comp_(__l, __r) == __expected, "Comparator does not induce a strict weak ordering"); in __do_compare_assert()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/src/include/ |
| H A D | atomic_support.h | 76 _ValueType* __expected, 80 …return __atomic_compare_exchange_n(__val, __expected, __after, true, __success_order, __fail_order… 117 __libcpp_atomic_compare_exchange(_ValueType* __val, _ValueType* __expected, _ValueType __after, int… 118 if (*__val == *__expected) { 122 *__expected = *__val;
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ |
| H A D | expected | 43 #include <__expected/bad_expected_access.h> 44 #include <__expected/expected.h> 45 #include <__expected/unexpect.h> 46 #include <__expected/unexpected.h>
|
| H A D | barrier | 103 __construct_barrier_algorithm_base(ptrdiff_t& __expected); 125 __barrier_base(ptrdiff_t __expected, _CompletionF __completion = _CompletionF()) 126 : __expected_(__expected), 173 __atomic_base<ptrdiff_t> __expected; 183 …_LIBCPP_HIDE_FROM_ABI __barrier_base(ptrdiff_t __expected, _CompletionF __completion = _Completion… 184 …: __expected(__expected), __arrived(__expected), __completion(std::move(__completion)), __phase(fa… 188 auto const new_expected = __expected.load(memory_order_relaxed); 205 __expected.fetch_sub(1, memory_order_relaxed);
|
| H A D | latch | 24 constexpr explicit latch(ptrdiff_t __expected); 75 inline _LIBCPP_HIDE_FROM_ABI constexpr explicit latch(ptrdiff_t __expected) : __a_(__expected) { 77 __expected >= 0, 81 __expected <= max(),
|
| H A D | libcxx.imp | 342 { include: [ "<__expected/bad_expected_access.h>", "private", "<expected>", "public" ] }, 343 { include: [ "<__expected/expected.h>", "private", "<expected>", "public" ] }, 344 { include: [ "<__expected/unexpect.h>", "private", "<expected>", "public" ] }, 345 { include: [ "<__expected/unexpected.h>", "private", "<expected>", "public" ] },
|
| H A D | module.modulemap.in | 1263 module std_private_expected_bad_expected_access [system] { header "__expected/bad_expected_access.h… 1264 module std_private_expected_expected [system] { header "__expected/expected.h" } 1265 module std_private_expected_unexpect [system] { header "__expected/unexpect.h" } 1266 module std_private_expected_unexpected [system] { header "__expected/unexpected.h" }
|
| /freebsd-14.2/etc/mtree/ |
| H A D | BSD.include.dist | 45 __expected
|
| /freebsd-14.2/lib/libc++/ |
| H A D | module.modulemap | 1263 module std_private_expected_bad_expected_access [system] { header "__expected/bad_expected_access.h… 1264 module std_private_expected_expected [system] { header "__expected/expected.h" } 1265 module std_private_expected_unexpect [system] { header "__expected/unexpect.h" } 1266 module std_private_expected_unexpected [system] { header "__expected/unexpected.h" }
|
| H A D | Makefile | 694 EXDDIR= ${CXXINCLUDEDIR}/__expected 700 EXD+= ${HDRDIR}/__expected/${hdr}
|