Home
last modified time | relevance | path

Searched refs:atomic_compare_exchange_weak_explicit (Results 1 – 6 of 6) sorted by relevance

/bionic/libc/bionic/
D__cxa_guard.cpp92 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()
Dpthread_once.cpp63 if (!atomic_compare_exchange_weak_explicit(once_control_ptr, &old_value, in pthread_once()
Dpthread_rwlock.cpp281 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()
Dpthread_mutex.cpp465 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/
Dstdatomic.h81 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/
Dstdatomic_test.cpp134 …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()