Home
last modified time | relevance | path

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

/system/core/libutils/
DRefBase.cpp400 weakref_impl* const refs = mRefs; in incStrong()
422 weakref_impl* const refs = mRefs; in decStrong()
452 weakref_impl* const refs = mRefs; in forceIncStrong()
476 return mRefs->mStrong.load(std::memory_order_relaxed); in getStrongCount()
673 mRefs->incWeak(id); in createWeak()
674 return mRefs; in createWeak()
679 return mRefs; in getWeakRefs()
683 : mRefs(new weakref_impl(this)) in RefBase()
689 int32_t flags = mRefs->mFlags.load(std::memory_order_relaxed); in ~RefBase()
696 if (mRefs->mWeak.load(std::memory_order_relaxed) == 0) { in ~RefBase()
[all …]
DSharedBuffer.cpp42 sb->mRefs.store(1, std::memory_order_relaxed); in alloc()
111 mRefs.fetch_add(1, std::memory_order_relaxed); in acquire()
119 mRefs.store(0, std::memory_order_relaxed); in release()
127 int32_t prevRefCount = mRefs.fetch_sub(1, std::memory_order_release); in release()
DSharedBuffer.h103 mutable std::atomic<int32_t> mRefs; variable
139 return (mRefs.load(std::memory_order_acquire) == 1); in onlyOwner()
/system/libhwbinder/
DBinder.cpp220 : mRemote(o.get()), mRefs(NULL), mState(0) in BpHwRefBase()
226 mRefs = mRemote->createWeak(this); // Held for our entire lifetime. in BpHwRefBase()
236 mRefs->decWeak(this); in ~BpHwRefBase()
254 return mRemote ? mRefs->attemptIncStrong(this) : false; in onIncStrongAttempted()
/system/libhwbinder/include/hwbinder/
DBinder.h107 RefBase::weakref_type* mRefs; variable
/system/core/libutils/include/utils/
DRefBase.h346 weakref_impl* const mRefs; variable