Home
last modified time | relevance | path

Searched refs:atomic_fetch_sub_explicit (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/
H A Datomic_fetch_sub_explicit.pass.cpp34 assert(std::atomic_fetch_sub_explicit(&t, T(2), in operator ()()
37 ASSERT_NOEXCEPT(std::atomic_fetch_sub_explicit(&t, 0, std::memory_order_relaxed)); in operator ()()
42 assert(std::atomic_fetch_sub_explicit(&t, T(2), in operator ()()
45 ASSERT_NOEXCEPT(std::atomic_fetch_sub_explicit(&t, 0, std::memory_order_relaxed)); in operator ()()
58 assert(std::atomic_fetch_sub_explicit(&t, 2, std::memory_order_seq_cst) == &a[2]); in testp()
59 std::atomic_fetch_sub_explicit<T>(&t, 0, std::memory_order_relaxed); in testp()
61 ASSERT_NOEXCEPT(std::atomic_fetch_sub_explicit(&t, 0, std::memory_order_relaxed)); in testp()
68 assert(std::atomic_fetch_sub_explicit(&t, 2, std::memory_order_seq_cst) == &a[2]); in testp()
69 std::atomic_fetch_sub_explicit<T>(&t, 0, std::memory_order_relaxed); in testp()
71 ASSERT_NOEXCEPT(std::atomic_fetch_sub_explicit(&t, 0, std::memory_order_relaxed)); in testp()
/llvm-project-15.0.7/libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/
H A Datomic_fetch_sub_explicit.verify.cpp25 std::atomic_fetch_sub_explicit(&obj, 0, std::memory_order_relaxed); in void_pointer()
30 std::atomic_fetch_sub_explicit(&obj, 0, std::memory_order_relaxed); in void_pointer()
40 std::atomic_fetch_sub_explicit(&obj, 0, std::memory_order_relaxed); in pointer_to_incomplete_type()
45 std::atomic_fetch_sub_explicit(&obj, 0, std::memory_order_relaxed); in pointer_to_incomplete_type()
53 std::atomic_fetch_sub_explicit(&fun, 0, std::memory_order_relaxed); in function_pointer()
58 std::atomic_fetch_sub_explicit(&fun, 0, std::memory_order_relaxed); in function_pointer()
70 std::atomic_fetch_sub_explicit(&fun, 0, std::memory_order_relaxed); in member_function_pointer()
75 std::atomic_fetch_sub_explicit(&fun, 0, std::memory_order_relaxed); in member_function_pointer()
/llvm-project-15.0.7/libcxx/include/
H A Dstdatomic.h209 using std::atomic_fetch_sub_explicit _LIBCPP_USING_IF_EXISTS;
H A Datomic343 T atomic_fetch_sub_explicit(volatile atomic<T>*, atomic<T>::difference_type,
346 T atomic_fetch_sub_explicit(atomic<T>*, atomic<T>::difference_type,
2186 // atomic_fetch_sub_explicit
2190 _Tp atomic_fetch_sub_explicit(volatile atomic<_Tp>* __o, typename atomic<_Tp>::difference_type __op…
2197 _Tp atomic_fetch_sub_explicit(atomic<_Tp>* __o, typename atomic<_Tp>::difference_type __op, memory_…
/llvm-project-15.0.7/clang/lib/Headers/
H A Dstdatomic.h146 #define atomic_fetch_sub_explicit __c11_atomic_fetch_sub macro
H A Dopencl-c.h13832 half __ovld atomic_fetch_sub_explicit(volatile __global atomic_half *,
13836 half __ovld atomic_fetch_sub_explicit(volatile __global atomic_half *,
13845 half __ovld atomic_fetch_sub_explicit(volatile __local atomic_half *,
13849 half __ovld atomic_fetch_sub_explicit(volatile __local atomic_half *,
13859 half __ovld atomic_fetch_sub_explicit(volatile atomic_half *,
13863 half __ovld atomic_fetch_sub_explicit(volatile atomic_half *,
13886 float __ovld atomic_fetch_sub_explicit(volatile __local atomic_float *,
13900 float __ovld atomic_fetch_sub_explicit(volatile atomic_float *,
13904 float __ovld atomic_fetch_sub_explicit(volatile atomic_float *,
13942 double __ovld atomic_fetch_sub_explicit(volatile atomic_double *,
[all …]
/llvm-project-15.0.7/libcxx/test/std/atomics/stdatomic.h.syn/
H A Dtypes.compile.pass.cpp224 using ::atomic_fetch_sub_explicit; in f()
/llvm-project-15.0.7/clang/test/Sema/
H A Datomic-ops.c296 k = atomic_fetch_sub_explicit(&n, k, memory_order_release); in f()
/llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/
H A DCSymbolMap.inc262 SYMBOL(atomic_fetch_sub_explicit, None, <stdatomic.h>)
H A DStdSymbolMap.inc113 SYMBOL(atomic_fetch_sub_explicit, std::, <atomic>)