Home
last modified time | relevance | path

Searched refs:atomic_compare_exchange_strong_explicit (Results 1 – 4 of 4) 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/include/
Dstdatomic.h70 using std::atomic_compare_exchange_strong_explicit;
367 #define atomic_compare_exchange_strong_explicit(object, expected, \ macro
392 #define atomic_compare_exchange_strong_explicit(object, expected, \ macro
419 #define atomic_compare_exchange_strong_explicit(object, expected, \ macro
429 atomic_compare_exchange_strong_explicit(object, expected, \
477 atomic_compare_exchange_strong_explicit(object, expected, \
/bionic/libc/bionic/
Dpthread_mutex.cpp281 if (__predict_true(atomic_compare_exchange_strong_explicit(&mutex->state, &old_state, in __pthread_normal_mutex_trylock()
451 if (__predict_true(atomic_compare_exchange_strong_explicit(&mutex->state, &old_state, in __pthread_mutex_lock_with_timeout()
610 if (__predict_true(atomic_compare_exchange_strong_explicit(&mutex->state, &old_state, in pthread_mutex_trylock()
646 atomic_compare_exchange_strong_explicit(&mutex->state, &old_state, 0xffff, in pthread_mutex_destroy()
/bionic/tests/
Dstdatomic_test.cpp119 ASSERT_TRUE(atomic_compare_exchange_strong_explicit(&i, &expected, 456, memory_order_relaxed, in TEST()
121 ASSERT_FALSE(atomic_compare_exchange_strong_explicit(&i, &expected, 456, memory_order_relaxed, in TEST()