Home
last modified time | relevance | path

Searched refs:newCap (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/guest/android-emu/aemu/base/containers/
DSmallVector.h140 void reserve(size_type newCap) { in reserve() argument
141 if (newCap <= this->capacity()) { in reserve()
144 set_capacity(newCap); in reserve()
221 void set_capacity(size_type newCap) { in set_capacity() argument
224 const auto newBegin = (T*)malloc(sizeof(T) * newCap); in set_capacity()
234 this->mCapacity = newCap; in set_capacity()
/hardware/google/aemu/base/include/aemu/base/containers/
DSmallVector.h140 void reserve(size_type newCap) { in reserve() argument
141 if (newCap <= this->capacity()) { in reserve()
144 set_capacity(newCap); in reserve()
221 void set_capacity(size_type newCap) { in set_capacity() argument
224 const auto newBegin = (T*)malloc(sizeof(T) * newCap); in set_capacity()
234 this->mCapacity = newCap; in set_capacity()