Home
last modified time | relevance | path

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

/system/core/libutils/
DRefBase.cpp162 std::atomic<int32_t> mStrong; member in android::RefBase::weakref_impl
170 : mStrong(INITIAL_STRONG_VALUE) in weakref_impl()
189 : mStrong(INITIAL_STRONG_VALUE) in weakref_impl()
241 addRef(&mStrongRefs, id, mStrong.load(std::memory_order_relaxed)); in addStrongRef()
250 addRef(&mStrongRefs, id, -mStrong.load(std::memory_order_relaxed)); in removeStrongRef()
431 const int32_t c = refs->mStrong.fetch_add(1, std::memory_order_relaxed); in incStrong()
440 int32_t old __unused = refs->mStrong.fetch_sub(INITIAL_STRONG_VALUE, std::memory_order_relaxed); in incStrong()
451 const int32_t c = refs->mStrong.fetch_add(1, std::memory_order_relaxed); in incStrongRequireStrong()
464 const int32_t c = refs->mStrong.fetch_sub(1, std::memory_order_release); in decStrong()
501 const int32_t c = refs->mStrong.fetch_add(1, std::memory_order_relaxed); in forceIncStrong()
[all …]