Lines Matching refs:load
228 addRef(&mStrongRefs, id, mStrong.load(std::memory_order_relaxed)); in addStrongRef()
237 addRef(&mStrongRefs, id, -mStrong.load(std::memory_order_relaxed)); in removeStrongRef()
249 addRef(&mWeakRefs, id, mWeak.load(std::memory_order_relaxed)); in addWeakRef()
256 addRef(&mWeakRefs, id, -mWeak.load(std::memory_order_relaxed)); in removeWeakRef()
445 int32_t flags = refs->mFlags.load(std::memory_order_relaxed); in decStrong()
493 return mRefs->mStrong.load(std::memory_order_relaxed); in getStrongCount()
521 int32_t flags = impl->mFlags.load(std::memory_order_relaxed); in decWeak()
527 if (impl->mStrong.load(std::memory_order_relaxed) in decWeak()
555 int32_t curCount = impl->mStrong.load(std::memory_order_relaxed); in attemptIncStrong()
575 int32_t flags = impl->mFlags.load(std::memory_order_relaxed); in attemptIncStrong()
653 int32_t curCount = impl->mWeak.load(std::memory_order_relaxed); in attemptIncWeak()
675 .load(std::memory_order_relaxed); in getWeakCount()
706 int32_t flags = mRefs->mFlags.load(std::memory_order_relaxed); in ~RefBase()
713 if (mRefs->mWeak.load(std::memory_order_relaxed) == 0) { in ~RefBase()
716 } else if (mRefs->mStrong.load(std::memory_order_relaxed) == INITIAL_STRONG_VALUE) { in ~RefBase()
721 ALOGD("RefBase: Explicit destruction, weak count = %d (in %p)", mRefs->mWeak.load(), this); in ~RefBase()
724 LOG_ALWAYS_FATAL("RefBase: Explicit destruction, weak count = %d", mRefs->mWeak.load()); in ~RefBase()