Searched refs:atomic_compare_exchange_strong_explicit (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/private/ |
D | bionic_lock.h | 55 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/ |
D | pthread_mutex.cpp | 152 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/ |
D | stdatomic.h | 207 #define atomic_compare_exchange_strong_explicit(object, expected, \ macro 237 atomic_compare_exchange_strong_explicit(object, expected, \
|
/bionic/tests/ |
D | stdatomic_test.cpp | 116 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/ |
D | stdatomic.h | 66 using std::atomic_compare_exchange_strong_explicit;
|