| /freebsd-14.2/contrib/llvm-project/libcxx/include/__atomic/ |
| H A D | atomic_base.h | 34 mutable __cxx_atomic_impl<_Tp> __a_; member 48 std::__cxx_atomic_store(std::addressof(__a_), __d, __m); in _LIBCPP_CHECK_STORE_MEMORY_ORDER() 52 std::__cxx_atomic_store(std::addressof(__a_), __d, __m); in _LIBCPP_CHECK_STORE_MEMORY_ORDER() 56 return std::__cxx_atomic_load(std::addressof(__a_), __m); in _LIBCPP_CHECK_LOAD_MEMORY_ORDER() 60 return std::__cxx_atomic_load(std::addressof(__a_), __m); in _LIBCPP_CHECK_LOAD_MEMORY_ORDER() 107 std::__cxx_atomic_wait(std::addressof(__a_), __v, __m); 111 std::__cxx_atomic_wait(std::addressof(__a_), __v, __m); 114 std::__cxx_atomic_notify_one(std::addressof(__a_)); in notify_one() 117 std::__cxx_atomic_notify_one(std::addressof(__a_)); in notify_one() 120 std::__cxx_atomic_notify_all(std::addressof(__a_)); in notify_all() [all …]
|
| H A D | atomic_flag.h | 28 __cxx_atomic_impl<_LIBCPP_ATOMIC_FLAG_TYPE> __a_; member 31 return _LIBCPP_ATOMIC_FLAG_TYPE(true) == __cxx_atomic_load(&__a_, __m); 34 return _LIBCPP_ATOMIC_FLAG_TYPE(true) == __cxx_atomic_load(&__a_, __m); 38 return __cxx_atomic_exchange(&__a_, _LIBCPP_ATOMIC_FLAG_TYPE(true), __m); 44 __cxx_atomic_store(&__a_, _LIBCPP_ATOMIC_FLAG_TYPE(false), __m); 47 __cxx_atomic_store(&__a_, _LIBCPP_ATOMIC_FLAG_TYPE(false), __m); 52 __cxx_atomic_wait(&__a_, _LIBCPP_ATOMIC_FLAG_TYPE(__v), __m); 56 __cxx_atomic_wait(&__a_, _LIBCPP_ATOMIC_FLAG_TYPE(__v), __m); 59 __cxx_atomic_notify_one(&__a_); in notify_one() 63 __cxx_atomic_notify_all(&__a_); in notify_all() [all …]
|
| H A D | atomic.h | 86 return std::__cxx_atomic_fetch_add(std::addressof(this->__a_), __op, __m); 92 return std::__cxx_atomic_fetch_add(std::addressof(this->__a_), __op, __m); 98 return std::__cxx_atomic_fetch_sub(std::addressof(this->__a_), __op, __m); 104 return std::__cxx_atomic_fetch_sub(std::addressof(this->__a_), __op, __m); 157 return __builtin_op(std::addressof(std::forward<_This>(__self).__a_), __operand, __m); 167 std::__cxx_atomic_load_inplace(std::addressof(__self.__a_), &__old, memory_order_relaxed); 271 std::__cxx_atomic_init(std::addressof(__o->__a_), __d); 277 std::__cxx_atomic_init(std::addressof(__o->__a_), __d);
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ |
| H A D | semaphore | 89 __atomic_base<ptrdiff_t> __a_; 92 …_LIBCPP_HIDE_FROM_ABI constexpr explicit __atomic_semaphore_base(ptrdiff_t __count) : __a_(__count… 94 auto __old = __a_.fetch_add(__update, memory_order_release); 101 __a_.notify_all(); 103 __a_.notify_one(); 107 auto __old = __a_.load(memory_order_relaxed); 108 …return (__old != 0) && __a_.compare_exchange_strong(__old, __old - 1, memory_order_acquire, memory… 110 __cxx_atomic_wait(&__a_.__a_, __test_fn); 121 auto __old = __a_.load(memory_order_acquire); 125 … if (__a_.compare_exchange_strong(__old, __old - 1, memory_order_acquire, memory_order_relaxed))
|
| H A D | latch | 70 __atomic_base<ptrdiff_t> __a_; 75 inline _LIBCPP_HIDE_FROM_ABI constexpr explicit latch(ptrdiff_t __expected) : __a_(__expected) { 92 auto const __old = __a_.fetch_sub(__update, memory_order_release); 98 __a_.notify_all(); 100 …inline _LIBCPP_HIDE_FROM_ABI bool try_wait() const noexcept { return 0 == __a_.load(memory_order_a… 102 __cxx_atomic_wait(&__a_.__a_, [this]() -> bool { return try_wait(); });
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__random/ |
| H A D | weibull_distribution.h | 38 result_type __a_; variable 44 …_LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __a = 1, result_type __b = 1) : __a_(__a), _… in __a_() function 46 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __a_; } in a() 50 return __x.__a_ == __y.__a_ && __x.__b_ == __y.__b_;
|
| H A D | cauchy_distribution.h | 38 result_type __a_; variable 44 …_LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __a = 0, result_type __b = 1) : __a_(__a), _… in __a_() function 46 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __a_; } in a() 50 return __x.__a_ == __y.__a_ && __x.__b_ == __y.__b_;
|
| H A D | extreme_value_distribution.h | 38 result_type __a_; variable 44 …_LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __a = 0, result_type __b = 1) : __a_(__a), _… in __a_() function 46 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __a_; } in a() 50 return __x.__a_ == __y.__a_ && __x.__b_ == __y.__b_;
|
| H A D | uniform_real_distribution.h | 37 result_type __a_; variable 43 …_LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __a = 0, result_type __b = 1) : __a_(__a), _… in __a_() function 45 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __a_; } in a() 49 return __x.__a_ == __y.__a_ && __x.__b_ == __y.__b_;
|
| H A D | uniform_int_distribution.h | 145 result_type __a_; variable 152 : __a_(__a), __b_(__b) {} in __a_() function 154 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __a_; } in a() 158 return __x.__a_ == __y.__a_ && __x.__b_ == __y.__b_;
|