Home
last modified time | relevance | path

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

/system/core/libutils/
DRefBase.cpp324 weakref_impl* const refs = mRefs; in incStrong()
343 weakref_impl* const refs = mRefs; in decStrong()
361 weakref_impl* const refs = mRefs; in forceIncStrong()
383 return mRefs->mStrong; in getStrongCount()
574 mRefs->incWeak(id); in createWeak()
575 return mRefs; in createWeak()
580 return mRefs; in getWeakRefs()
584 : mRefs(new weakref_impl(this)) in RefBase()
590 if (mRefs->mStrong == INITIAL_STRONG_VALUE) { in ~RefBase()
592 delete mRefs; in ~RefBase()
[all …]
DSharedBuffer.cpp39 sb->mRefs = 1; in alloc()
48 if (released->mRefs != 0) return -1; // XXX: invalid operation in dealloc()
110 android_atomic_inc(&mRefs); in acquire()
116 if (onlyOwner() || ((prev = android_atomic_dec(&mRefs)) == 1)) { in release()
117 mRefs = 0; in release()
/system/core/libpixelflinger/codeflinger/tinyutils/
DSharedBuffer.cpp33 sb->mRefs = 1; in alloc()
42 if (released->mRefs != 0) return -1; // XXX: invalid operation in dealloc()
99 android_atomic_inc(&mRefs); in acquire()
105 if (onlyOwner() || ((prev = android_atomic_dec(&mRefs)) == 1)) { in release()
106 mRefs = 0; in release()
DSharedBuffer.h101 mutable int32_t mRefs; variable
140 return (mRefs == 1); in onlyOwner()
/system/core/include/utils/
DSharedBuffer.h98 mutable int32_t mRefs; variable
130 return (mRefs == 1); in onlyOwner()
DRefBase.h168 weakref_impl* const mRefs; variable