Searched refs:atomic_compare_exchange_weak (Results 1 - 12 of 12) sorted by relevance
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared.atomic/ |
H A D | atomic_compare_exchange_weak.pass.cpp | 21 // atomic_compare_exchange_weak(shared_ptr<T>* p, shared_ptr<T>* v, 34 bool b = std::atomic_compare_exchange_weak(&p, &v, w); 44 bool b = std::atomic_compare_exchange_weak(&p, &v, w);
|
H A D | Android.mk | 51 test_name := utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_compare_exchange_weak 52 test_src := atomic_compare_exchange_weak.pass.cpp
|
/external/libcxx/test/atomics/atomics.types.operations/atomics.types.operations.req/ |
H A D | atomic_compare_exchange_weak.pass.cpp | 14 // atomic_compare_exchange_weak(volatile atomic<T>* obj, T* expc, T desr); 18 // atomic_compare_exchange_weak(atomic<T>* obj, T* expc, T desr); 33 assert(std::atomic_compare_exchange_weak(&a, &t, T(2)) == true); 36 assert(std::atomic_compare_exchange_weak(&a, &t, T(3)) == false); 45 assert(std::atomic_compare_exchange_weak(&a, &t, T(2)) == true); 48 assert(std::atomic_compare_exchange_weak(&a, &t, T(3)) == false);
|
H A D | Android.mk | 83 test_name := atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak 84 test_src := atomic_compare_exchange_weak.pass.cpp
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_lfstack.h | 42 if (atomic_compare_exchange_weak(&head_, &cmp, xch, 57 if (atomic_compare_exchange_weak(&head_, &cmp, xch,
|
H A D | sanitizer_persistent_allocator.h | 40 if (atomic_compare_exchange_weak(®ion_pos, &cmp, cmp + size,
|
H A D | sanitizer_atomic_clang.h | 89 INLINE bool atomic_compare_exchange_weak(volatile T *a, function in namespace:__sanitizer
|
H A D | sanitizer_mutex.h | 146 atomic_compare_exchange_weak(&state_, &cmp, kWriteLock,
|
H A D | sanitizer_atomic_msvc.h | 244 INLINE bool atomic_compare_exchange_weak(volatile T *a, function in namespace:__sanitizer
|
H A D | sanitizer_stackdepotbase.h | 76 atomic_compare_exchange_weak(p, &cmp, cmp | 1, memory_order_acquire))
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_atomic_test.cc | 111 EXPECT_TRUE(atomic_compare_exchange_weak((T*)&var, &old_val, new_val, 113 EXPECT_FALSE(atomic_compare_exchange_weak((T*)&var, &old_val, new_val,
|
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_mutex.cc | 235 if (atomic_compare_exchange_weak(&state_, &cmp, kWriteLock,
|
Completed in 177 milliseconds