Searched refs:mRefs (Results 1 – 6 of 6) sorted by relevance
31 sb->mRefs = 1; in alloc()40 if (released->mRefs != 0) return -1; // XXX: invalid operation in dealloc()97 android_atomic_inc(&mRefs); in acquire()103 if (onlyOwner() || ((prev = android_atomic_dec(&mRefs)) == 1)) { in release()104 mRefs = 0; in release()
289 weakref_impl* const refs = mRefs; in incStrong()309 weakref_impl* const refs = mRefs; in decStrong()332 weakref_impl* const refs = mRefs; in forceIncStrong()355 return mRefs->mStrong; in getStrongCount()359 mRefs->mDestroyer = destroyer; in setDestroyer()512 mRefs->incWeak(id); in createWeak()513 return mRefs; in createWeak()518 return mRefs; in getWeakRefs()522 : mRefs(new weakref_impl(this)) in RefBase()529 if ((mRefs->mFlags & OBJECT_LIFETIME_WEAK) == OBJECT_LIFETIME_WEAK) { in ~RefBase()[all …]
217 : mRemote(o.get()), mRefs(NULL), mState(0) in BpRefBase()223 mRefs = mRemote->createWeak(this); // Held for our entire lifetime. in BpRefBase()233 mRefs->decWeak(this); in ~BpRefBase()251 return mRemote ? mRefs->attemptIncStrong(this) : false; in onIncStrongAttempted()
100 mutable int32_t mRefs; variable139 return (mRefs == 1); in onlyOwner()
157 weakref_impl* const mRefs; variable
95 RefBase::weakref_type* mRefs; variable