HomeSort by relevance Sort by last modified time
    Searched full:atomic_compare_exchange_weak (Results 1 - 25 of 89) sorted by null

1 2 3 4

  /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/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/
atomic_compare_exchange_weak.pass.cpp 23 // atomic_compare_exchange_weak(shared_ptr<T>* p, shared_ptr<T>* v,
36 bool b = std::atomic_compare_exchange_weak(&p, &v, w);
46 bool b = std::atomic_compare_exchange_weak(&p, &v, w);
  /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/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/
atomic_compare_exchange_weak.pass.cpp 17 // atomic_compare_exchange_weak(volatile atomic<T>* obj, T* expc, T desr);
21 // atomic_compare_exchange_weak(atomic<T>* obj, T* expc, T desr);
41 assert(std::atomic_compare_exchange_weak(&a, &t, T(3)) == false);
53 assert(std::atomic_compare_exchange_weak(&a, &t, T(3)) == false);
  /external/boringssl/src/crypto/
refcount_c11.c 43 if (atomic_compare_exchange_weak(count, &expected, new_value)) {
60 if (atomic_compare_exchange_weak(count, &expected, new_value)) {
  /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 41 if (atomic_compare_exchange_weak(&region_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 152 atomic_compare_exchange_weak(&state_, &cmp, kWriteLock,
sanitizer_stackdepotbase.h 80 atomic_compare_exchange_weak(p, &cmp, cmp | 1, memory_order_acquire))
  /external/libcxx/test/support/
cmpxchg_loop.h 31 if (std::atomic_compare_exchange_weak(atomic, expected, desired) == true) {
  /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/libc/bionic/
pthread_detach.cpp 42 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_DETACHED)) {
pthread_join.cpp 46 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_JOINED)) {
semaphore.cpp 156 } while (!atomic_compare_exchange_weak(sem_count_ptr, &old_value,
176 } while (!atomic_compare_exchange_weak(sem_count_ptr, &old_value,
209 } while (!atomic_compare_exchange_weak(sem_count_ptr, &old_value,
pthread_exit.cpp 96 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_EXITED_NOT_JOINED)) {
  /bionic/tests/
stdatomic_test.cpp 128 ASSERT_TRUE(atomic_compare_exchange_weak(&i, &expected, 456));
129 ASSERT_FALSE(atomic_compare_exchange_weak(&i, &expected, 456));
  /external/clang/lib/Headers/
stdatomic.h 143 #define atomic_compare_exchange_weak(object, expected, desired) __c11_atomic_compare_exchange_weak(object, expected, desired, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) macro
  /external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/
stdatomic.h 143 #define atomic_compare_exchange_weak(object, expected, desired) __c11_atomic_compare_exchange_weak(object, expected, desired, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) macro
  /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/arm/arm-linux-androideabi-4.9/lib/gcc/arm-linux-androideabi/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/darwin-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
  /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/arm/arm-linux-androideabi-4.9/lib/gcc/arm-linux-androideabi/4.9/include/
stdatomic.h 200 #define atomic_compare_exchange_weak(PTR, VAL, DES) \ macro

Completed in 1548 milliseconds

1 2 3 4