Searched refs:atomic_compare_exchange_weak_explicit (Results 1 – 8 of 8) sorted by relevance
/bionic/libc/bionic/ |
D | __cxa_guard.cpp | 89 if (!atomic_compare_exchange_weak_explicit(&gv->state, &old_value, in __cxa_guard_acquire() 97 if (!atomic_compare_exchange_weak_explicit(&gv->state, &old_value, in __cxa_guard_acquire()
|
D | pthread_once.cpp | 63 if (!atomic_compare_exchange_weak_explicit(once_control_ptr, &old_value, in pthread_once()
|
D | pthread_barrier.cpp | 135 if (atomic_compare_exchange_weak_explicit(&barrier->wait_count, &prev_wait_count, in pthread_barrier_wait()
|
D | pthread_rwlock.cpp | 281 if (__predict_true(atomic_compare_exchange_weak_explicit(&rwlock->state, &old_state, new_state, in __pthread_rwlock_tryrdlock() 351 if (__predict_true(atomic_compare_exchange_weak_explicit(&rwlock->state, &old_state, in __pthread_rwlock_trywrlock()
|
D | pthread_mutex.cpp | 757 if (__predict_true(atomic_compare_exchange_weak_explicit(&mutex->state, in MutexLockWithTimeout() 770 if (__predict_false(!atomic_compare_exchange_weak_explicit(&mutex->state, in MutexLockWithTimeout()
|
/bionic/libc/include/bits/ |
D | stdatomic.h | 211 #define atomic_compare_exchange_weak_explicit(object, expected, \ macro 240 atomic_compare_exchange_weak_explicit(object, expected, \
|
/bionic/tests/ |
D | stdatomic_test.cpp | 140 } while(!atomic_compare_exchange_weak_explicit(&i, &expected, 456, memory_order_relaxed, in TEST() 142 ASSERT_FALSE(atomic_compare_exchange_weak_explicit(&i, &expected, 456, memory_order_relaxed, in TEST()
|
/bionic/libc/include/ |
D | stdatomic.h | 68 using std::atomic_compare_exchange_weak_explicit;
|