Home
last modified time | relevance | path

Searched refs:mCount (Results 1 – 5 of 5) sorted by relevance

/system/core/libutils/include/utils/
DLightRefBase.h37 inline LightRefBase() : mCount(0) { } in LightRefBase()
39 mCount.fetch_add(1, std::memory_order_relaxed); in incStrong()
42 if (0 == mCount.fetch_add(1, std::memory_order_relaxed)) { in incStrongRequireStrong()
47 if (mCount.fetch_sub(1, std::memory_order_release) == 1) { in decStrong()
54 return mCount.load(std::memory_order_relaxed); in getStrongCount()
66 mutable std::atomic<int32_t> mCount;
DVectorImpl.h63 inline size_t size() const { return mCount; } in size()
64 inline bool isEmpty() const { return mCount == 0; } in isEmpty()
123 size_t mCount; // number of items variable
/system/core/libutils/
DVectorImpl.cpp45 : mStorage(nullptr), mCount(0), mFlags(flags), mItemSize(itemSize) in VectorImpl()
50 : mStorage(rhs.mStorage), mCount(rhs.mCount), in VectorImpl()
60 ALOGW_IF(mCount, in ~VectorImpl()
63 this, (int)(mCount*mItemSize)); in ~VectorImpl()
73 if (rhs.mCount) { in operator =()
75 mCount = rhs.mCount; in operator =()
79 mCount = 0; in operator =()
98 _do_copy(editable->data(), mStorage, mCount); in editArrayImpl()
296 mCount = 0; in finish_vector()
301 _shrink(0, mCount); in clear()
[all …]
/system/media/audio_utils/include/audio_utils/
DErrorLog.h78 mEntries[mIdx].mCount++; in log()
121 if (entry.mCount == 0 || entry.mLastTime < limitNs) {
133 << " " << std::setw(5) << entry.mCount
164 , mCount(0) in Entry()
173 mCount = 1; in setFirstError()
179 uint32_t mCount; // number of consecutive errors of the same code. member
/system/netd/server/
DXfrmController.cpp372 mCount = mSize; in RandomSpi()
376 if (!mCount) in next()
378 mCount--; in next()
386 uint32_t mCount; member in android::net::__anondd1336450111::RandomSpi