Lines Matching refs:mStrong
138 std::atomic<int32_t> mStrong; member in android::RefBase::weakref_impl
146 : mStrong(INITIAL_STRONG_VALUE) in weakref_impl()
165 : mStrong(INITIAL_STRONG_VALUE) in weakref_impl()
215 addRef(&mStrongRefs, id, mStrong.load(std::memory_order_relaxed)); in addStrongRef()
224 addRef(&mStrongRefs, id, -mStrong.load(std::memory_order_relaxed)); in removeStrongRef()
404 const int32_t c = refs->mStrong.fetch_add(1, std::memory_order_relaxed); in incStrong()
413 int32_t old = refs->mStrong.fetch_sub(INITIAL_STRONG_VALUE, in incStrong()
424 const int32_t c = refs->mStrong.fetch_sub(1, std::memory_order_release); in decStrong()
456 const int32_t c = refs->mStrong.fetch_add(1, std::memory_order_relaxed); in forceIncStrong()
465 refs->mStrong.fetch_sub(INITIAL_STRONG_VALUE, in forceIncStrong()
476 return mRefs->mStrong.load(std::memory_order_relaxed); in getStrongCount()
510 if (impl->mStrong.load(std::memory_order_relaxed) in decWeak()
538 int32_t curCount = impl->mStrong.load(std::memory_order_relaxed); in attemptIncStrong()
546 if (impl->mStrong.compare_exchange_weak(curCount, curCount+1, in attemptIncStrong()
573 if (impl->mStrong.compare_exchange_weak(curCount, curCount+1, in attemptIncStrong()
599 curCount = impl->mStrong.fetch_add(1, std::memory_order_relaxed); in attemptIncStrong()
625 impl->mStrong.fetch_sub(INITIAL_STRONG_VALUE, in attemptIncStrong()
699 } else if (mRefs->mStrong.load(std::memory_order_relaxed) in ~RefBase()