Home
last modified time | relevance | path

Searched refs:android_atomic_cmpxchg (Results 1 – 3 of 3) sorted by relevance

/system/core/libutils/
DRefBase.cpp445 if (android_atomic_cmpxchg(curCount, curCount+1, &impl->mStrong) == 0) { in attemptIncStrong()
471 if (android_atomic_cmpxchg(curCount, curCount + 1, in attemptIncStrong()
524 if (android_atomic_cmpxchg(curCount, curCount-INITIAL_STRONG_VALUE, in attemptIncStrong()
544 if (android_atomic_cmpxchg(curCount, curCount+1, &impl->mWeak) == 0) { in attemptIncWeak()
DSystemClock.cpp124 if (android_atomic_cmpxchg(-1, fd, &s_fd)) { in elapsedRealtimeNano()
/system/core/include/cutils/
Datomic.h235 #define android_atomic_cmpxchg android_atomic_release_cas macro