Searched refs:atomic_exchange (Results 1 – 13 of 13) sorted by relevance
/external/libcxx/test/atomics/atomics.types.operations/atomics.types.operations.req/ |
D | atomic_exchange.pass.cpp | 31 assert(std::atomic_exchange(&t, T(2)) == T(1)); in test() 35 assert(std::atomic_exchange(&vt, T(4)) == T(3)); in test()
|
D | Android.mk | 27 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/ |
D | sanitizer_mutex.h | 36 return atomic_exchange(&state_, 1, memory_order_acquire) == 0; in TryLock() 57 && atomic_exchange(&state_, 1, memory_order_acquire) == 0) in LockSlow()
|
D | sanitizer_atomic_msvc.h | 144 INLINE u8 atomic_exchange(volatile atomic_uint8_t *a, in atomic_exchange() function 157 INLINE u16 atomic_exchange(volatile atomic_uint16_t *a, in atomic_exchange() function
|
D | sanitizer_atomic_clang.h | 63 INLINE typename T::Type atomic_exchange(volatile T *a, in atomic_exchange() function
|
D | sanitizer_linux.cc | 439 if (atomic_exchange(m, MtxLocked, memory_order_acquire) == MtxUnlocked) in Lock() 441 while (atomic_exchange(m, MtxSleeping, memory_order_acquire) != MtxUnlocked) { in Lock() 452 u32 v = atomic_exchange(m, MtxUnlocked, memory_order_relaxed); in Unlock()
|
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared.atomic/ |
D | Android.mk | 23 test_name := utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_exchange 24 test_src := atomic_exchange.pass.cpp
|
D | atomic_exchange.pass.cpp | 32 r = std::atomic_exchange(&p, r); in main()
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_value.h | 68 u32 OldColumn = __sanitizer::atomic_exchange( in acquire()
|
/external/libcxx/include/ |
D | atomic | 309 atomic_exchange(volatile atomic<T>* obj, T desr) noexcept; 313 atomic_exchange(atomic<T>* obj, T desr) noexcept; 1165 // atomic_exchange 1170 atomic_exchange(volatile atomic<_Tp>* __o, _Tp __d) _NOEXCEPT 1178 atomic_exchange(atomic<_Tp>* __o, _Tp __d) _NOEXCEPT
|
D | memory | 557 shared_ptr<T> atomic_exchange(shared_ptr<T>* p, shared_ptr<T> r); 5330 atomic_exchange(shared_ptr<_Tp>* __p, shared_ptr<_Tp> __r) 5344 return atomic_exchange(__p, __r);
|
/external/compiler-rt/lib/msan/ |
D | msan_interceptors.cc | 1156 if (atomic_exchange(&printed, 1, memory_order_relaxed)) in MlockIsUnsupported()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interceptors.cc | 1912 if (atomic_exchange(&printed, 1, memory_order_relaxed)) in MlockIsUnsupported()
|