Searched refs:atomic_compare_exchange_strong_explicit (Results 1 – 4 of 4) 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/include/ |
D | stdatomic.h | 70 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/ |
D | pthread_mutex.cpp | 281 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/ |
D | stdatomic_test.cpp | 119 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()
|