Home
last modified time | relevance | path

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

/system/core/libutils/
DRefBase.cpp163 std::atomic<int32_t> mWeak; member in android::RefBase::weakref_impl
171 , mWeak(0) in weakref_impl()
190 , mWeak(0) in weakref_impl()
262 addRef(&mWeakRefs, id, mWeak.load(std::memory_order_relaxed)); in addWeakRef()
269 addRef(&mWeakRefs, id, -mWeak.load(std::memory_order_relaxed)); in removeWeakRef()
533 const int32_t c __unused = impl->mWeak.fetch_add(1, in incWeak()
542 const int32_t c __unused = impl->mWeak.fetch_add(1, in incWeakRequireWeak()
551 const int32_t c = impl->mWeak.fetch_sub(1, std::memory_order_release); in decWeak()
689 int32_t curCount = impl->mWeak.load(std::memory_order_relaxed); in attemptIncWeak()
693 if (impl->mWeak.compare_exchange_weak(curCount, curCount+1, in attemptIncWeak()
[all …]