Searched refs:atomic_compare_exchange_weak_explicit (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/bionic/ |
D | __cxa_guard.cpp | 92 if (!atomic_compare_exchange_weak_explicit(&gv->state, &old_value, in __cxa_guard_acquire() 104 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_rwlock.cpp | 281 if (__predict_true(atomic_compare_exchange_weak_explicit(&rwlock->state, &old_state, new_state, in __pthread_rwlock_tryrdlock() 358 if (__predict_true(atomic_compare_exchange_weak_explicit(&rwlock->state, &old_state, in __pthread_rwlock_trywrlock()
|
D | pthread_mutex.cpp | 465 if (__predict_true(atomic_compare_exchange_weak_explicit(&mutex->state, in __pthread_mutex_lock_with_timeout() 478 if (__predict_false(!atomic_compare_exchange_weak_explicit(&mutex->state, in __pthread_mutex_lock_with_timeout()
|
/bionic/libc/include/ |
D | stdatomic.h | 81 using std::atomic_compare_exchange_weak_explicit; 407 #define atomic_compare_exchange_weak_explicit(object, expected, \ macro 432 #define atomic_compare_exchange_weak_explicit(object, expected, \ macro 463 #define atomic_compare_exchange_weak_explicit(object, expected, \ macro 516 atomic_compare_exchange_weak_explicit(object, expected, \
|
/bionic/tests/ |
D | stdatomic_test.cpp | 134 …ASSERT_TRUE(atomic_compare_exchange_weak_explicit(&i, &expected, 456, memory_order_relaxed, memory… in TEST() 135 …ASSERT_FALSE(atomic_compare_exchange_weak_explicit(&i, &expected, 456, memory_order_relaxed, memor… in TEST()
|