Searched refs:mCapacity (Results 1 – 7 of 7) sorted by relevance
27 : 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()
27 WakeupList::WakeupList(size_t capacity) : mCapacity(capacity) {} in WakeupList()67 if (mWakeups.size() > mCapacity) { in evict()
47 size_t mCapacity; variable
72 size_t mCapacity; variable
123 : mCapacity(capacity), mKernelWakelockStatsFd(std::move(kernelWakelockStatsFd)) {} in WakeLockEntryList()129 if (mStats.size() == mCapacity) { in evictIfFull()
51 mCapacity = other.mCapacity;55 other.mCapacity = 0;86 return mCapacity; in capacity()187 bool success = (newCapacity <= mCapacity); in doReserve()196 mCapacity = newCapacity; in doReserve()
90 size_t mCapacity = 0; variable