Home
last modified time | relevance | path

Searched refs:mCapacity (Results 1 – 7 of 7) sorted by relevance

/system/chre/util/
Ddynamic_vector_base.cc27 : mData(other.mData), mSize(other.mSize), mCapacity(other.mCapacity) { in DynamicVectorBase()
30 other.mCapacity = 0; in DynamicVectorBase()
34 bool success = (newCapacity <= mCapacity); in doReserve()
41 mCapacity = newCapacity; in doReserve()
55 if (mCapacity == 0) { in getNextGrowthCapacity()
57 } else if (mSize == mCapacity) { in getNextGrowthCapacity()
58 newCapacity = mCapacity * 2; in getNextGrowthCapacity()
60 newCapacity = mCapacity; in getNextGrowthCapacity()
/system/hardware/interfaces/suspend/1.0/default/
DWakeupList.cpp27 WakeupList::WakeupList(size_t capacity) : mCapacity(capacity) {} in WakeupList()
67 if (mWakeups.size() > mCapacity) { in evict()
DWakeupList.h47 size_t mCapacity; variable
DWakeLockEntryList.h72 size_t mCapacity; variable
DWakeLockEntryList.cpp123 : mCapacity(capacity), mKernelWakelockStatsFd(std::move(kernelWakelockStatsFd)) {} in WakeLockEntryList()
129 if (mStats.size() == mCapacity) { in evictIfFull()
/system/chre/util/include/chre/util/
Ddynamic_vector_impl.h51 mCapacity = other.mCapacity;
55 other.mCapacity = 0;
86 return mCapacity; in capacity()
187 bool success = (newCapacity <= mCapacity); in doReserve()
196 mCapacity = newCapacity; in doReserve()
Ddynamic_vector_base.h90 size_t mCapacity = 0; variable