Home
last modified time | relevance | path

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

/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/
Datomic_exchange.pass.cpp35 assert(std::atomic_exchange(&t, T(2)) == T(1)); in operator ()()
39 assert(std::atomic_exchange(&vt, T(4)) == T(3)); in operator ()()
/external/compiler-rt/lib/sanitizer_common/
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_msvc.h157 INLINE u8 atomic_exchange(volatile atomic_uint8_t *a, in atomic_exchange() function
164 INLINE u16 atomic_exchange(volatile atomic_uint16_t *a, in atomic_exchange() function
171 INLINE u32 atomic_exchange(volatile atomic_uint32_t *a, in atomic_exchange() function
Dsanitizer_atomic_clang.h63 INLINE typename T::Type atomic_exchange(volatile T *a, in atomic_exchange() function
Dsanitizer_linux.cc525 if (atomic_exchange(m, MtxLocked, memory_order_acquire) == MtxUnlocked) in Lock()
527 while (atomic_exchange(m, MtxSleeping, memory_order_acquire) != MtxUnlocked) { in Lock()
538 u32 v = atomic_exchange(m, MtxUnlocked, memory_order_relaxed); in Unlock()
Dsanitizer_common_interceptors.inc5346 if (atomic_exchange(&printed, 1, memory_order_relaxed))
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/
Datomic_exchange.pass.cpp37 r = std::atomic_exchange(&p, r); in main()
/external/drrickorang/LoopbackApp/app/src/main/jni/audio_utils/
Datomic.c34 return atomic_exchange(a, value); in android_atomic_exchange()
/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
Dopencl-c.h14974 int __ovld atomic_exchange(volatile atomic_int *object, int desired);
14977 uint __ovld atomic_exchange(volatile atomic_uint *object, uint desired);
14980 float __ovld atomic_exchange(volatile atomic_float *object, float desired);
14985 double __ovld atomic_exchange(volatile atomic_double *object, double desired);
14989 long __ovld atomic_exchange(volatile atomic_long *object, long desired);
14992 ulong __ovld atomic_exchange(volatile atomic_ulong *object, ulong desired);
/external/libcxx/include/
Datomic316 atomic_exchange(volatile atomic<T>* obj, T desr) noexcept;
320 atomic_exchange(atomic<T>* obj, T desr) noexcept;
1260 // atomic_exchange
1265 atomic_exchange(volatile atomic<_Tp>* __o, _Tp __d) _NOEXCEPT
1273 atomic_exchange(atomic<_Tp>* __o, _Tp __d) _NOEXCEPT
Dmemory588 shared_ptr<T> atomic_exchange(shared_ptr<T>* p, shared_ptr<T> r);
5293 atomic_exchange(shared_ptr<_Tp>* __p, shared_ptr<_Tp> __r)
5307 return atomic_exchange(__p, __r);
/external/mesa3d/src/compiler/glsl/
Dir.h1097 ir_intrinsic_ssbo_atomic_exchange = MAKE_INTRINSIC_FOR_TYPE(atomic_exchange, ssbo),
1116 ir_intrinsic_shared_atomic_exchange = MAKE_INTRINSIC_FOR_TYPE(atomic_exchange, shared),
/external/mesa3d/src/compiler/nir/
Dnir_lower_io.c279 OP(atomic_exchange) in lower_atomic()
/external/clang/test/Sema/
Datomic-ops.c236 k = atomic_exchange(&n, 72); in f()
/external/mesa3d/src/compiler/spirv/
Dspirv_to_nir.c1905 OP(AtomicExchange, atomic_exchange) in vtn_handle_image()
1997 OP(AtomicExchange, atomic_exchange) in get_ssbo_nir_atomic_op()
2023 OP(AtomicExchange, atomic_exchange) in get_shared_nir_atomic_op()
/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/deqp/android/cts/master/
Dgles31-master.txt16815 dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader_function.atomic_exchange
17316 dEQP-GLES31.functional.debug.negative_coverage.log.shader_function.atomic_exchange
17815 dEQP-GLES31.functional.debug.negative_coverage.get_error.shader_function.atomic_exchange
/external/deqp/android/cts/nyc/
Dgles31-master.txt16740 dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader_function.atomic_exchange
17185 dEQP-GLES31.functional.debug.negative_coverage.log.shader_function.atomic_exchange
17628 dEQP-GLES31.functional.debug.negative_coverage.get_error.shader_function.atomic_exchange
/external/deqp/android/cts/nyc/src/
Dgles31-master.txt16740 dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader_function.atomic_exchange
17185 dEQP-GLES31.functional.debug.negative_coverage.log.shader_function.atomic_exchange
17628 dEQP-GLES31.functional.debug.negative_coverage.get_error.shader_function.atomic_exchange