Lines Matching refs:load
241 addRef(&mStrongRefs, id, mStrong.load(std::memory_order_relaxed)); in addStrongRef()
250 addRef(&mStrongRefs, id, -mStrong.load(std::memory_order_relaxed)); in removeStrongRef()
262 addRef(&mWeakRefs, id, mWeak.load(std::memory_order_relaxed)); in addWeakRef()
269 addRef(&mWeakRefs, id, -mWeak.load(std::memory_order_relaxed)); in removeWeakRef()
473 int32_t flags = refs->mFlags.load(std::memory_order_relaxed); in decStrong()
521 return mRefs->mStrong.load(std::memory_order_relaxed); in getStrongCount()
557 int32_t flags = impl->mFlags.load(std::memory_order_relaxed); in decWeak()
563 if (impl->mStrong.load(std::memory_order_relaxed) in decWeak()
591 int32_t curCount = impl->mStrong.load(std::memory_order_relaxed); in attemptIncStrong()
611 int32_t flags = impl->mFlags.load(std::memory_order_relaxed); in attemptIncStrong()
689 int32_t curCount = impl->mWeak.load(std::memory_order_relaxed); in attemptIncWeak()
711 .load(std::memory_order_relaxed); in getWeakCount()
742 int32_t flags = mRefs->mFlags.load(std::memory_order_relaxed); in ~RefBase()
749 if (mRefs->mWeak.load(std::memory_order_relaxed) == 0) { in ~RefBase()
752 } else if (mRefs->mStrong.load(std::memory_order_relaxed) == INITIAL_STRONG_VALUE) { in ~RefBase()
757 ALOGD("RefBase: Explicit destruction, weak count = %d (in %p)", mRefs->mWeak.load(), this); in ~RefBase()
763 LOG_ALWAYS_FATAL("RefBase: Explicit destruction, weak count = %d", mRefs->mWeak.load()); in ~RefBase()