Home
last modified time | relevance | path

Searched refs:atomic_exchange (Results 1 – 16 of 16) sorted by relevance

/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/
Datomic_exchange.pass.cpp34 assert(std::atomic_exchange(&t, T(2)) == T(1)); in test()
38 assert(std::atomic_exchange(&vt, T(4)) == T(3)); in test()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_atomic_msvc.h153 INLINE u8 atomic_exchange(volatile atomic_uint8_t *a, in atomic_exchange() function
160 INLINE u16 atomic_exchange(volatile atomic_uint16_t *a, in atomic_exchange() function
167 INLINE u32 atomic_exchange(volatile atomic_uint32_t *a, in atomic_exchange() function
Dsanitizer_mutex.h36 return atomic_exchange(&state_, 1, memory_order_acquire) == 0; in TryLock()
57 && atomic_exchange(&state_, 1, memory_order_acquire) == 0) in LockSlow()
Dsanitizer_atomic_clang.h63 INLINE typename T::Type atomic_exchange(volatile T *a, in atomic_exchange() function
Dsanitizer_linux.cc467 if (atomic_exchange(m, MtxLocked, memory_order_acquire) == MtxUnlocked) in Lock()
469 while (atomic_exchange(m, MtxSleeping, memory_order_acquire) != MtxUnlocked) { in Lock()
480 u32 v = atomic_exchange(m, MtxUnlocked, memory_order_relaxed); in Unlock()
Dsanitizer_common_interceptors.inc5039 if (atomic_exchange(&printed, 1, memory_order_relaxed))
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/
Datomic_exchange.pass.cpp34 r = std::atomic_exchange(&p, r); in main()
/external/compiler-rt/lib/ubsan/
Dubsan_value.h61 u32 OldColumn = __sanitizer::atomic_exchange( in acquire()
/external/clang/lib/Headers/
Dstdatomic.h137 #define atomic_exchange(object, desired) __c11_atomic_exchange(object, desired, __ATOMIC_SEQ_CST) macro
/external/libcxx/include/
Datomic309 atomic_exchange(volatile atomic<T>* obj, T desr) noexcept;
313 atomic_exchange(atomic<T>* obj, T desr) noexcept;
1182 // atomic_exchange
1187 atomic_exchange(volatile atomic<_Tp>* __o, _Tp __d) _NOEXCEPT
1195 atomic_exchange(atomic<_Tp>* __o, _Tp __d) _NOEXCEPT
Dmemory559 shared_ptr<T> atomic_exchange(shared_ptr<T>* p, shared_ptr<T> r);
5450 atomic_exchange(shared_ptr<_Tp>* __p, shared_ptr<_Tp> __r)
5464 return atomic_exchange(__p, __r);
/external/clang/test/Sema/
Datomic-ops.c227 k = atomic_exchange(&n, 72); in f()
/external/deqp/modules/gles31/functional/
Des31fNegativeShaderFunctionTests.cpp3988 void atomic_exchange (NegativeTestContext& ctx) in atomic_exchange() function
4462 {atomic_exchange, "atomic_exchange", "Invalid usage of atomicExchange." }, in getNegativeShaderFunctionTestFunctions()
/external/opencv3/modules/videoio/src/
Dppltasks_winrt.hpp1637 Concurrency::details::atomic_exchange(_M_exceptionObserved, 1l); in _RethrowUserException()
/external/opencv3/modules/highgui/src/
Dppltasks_winrt.h1637 Concurrency::details::atomic_exchange(_M_exceptionObserved, 1l);
/external/deqp/android/cts/master/
Dgles31-master.txt16722 dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader_function.atomic_exchange
17147 dEQP-GLES31.functional.debug.negative_coverage.log.shader_function.atomic_exchange
17570 dEQP-GLES31.functional.debug.negative_coverage.get_error.shader_function.atomic_exchange