HomeSort by relevance Sort by last modified time
    Searched refs:mRefs (Results 1 - 11 of 11) sorted by null

  /system/core/libutils/
SharedBuffer.cpp 37 // Should be std::atomic_init(&sb->mRefs, 1);
40 sb->mRefs.store(1, std::memory_order_relaxed);
109 mRefs.fetch_add(1, std::memory_order_relaxed);
115 if (onlyOwner() || ((prev = mRefs.fetch_sub(1, std::memory_order_release) == 1)
117 mRefs.store(0, std::memory_order_relaxed);
RefBase.cpp 79 // A weakref_impl is allocated as the value of mRefs in a RefBase object on
385 weakref_impl* const refs = mRefs;
407 weakref_impl* const refs = mRefs;
428 // The destructor can safely access mRefs because either it's deleting
429 // mRefs itself, or it's running entirely before the final mWeak decrement.
437 weakref_impl* const refs = mRefs;
461 return mRefs->mStrong.load(std::memory_order_relaxed);
651 mRefs->incWeak(id);
652 return mRefs;
657 return mRefs;
    [all...]
SharedBuffer.h 103 mutable std::atomic<int32_t> mRefs;
139 return (mRefs.load(std::memory_order_acquire) == 1);
  /hardware/broadcom/wlan/bcmdhd/wifi_hal/
cpp_bindings.h 222 int mRefs;
225 : mType(type), mMsg(getHalInfo(handle)->nl80211_family_id), mId(id), mRefs(1)
234 mId(id), mRefs(1)
254 int refs = __sync_add_and_fetch(&mRefs, 1);
259 int refs = __sync_sub_and_fetch(&mRefs, 1);
  /frameworks/native/include/binder/
Binder.h 97 RefBase::weakref_type* mRefs;
  /frameworks/native/libs/binder/
Binder.cpp 265 : mRemote(o.get()), mRefs(NULL), mState(0)
271 mRefs = mRemote->createWeak(this); // Held for our entire lifetime.
281 mRefs->decWeak(this);
299 return mRemote ? mRefs->attemptIncStrong(this) : false;
  /frameworks/av/media/libmedia/
MediaProfiles.cpp 448 mRequiredProfileRefs[i].mRefs[j].mHasRefProfile = false;
449 mRequiredProfileRefs[i].mRefs[j].mRefProfileIndex = -1;
451 mRequiredProfileRefs[i].mRefs[j].mResolutionProduct = 0x7FFFFFFF;
453 mRequiredProfileRefs[i].mRefs[j].mResolutionProduct = 0;
503 info = &(mRequiredProfileRefs[refIndex].mRefs[j]);
543 &mRequiredProfileRefs[refIndex].mRefs[j];
    [all...]
  /frameworks/av/include/media/
MediaProfiles.h 442 RequiredProfileRefInfo mRefs[kNumRequiredProfiles];
  /frameworks/rs/cpp/util/
RefBase.h 158 weakref_impl* const mRefs;
  /frameworks/rs/server/
RefBase.h 157 weakref_impl* const mRefs;
  /system/core/include/utils/
RefBase.h 168 weakref_impl* const mRefs;

Completed in 480 milliseconds