Home
last modified time | relevance | path

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

/system/core/libutils/
DRefBase.cpp68 volatile int32_t mWeak; member in android::RefBase::weakref_impl
76 , mWeak(0) in weakref_impl()
95 , mWeak(0) in weakref_impl()
165 addRef(&mWeakRefs, id, mWeak); in addWeakRef()
172 addRef(&mWeakRefs, id, -mWeak); in removeWeakRef()
395 const int32_t c __unused = android_atomic_inc(&impl->mWeak); in incWeak()
404 const int32_t c = android_atomic_dec(&impl->mWeak); in decWeak()
540 int32_t curCount = impl->mWeak; in attemptIncWeak()
544 if (android_atomic_cmpxchg(curCount, curCount+1, &impl->mWeak) == 0) { in attemptIncWeak()
547 curCount = impl->mWeak; in attemptIncWeak()
[all …]