/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared.atomic/ |
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);
|
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/ |
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);
|
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/ |
sanitizer_lfstack.h | 42 if (atomic_compare_exchange_weak(&head_, &cmp, xch, 57 if (atomic_compare_exchange_weak(&head_, &cmp, xch,
|
sanitizer_persistent_allocator.h | 40 if (atomic_compare_exchange_weak(®ion_pos, &cmp, cmp + size,
|
sanitizer_atomic_clang.h | 89 INLINE bool atomic_compare_exchange_weak(volatile T *a, function in namespace:__sanitizer
|
sanitizer_mutex.h | 146 atomic_compare_exchange_weak(&state_, &cmp, kWriteLock,
|
sanitizer_stackdepotbase.h | 76 atomic_compare_exchange_weak(p, &cmp, cmp | 1, memory_order_acquire))
|
sanitizer_atomic_msvc.h | 244 INLINE bool atomic_compare_exchange_weak(volatile T *a, function in namespace:__sanitizer
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
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,
|
/bionic/tests/ |
stdatomic_test.cpp | 126 ASSERT_TRUE(atomic_compare_exchange_weak(&i, &expected, 456)); 127 ASSERT_FALSE(atomic_compare_exchange_weak(&i, &expected, 456));
|
/bionic/libc/include/ |
stdatomic.h | 74 using std::atomic_compare_exchange_weak; 509 #define atomic_compare_exchange_weak(object, expected, desired) \
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_mutex.cc | 235 if (atomic_compare_exchange_weak(&state_, &cmp, kWriteLock,
|
/development/ndk/platforms/android-L/include/ |
stdatomic.h | 355 #define atomic_compare_exchange_weak(object, expected, desired) \ macro
|