/aosp12/system/core/libutils/ |
H A D | RefBase.cpp | 427 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 D | SharedBuffer.cpp | 42 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 D | SharedBuffer.h | 103 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 D | cpp_bindings.h | 248 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 D | wifi_hal.cpp | 1062 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 D | Binder.cpp | 463 : 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 D | ItemTable.cpp | 492 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 D | MediaProfiles.cpp | 582 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 D | Binder.h | 115 RefBase::weakref_type* mRefs; variable
|
/aosp12/frameworks/native/libs/binder/include/binder/ |
H A D | Binder.h | 142 RefBase::weakref_type* mRefs; variable
|
/aosp12/frameworks/native/include/binder/ |
H A D | Binder.h | 142 RefBase::weakref_type* mRefs; variable
|
/aosp12/frameworks/base/libs/hwui/renderthread/ |
H A D | VulkanManager.cpp | 478 int mRefs = 2; member 487 --info->mRefs; in destroy_semaphore() 488 if (!info->mRefs) { in destroy_semaphore()
|
/aosp12/system/libhwbinder/ |
H A D | Binder.cpp | 239 : mRemote(o.get()), mRefs(nullptr), mState(0) in BpHwRefBase()
|
/aosp12/frameworks/av/media/libmedia/include/media/ |
H A D | MediaProfiles.h | 579 RequiredProfileRefInfo mRefs[kNumRequiredProfiles]; member
|
/aosp12/system/core/libutils/include/utils/ |
H A D | RefBase.h | 395 weakref_impl* const mRefs; variable
|
/aosp12/frameworks/rs/cpp/util/ |
H A D | RefBase.h | 159 weakref_impl* const mRefs; variable
|