Home
last modified time | relevance | path

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

/aosp12/system/core/libutils/
H A DRefBase.cpp427 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()
726 mRefs->incWeak(id); in createWeak()
727 return mRefs; in createWeak()
732 return mRefs; in getWeakRefs()
736 : mRefs(new weakref_impl(this)) in RefBase()
750 delete mRefs; in ~RefBase()
767 const_cast<weakref_impl*&>(mRefs) = nullptr; in ~RefBase()
[all …]
H A DSharedBuffer.cpp42 sb->mRefs.store(1, std::memory_order_relaxed); in alloc()
112 mRefs.fetch_add(1, std::memory_order_relaxed); in acquire()
120 mRefs.store(0, std::memory_order_relaxed); in release()
128 int32_t prevRefCount = mRefs.fetch_sub(1, std::memory_order_release); in release()
H A DSharedBuffer.h103 mutable std::atomic<int32_t> mRefs; variable
144 return (mRefs.load(std::memory_order_acquire) == 1); in onlyOwner()
/aosp12/hardware/broadcom/wlan/bcmdhd/wifi_hal/
H A Dcpp_bindings.h248 int mRefs; variable
251 : mType(type), mMsg(getHalInfo(handle)->nl80211_family_id), mId(id), mRefs(1) in WifiCommand()
260 mId(id), mRefs(1) in WifiCommand()
280 int refs = __sync_add_and_fetch(&mRefs, 1); in addRef()
285 int refs = __sync_sub_and_fetch(&mRefs, 1); in releaseRef()
H A Dwifi_hal.cpp1062 int refs = __sync_add_and_fetch(&mRefs, 1); in addRef()
1067 int refs = __sync_sub_and_fetch(&mRefs, 1); in releaseRef()
/aosp12/frameworks/native/libs/binder/
H A DBinder.cpp463 : mRemote(o.get()), mRefs(nullptr), mState(0) in BpRefBase()
469 mRefs = mRemote->createWeak(this); // Held for our entire lifetime. in BpRefBase()
479 mRefs->decWeak(this); in ~BpRefBase()
497 return mRemote ? mRefs->attemptIncStrong(this) : false; in onIncStrongAttempted()
/aosp12/frameworks/av/media/extractors/mp4/
H A DItemTable.cpp492 Vector<uint32_t> mRefs; member
515 derivedImage.dimgRefs.appendVector(mRefs); in apply()
517 for (size_t i = 0; i < mRefs.size(); i++) { in apply()
518 itemIndex = itemIdToItemMap.indexOfKey(mRefs[i]); in apply()
544 for (size_t i = 0; i < mRefs.size(); i++) { in apply()
545 itemIndex = itemIdToItemMap.indexOfKey(mRefs[i]); in apply()
551 ALOGV("Image item id %d uses thumbnail item id %d", mRefs[i], mItemId); in apply()
568 for (size_t i = 0; i < mRefs.size(); i++) { in apply()
569 ssize_t itemIndex = itemIdToItemMap.indexOfKey(mRefs[i]); in apply()
575 ALOGV("Image item id %d uses metadata item id %d", mRefs[i], mItemId); in apply()
[all …]
/aosp12/frameworks/av/media/libmedia/
H A DMediaProfiles.cpp582 mRequiredProfileRefs[i].mRefs[j].mHasRefProfile = false; in initRequiredProfileRefs()
583 mRequiredProfileRefs[i].mRefs[j].mRefProfileIndex = -1; in initRequiredProfileRefs()
585 mRequiredProfileRefs[i].mRefs[j].mResolutionProduct = 0x7FFFFFFF; in initRequiredProfileRefs()
587 mRequiredProfileRefs[i].mRefs[j].mResolutionProduct = 0; in initRequiredProfileRefs()
649 info = &(mRequiredProfileRefs[refIndex].mRefs[j]); in checkAndAddRequiredProfilesIfNecessary()
689 &mRequiredProfileRefs[refIndex].mRefs[j]; in checkAndAddRequiredProfilesIfNecessary()
/aosp12/system/libhwbinder/include/hwbinder/
H A DBinder.h115 RefBase::weakref_type* mRefs; variable
/aosp12/frameworks/native/libs/binder/include/binder/
H A DBinder.h142 RefBase::weakref_type* mRefs; variable
/aosp12/frameworks/native/include/binder/
H A DBinder.h142 RefBase::weakref_type* mRefs; variable
/aosp12/frameworks/base/libs/hwui/renderthread/
H A DVulkanManager.cpp478 int mRefs = 2; member
487 --info->mRefs; in destroy_semaphore()
488 if (!info->mRefs) { in destroy_semaphore()
/aosp12/system/libhwbinder/
H A DBinder.cpp239 : mRemote(o.get()), mRefs(nullptr), mState(0) in BpHwRefBase()
/aosp12/frameworks/av/media/libmedia/include/media/
H A DMediaProfiles.h579 RequiredProfileRefInfo mRefs[kNumRequiredProfiles]; member
/aosp12/system/core/libutils/include/utils/
H A DRefBase.h395 weakref_impl* const mRefs; variable
/aosp12/frameworks/rs/cpp/util/
H A DRefBase.h159 weakref_impl* const mRefs; variable