Home
last modified time | relevance | path

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

/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/core/libutils/include/utils/
DLightRefBase.h35 inline LightRefBase() : mCount(0) { } in LightRefBase()
37 mCount.fetch_add(1, std::memory_order_relaxed); in incStrong()
40 if (mCount.fetch_sub(1, std::memory_order_release) == 1) { in decStrong()
47 return mCount.load(std::memory_order_relaxed); in getStrongCount()
61 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/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/core/logd/
DLogTimes.cpp37 mCount(0), in LogTimeEntry()
160 if (me->mCount == 0) { in FilterFirstPass()
166 ++me->mCount; in FilterFirstPass()
195 if (me->mNonBlock && me->mTail && (me->mIndex >= me->mCount)) { in FilterSecondPass()
217 if ((me->mCount > me->mTail) && (me->mIndex <= (me->mCount - me->mTail))) { in FilterSecondPass()
DLogTimes.h48 unsigned long mCount; variable
/system/core/libpixelflinger/codeflinger/
DCodeCache.cpp106 : mCount(0), mSize(0) in Assembly()
122 mCount.fetch_add(1, std::memory_order_relaxed); in incStrong()
127 if (mCount.fetch_sub(1, std::memory_order_acq_rel) == 1) { in decStrong()
DGGLAssembler.h134 : mRegFile(regFile), mGen(gen), mRegList(reglist), mCount(0) in Spill()
149 mCount = count; in Spill()
154 if (mCount == 1) { in ~Spill()
167 int mCount; variable
DCodeCache.h73 mutable std::atomic<int32_t> mCount;
/system/netd/server/
DXfrmController.cpp373 mCount = mSize; in RandomSpi()
377 if (!mCount) in next()
379 mCount--; in next()
387 uint32_t mCount; member in android::net::__anona502a72e0111::RandomSpi