Home
last modified time | relevance | path

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

/frameworks/native/libs/utils/
DRefBase.cpp330 weakref_impl* const refs = mRefs; in incStrong()
349 weakref_impl* const refs = mRefs; in decStrong()
367 weakref_impl* const refs = mRefs; in forceIncStrong()
389 return mRefs->mStrong; in getStrongCount()
539 mRefs->incWeak(id); in createWeak()
540 return mRefs; in createWeak()
545 return mRefs; in getWeakRefs()
549 : mRefs(new weakref_impl(this)) in RefBase()
555 if (mRefs->mStrong == INITIAL_STRONG_VALUE) { in ~RefBase()
557 delete mRefs; in ~RefBase()
[all …]
DSharedBuffer.cpp31 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()
/frameworks/native/libs/binder/
DBinder.cpp224 : mRemote(o.get()), mRefs(NULL), mState(0) in BpRefBase()
230 mRefs = mRemote->createWeak(this); // Held for our entire lifetime. in BpRefBase()
240 mRefs->decWeak(this); in ~BpRefBase()
258 return mRemote ? mRefs->attemptIncStrong(this) : false; in onIncStrongAttempted()
/frameworks/native/include/utils/
DSharedBuffer.h98 mutable int32_t mRefs; variable
130 return (mRefs == 1); in onlyOwner()
DRefBase.h158 weakref_impl* const mRefs; variable
/frameworks/native/include/binder/
DBinder.h95 RefBase::weakref_type* mRefs; variable
/frameworks/av/media/libmedia/
DMediaProfiles.cpp476 mRequiredProfileRefs[i].mRefs[j].mHasRefProfile = false; in initRequiredProfileRefs()
477 mRequiredProfileRefs[i].mRefs[j].mRefProfileIndex = -1; in initRequiredProfileRefs()
479 mRequiredProfileRefs[i].mRefs[j].mResolutionProduct = 0x7FFFFFFF; in initRequiredProfileRefs()
481 mRequiredProfileRefs[i].mRefs[j].mResolutionProduct = 0; in initRequiredProfileRefs()
529 info = &(mRequiredProfileRefs[refIndex].mRefs[j]); in checkAndAddRequiredProfilesIfNecessary()
569 &mRequiredProfileRefs[refIndex].mRefs[j]; in checkAndAddRequiredProfilesIfNecessary()
/frameworks/av/include/media/
DMediaProfiles.h506 RequiredProfileRefInfo mRefs[kNumRequiredProfiles]; member