/freebsd/contrib/llvm-project/libcxx/include/__atomic/ |
H A D | atomic_base.h | 33 mutable __cxx_atomic_impl<_Tp> __a_; member 47 std::__cxx_atomic_store(std::addressof(__a_), __d, __m); in _LIBCPP_CHECK_STORE_MEMORY_ORDER() 51 std::__cxx_atomic_store(std::addressof(__a_), __d, __m); in _LIBCPP_CHECK_STORE_MEMORY_ORDER() 55 return std::__cxx_atomic_load(std::addressof(__a_), __m); in _LIBCPP_CHECK_LOAD_MEMORY_ORDER() 59 return std::__cxx_atomic_load(std::addressof(__a_), __m); in _LIBCPP_CHECK_LOAD_MEMORY_ORDER() 64 return std::__cxx_atomic_exchange(std::addressof(__a_), __d, __m); 67 return std::__cxx_atomic_exchange(std::addressof(__a_), __d, __m); 72 …return std::__cxx_atomic_compare_exchange_weak(std::addressof(__a_), std::addressof(__e), __d, __s… in compare_exchange_weak() 76 …return std::__cxx_atomic_compare_exchange_weak(std::addressof(__a_), std::addressof(__e), __d, __s… in compare_exchange_weak() 81 …return std::__cxx_atomic_compare_exchange_strong(std::addressof(__a_), std::addressof(__e), __d, _… in compare_exchange_strong() [all …]
|
H A D | atomic_flag.h | 29 __cxx_atomic_impl<_LIBCPP_ATOMIC_FLAG_TYPE> __a_; member 32 return _LIBCPP_ATOMIC_FLAG_TYPE(true) == __cxx_atomic_load(&__a_, __m); 35 return _LIBCPP_ATOMIC_FLAG_TYPE(true) == __cxx_atomic_load(&__a_, __m); 39 return __cxx_atomic_exchange(&__a_, _LIBCPP_ATOMIC_FLAG_TYPE(true), __m); 42 return __cxx_atomic_exchange(&__a_, _LIBCPP_ATOMIC_FLAG_TYPE(true), __m); 45 __cxx_atomic_store(&__a_, _LIBCPP_ATOMIC_FLAG_TYPE(false), __m); 48 __cxx_atomic_store(&__a_, _LIBCPP_ATOMIC_FLAG_TYPE(false), __m); 73 _LIBCPP_HIDE_FROM_ABI constexpr atomic_flag() _NOEXCEPT : __a_(false) {} in atomic_flag() 78 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR atomic_flag(bool __b) _NOEXCEPT : __a_(__b) {} // EXTENSION in atomic_flag() 88 return std::__cxx_atomic_load(&__a.__a_, __order); [all …]
|
H A D | atomic_sync.h | 62 const _AtomicWaitable& __a_; 67 …auto __current_val = __atomic_waitable_traits<__decay_t<_AtomicWaitable> >::__atomic_load(__a_, __… 92 const _AtomicWaitable& __a_; 107 __monitor_val = __waitable_traits::__atomic_load(__a_, __order_); 117 auto __current_val = __waitable_traits::__atomic_load(__a_, __order_); 124 auto __contention_address = __waitable_traits::__atomic_contention_address(__a_);
|
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/contrib/llvm-project/libcxx/include/__memory/ |
H A D | inout_ptr.h | 42 : __s_(__smart), __a_(std::forward<_Args>(__args)...), __p_([&__smart] { in inout_ptr_t() 69 std::move(__a_)); in ~inout_ptr_t() 72 std::move(__a_)); in ~inout_ptr_t() 77 std::move(__a_)); in ~inout_ptr_t() 93 tuple<_Args...> __a_; variable
|
H A D | out_ptr.h | 42 : __s_(__smart), __a_(std::forward<_Args>(__args)...), __p_() { in out_ptr_t() 64 std::move(__a_)); in ~out_ptr_t() 69 std::move(__a_)); in ~out_ptr_t() 85 tuple<_Args...> __a_; variable
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | latch | 67 __atomic_base<ptrdiff_t> __a_; 72 inline _LIBCPP_HIDE_FROM_ABI constexpr explicit latch(ptrdiff_t __expected) : __a_(__expected) { 89 auto const __old = __a_.fetch_sub(__update, memory_order_release); 95 __a_.notify_all(); 98 auto __value = __a_.load(memory_order_acquire); 103 …__a_, [this](ptrdiff_t& __value) -> bool { return try_wait_impl(__value); }, memory_order_acquire);
|
H A D | semaphore | 86 __atomic_base<ptrdiff_t> __a_; 89 …_LIBCPP_HIDE_FROM_ABI constexpr explicit __atomic_semaphore_base(ptrdiff_t __count) : __a_(__count… 91 auto __old = __a_.fetch_add(__update, memory_order_release); 95 __a_.notify_all(); 100 __a_, [this](ptrdiff_t& __old) { return __try_acquire_impl(__old); }, memory_order_relaxed); 111 auto __old = __a_.load(memory_order_relaxed); 120 if (__a_.compare_exchange_weak(__old, __old - 1, memory_order_acquire, memory_order_relaxed))
|
/freebsd/contrib/llvm-project/libcxx/include/__random/ |
H A D | weibull_distribution.h | 38 result_type __a_; 44 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __a = 1, result_type __b = 1) : __a_(__a), __b_(__b) {} 46 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __a_; } in a() 50 return __x.__a_ == __y.__a_ && __x.__b_ == __y.__b_; 36 result_type __a_; global() variable 43 : __a_(__a), __b_(__b) {} __a_() function
|
H A D | cauchy_distribution.h | 38 result_type __a_; 44 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __a = 0, result_type __b = 1) : __a_(__a), __b_(__b) {} in __a_() function 46 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __a_; } 50 return __x.__a_ == __y.__a_ && __x.__b_ == __y.__b_; 37 result_type __a_; global() variable
|
H A D | extreme_value_distribution.h | 38 result_type __a_; 44 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __a = 0, result_type __b = 1) : __a_(__a), __b_(__b) {} in __a_() function 46 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __a_; } 50 return __x.__a_ == __y.__a_ && __x.__b_ == __y.__b_; 37 result_type __a_; global() variable
|
H A D | uniform_real_distribution.h | 37 result_type __a_; 43 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __a = 0, result_type __b = 1) : __a_(__a), __b_(__b) {} 45 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __a_; } 49 return __x.__a_ == __y.__a_ && __x.__b_ == __y.__b_; in b() 36 result_type __a_; global() variable 44 : __a_(__a), __b_(__b) {} __a_() function
|
H A D | uniform_int_distribution.h | 145 result_type __a_; in __eval() 152 : __a_(__a), __b_(__b) {} in __eval() 154 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __a_; } 158 return __x.__a_ == __y.__a_ && __x.__b_ == __y.__b_; 165 result_type __a_; global() variable 172 : __a_(__a), __b_(__b) {} __a_() function
|