Home
last modified time | relevance | path

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

12

/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/oj-libjdwp/src/share/back/
DDDMImpl.c108 jboolean ddm_newly_active = !atomic_exchange(&ddmIsActive, JNI_TRUE); in chunk()
141 atomic_exchange(&ddmIsActive, gdata->ddmInitiallyActive); in DDM_initialize()
146 jboolean was_active = atomic_exchange(&ddmIsActive, JNI_FALSE); in DDM_onDisconnect()
/external/compiler-rt/lib/sanitizer_common/
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_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.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/cpp/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/mesa3d/src/compiler/glsl/
Dir.h1114 ir_intrinsic_ssbo_atomic_exchange = MAKE_INTRINSIC_FOR_TYPE(atomic_exchange, ssbo),
1140 ir_intrinsic_shared_atomic_exchange = MAKE_INTRINSIC_FOR_TYPE(atomic_exchange, shared),
/external/v8/src/wasm/
Dwasm-interpreter.cc1556 ATOMIC_BINOP_CASE(I32AtomicExchange, uint32_t, uint32_t, atomic_exchange); in ExecuteAtomicOp()
1558 atomic_exchange); in ExecuteAtomicOp()
1560 atomic_exchange); in ExecuteAtomicOp()
1581 ATOMIC_BINOP_CASE(I64AtomicExchange, uint64_t, uint64_t, atomic_exchange); in ExecuteAtomicOp()
1583 atomic_exchange); in ExecuteAtomicOp()
1585 atomic_exchange); in ExecuteAtomicOp()
1587 atomic_exchange); in ExecuteAtomicOp()
/external/libcxx/include/
Datomic316 atomic_exchange(volatile atomic<T>* obj, T desr) noexcept;
320 atomic_exchange(atomic<T>* obj, T desr) noexcept;
1273 // atomic_exchange
1278 atomic_exchange(volatile atomic<_Tp>* __o, _Tp __d) _NOEXCEPT
1286 atomic_exchange(atomic<_Tp>* __o, _Tp __d) _NOEXCEPT
Dmemory610 shared_ptr<T> atomic_exchange(shared_ptr<T>* p, shared_ptr<T> r);
5468 atomic_exchange(shared_ptr<_Tp>* __p, shared_ptr<_Tp> __r)
5483 return atomic_exchange(__p, __r);
/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.c2336 OP(AtomicExchange, atomic_exchange) in vtn_handle_image()
2434 OP(AtomicExchange, atomic_exchange) in get_ssbo_nir_atomic_op()
2460 OP(AtomicExchange, atomic_exchange) in get_shared_nir_atomic_op()
2486 OP(AtomicExchange, atomic_exchange) in get_var_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/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
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.4.x/src/
Dgles31-master.txt18857 dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader_function.atomic_exchange
19355 dEQP-GLES31.functional.debug.negative_coverage.log.shader_function.atomic_exchange
19853 dEQP-GLES31.functional.debug.negative_coverage.get_error.shader_function.atomic_exchange
/external/deqp/android/cts/master/
Dgles31-master.txt18733 dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader_function.atomic_exchange
19231 dEQP-GLES31.functional.debug.negative_coverage.log.shader_function.atomic_exchange
19727 dEQP-GLES31.functional.debug.negative_coverage.get_error.shader_function.atomic_exchange
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.3.x/src/
Dgles31-master.txt18734 dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader_function.atomic_exchange
19222 dEQP-GLES31.functional.debug.negative_coverage.log.shader_function.atomic_exchange
19710 dEQP-GLES31.functional.debug.negative_coverage.get_error.shader_function.atomic_exchange

12