HomeSort by relevance Sort by last modified time
    Searched refs:__bionic_cmpxchg (Results 1 - 7 of 7) sorted by null

  /bionic/libstdc++/src/
one_time_construction.cpp 76 if (__bionic_cmpxchg(0, pending, &gv->state) == 0) {
80 __bionic_cmpxchg(pending, waiting, &gv->state); // Indicate there is a waiter
96 if (__bionic_cmpxchg(pending, ready, &gv->state) == 0) {
  /bionic/libc/private/
bionic_atomic_gcc_builtin.h 31 __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) function
bionic_atomic_x86.h 42 __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) function
bionic_atomic_mips.h 42 __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) function
bionic_atomic_arm.h 132 __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) function
  /bionic/libc/bionic/
pthread.c 450 * __bionic_cmpxchg() returns 0 if it made the swap successfully.
453 if (__bionic_cmpxchg(unlocked, locked_uncontended, &mutex->value) != 0) {
568 if (__predict_true(__bionic_cmpxchg(mvalue, newval, &mutex->value) == 0)) {
611 if (__bionic_cmpxchg(mvalue, newval, &mutex->value) == 0) {
634 if (__predict_false(__bionic_cmpxchg(mvalue, newval, &mutex->value) != 0)) {
646 if (__predict_false(__bionic_cmpxchg(mvalue, newval, &mutex->value) != 0)) {
704 if (__predict_true(__bionic_cmpxchg(mvalue, newval, &mutex->value) == 0)) {
756 if (__bionic_cmpxchg(shared|MUTEX_STATE_BITS_UNLOCKED,
778 if (__predict_true(__bionic_cmpxchg(mtype, mvalue, &mutex->value) == 0)) {
859 if (__bionic_cmpxchg(unlocked, locked_uncontended, &mutex->value) == 0)
    [all...]
semaphore.c 177 while (__bionic_cmpxchg((int)(old|shared),
201 while (__bionic_cmpxchg((int)(old|shared),
238 while ( __bionic_cmpxchg((int)(old|shared),

Completed in 2972 milliseconds