Searched refs:atomic_exchange (Results 1 - 11 of 11) sorted by relevance

/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared.atomic/
H A Datomic_exchange.pass.cpp21 // atomic_exchange(shared_ptr<T>* p, shared_ptr<T> r)
32 r = std::atomic_exchange(&p, r);
H A DAndroid.mk23 test_name := utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_exchange
24 test_src := atomic_exchange.pass.cpp
/external/libcxx/test/atomics/atomics.types.operations/atomics.types.operations.req/
H A Datomic_exchange.pass.cpp14 // atomic_exchange(volatile atomic<T>* obj, T desr);
18 // atomic_exchange(atomic<T>* obj, T desr);
31 assert(std::atomic_exchange(&t, T(2)) == T(1));
35 assert(std::atomic_exchange(&vt, T(4)) == T(3));
H A DAndroid.mk27 test_name := atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange
28 test_src := atomic_exchange.pass.cpp
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h36 return atomic_exchange(&state_, 1, memory_order_acquire) == 0;
57 && atomic_exchange(&state_, 1, memory_order_acquire) == 0)
H A Dsanitizer_atomic_clang.h63 INLINE typename T::Type atomic_exchange(volatile T *a, function in namespace:__sanitizer
H A Dsanitizer_atomic_msvc.h144 INLINE u8 atomic_exchange(volatile atomic_uint8_t *a, function in namespace:__sanitizer
157 INLINE u16 atomic_exchange(volatile atomic_uint16_t *a, function in namespace:__sanitizer
H A Dsanitizer_linux.cc439 if (atomic_exchange(m, MtxLocked, memory_order_acquire) == MtxUnlocked)
441 while (atomic_exchange(m, MtxSleeping, memory_order_acquire) != MtxUnlocked) {
452 u32 v = atomic_exchange(m, MtxUnlocked, memory_order_relaxed);
/external/compiler-rt/lib/ubsan/
H A Dubsan_value.h68 u32 OldColumn = __sanitizer::atomic_exchange(
/external/compiler-rt/lib/msan/
H A Dmsan_interceptors.cc1156 if (atomic_exchange(&printed, 1, memory_order_relaxed))
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors.cc1912 if (atomic_exchange(&printed, 1, memory_order_relaxed))

Completed in 154 milliseconds