Searched refs:android_atomic_cmpxchg (Results 1 – 3 of 3) sorted by relevance
/system/core/libutils/ |
D | RefBase.cpp | 445 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()
|
D | SystemClock.cpp | 124 if (android_atomic_cmpxchg(-1, fd, &s_fd)) { in elapsedRealtimeNano()
|
/system/core/include/cutils/ |
D | atomic.h | 235 #define android_atomic_cmpxchg android_atomic_release_cas macro
|