/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
|
/ndk/sources/cxx-stl/llvm-libc++/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);
|
/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
|
/ndk/sources/cxx-stl/llvm-libc++/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);
|
/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));
|
/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9/include/ |
stdatomic.h | 200 #define atomic_compare_exchange_weak(PTR, VAL, DES) \ macro
|
/prebuilts/gcc/darwin-x86/mips/mips64el-linux-android-4.9/lib/gcc/mips64el-linux-android/4.9/include/ |
stdatomic.h | 200 #define atomic_compare_exchange_weak(PTR, VAL, DES) \ macro
|
/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9/include/ |
stdatomic.h | 200 #define atomic_compare_exchange_weak(PTR, VAL, DES) \ macro
|
/prebuilts/gcc/linux-x86/mips/mips64el-linux-android-4.9/lib/gcc/mips64el-linux-android/4.9/include/ |
stdatomic.h | 200 #define atomic_compare_exchange_weak(PTR, VAL, DES) \ macro
|
/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/lib/gcc/x86_64-linux-android/4.9/include/ |
stdatomic.h | 200 #define atomic_compare_exchange_weak(PTR, VAL, DES) \ macro
|
/bionic/libc/include/ |
stdatomic.h | 74 using std::atomic_compare_exchange_weak; 508 #define atomic_compare_exchange_weak(object, expected, desired) \
|
/prebuilts/clang/darwin-x86/host/3.5/lib/clang/3.5/include/ |
stdatomic.h | 74 using std::atomic_compare_exchange_weak; 509 #define atomic_compare_exchange_weak(object, expected, desired) \
|
/prebuilts/clang/linux-x86/host/3.5/lib/clang/3.5/include/ |
stdatomic.h | 74 using std::atomic_compare_exchange_weak; 508 #define atomic_compare_exchange_weak(object, expected, desired) \
|
/prebuilts/ndk/9/platforms/android-19/arch-arm64/usr/include/ |
stdatomic.h | 74 using std::atomic_compare_exchange_weak; 508 #define atomic_compare_exchange_weak(object, expected, desired) \
|
/prebuilts/ndk/9/platforms/android-19/arch-mips64/usr/include/ |
stdatomic.h | 74 using std::atomic_compare_exchange_weak; 508 #define atomic_compare_exchange_weak(object, expected, desired) \
|
/prebuilts/ndk/9/platforms/android-19/arch-x86_64/usr/include/ |
stdatomic.h | 74 using std::atomic_compare_exchange_weak; 508 #define atomic_compare_exchange_weak(object, expected, desired) \
|