Home
last modified time | relevance | path

Searched refs:atomic_compare_exchange_strong_explicit (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/private/
Dbionic_lock.h55 return __predict_true(atomic_compare_exchange_strong_explicit(&state, &old_state, in trylock()
61 if (__predict_true(atomic_compare_exchange_strong_explicit(&state, &old_state, in lock()
/bionic/libc/bionic/
Dpthread_mutex.cpp152 if (__predict_true(atomic_compare_exchange_strong_explicit(&mutex.owner_tid, in PIMutexTryLock()
196 if (__predict_true(atomic_compare_exchange_strong_explicit(&mutex.owner_tid, in PIMutexUnlock()
218 if (__predict_true(atomic_compare_exchange_strong_explicit(&mutex.owner_tid, in PIMutexUnlock()
232 if (atomic_compare_exchange_strong_explicit(&mutex.owner_tid, &old_owner, 0xffffffff, in PIMutexDestroy()
561 if (__predict_true(atomic_compare_exchange_strong_explicit(&mutex->state, &old_state, in NormalMutexTryLock()
740 if (__predict_true(atomic_compare_exchange_strong_explicit(&mutex->state, &old_state, in MutexLockWithTimeout()
937 if (__predict_true(atomic_compare_exchange_strong_explicit(&mutex->state, &old_state, in pthread_mutex_trylock()
1027 atomic_compare_exchange_strong_explicit(&mutex->state, &old_state, 0xffff, in pthread_mutex_destroy()
/bionic/libc/include/bits/
Dstdatomic.h207 #define atomic_compare_exchange_strong_explicit(object, expected, \ macro
237 atomic_compare_exchange_strong_explicit(object, expected, \
/bionic/tests/
Dstdatomic_test.cpp116 ASSERT_TRUE(atomic_compare_exchange_strong_explicit(&i, &expected, 456, memory_order_relaxed, in TEST()
118 ASSERT_FALSE(atomic_compare_exchange_strong_explicit(&i, &expected, 456, memory_order_relaxed, in TEST()
/bionic/libc/include/
Dstdatomic.h66 using std::atomic_compare_exchange_strong_explicit;