Lines Matching refs:mRefs
427 weakref_impl* const refs = mRefs; in incStrong()
447 weakref_impl* const refs = mRefs; in incStrongRequireStrong()
462 weakref_impl* const refs = mRefs; in decStrong()
497 weakref_impl* const refs = mRefs; in forceIncStrong()
521 return mRefs->mStrong.load(std::memory_order_relaxed); in getStrongCount()
726 mRefs->incWeak(id); in createWeak()
727 return mRefs; in createWeak()
732 return mRefs; in getWeakRefs()
736 : mRefs(new weakref_impl(this)) in RefBase()
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()
750 delete mRefs; 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()
767 const_cast<weakref_impl*&>(mRefs) = nullptr; in ~RefBase()
774 mRefs->mFlags.fetch_or(mode, std::memory_order_relaxed); in extendObjectLifetime()
815 ref->mRefs->renameStrongRefId(old_id, new_id); in renameRefId()
816 ref->mRefs->renameWeakRefId(old_id, new_id); in renameRefId()