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 Datomic_compare_exchange_weak.pass.cpp21 // 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 DAndroid.mk51 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 Datomic_compare_exchange_weak.pass.cpp14 // 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 DAndroid.mk83 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 Dsanitizer_lfstack.h42 if (atomic_compare_exchange_weak(&head_, &cmp, xch,
57 if (atomic_compare_exchange_weak(&head_, &cmp, xch,
H A Dsanitizer_persistent_allocator.h40 if (atomic_compare_exchange_weak(&region_pos, &cmp, cmp + size,
H A Dsanitizer_atomic_clang.h89 INLINE bool atomic_compare_exchange_weak(volatile T *a, function in namespace:__sanitizer
H A Dsanitizer_mutex.h146 atomic_compare_exchange_weak(&state_, &cmp, kWriteLock,
H A Dsanitizer_atomic_msvc.h244 INLINE bool atomic_compare_exchange_weak(volatile T *a, function in namespace:__sanitizer
H A Dsanitizer_stackdepotbase.h76 atomic_compare_exchange_weak(p, &cmp, cmp | 1, memory_order_acquire))
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_atomic_test.cc111 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 Dtsan_mutex.cc235 if (atomic_compare_exchange_weak(&state_, &cmp, kWriteLock,

Completed in 6033 milliseconds