Home
last modified time | relevance | path

Searched refs:newSize (Results 1 – 4 of 4) sorted by relevance

/device/generic/goldfish-opengl/android-emu/android/base/containers/
DSmallVector.h147 void resize(size_type newSize) { resize_impl<true>(newSize); } in resize() argument
153 void resize_noinit(size_type newSize) { resize_impl<false>(newSize); } in resize_noinit() argument
181 void resize_impl(size_type newSize) { in resize_impl() argument
182 if (newSize < this->size()) { in resize_impl()
183 const auto newEnd = this->begin() + newSize; in resize_impl()
186 } else if (newSize > this->size()) { in resize_impl()
187 grow_for_size(newSize); in resize_impl()
188 const auto newEnd = this->begin() + newSize; in resize_impl()
202 const auto newSize = this->size() + (e - b); in insert_back() local
203 grow_for_size(newSize); in insert_back()
[all …]
/device/generic/goldfish-opengl/android-emu/android/base/
DAlignedBuf.h72 void resize(size_t newSize) { in resize() argument
84 resizeImpl(newSize); in resize()
101 void resizeImpl(size_t newSize) { in resizeImpl() argument
102 if (newSize) { in resizeImpl()
104 size_t keepSize = std::min(newSize, mSize); in resizeImpl()
105 size_t newSizeBytes = ((align - 1 + newSize * sizeof(T) + pad) / align) * align; in resizeImpl()
115 mSize = newSize; in resizeImpl()
/device/generic/goldfish/network/netmgr/
Dwifi_forwarder.cpp267 size_t newSize = start + kForwardBufferIncrement; in injectFromPipe() local
268 if (newSize > kForwardBufferMaxSize) { in injectFromPipe()
274 newSize = kForwardBufferIncrement; in injectFromPipe()
277 mMonitorBuffer.resize(newSize); in injectFromPipe()
/device/generic/goldfish/network/wifi_forwarder/
Dremote_connection.cpp113 size_t newSize = start + kReceiveBufferIncrement; in receive() local
114 if (newSize > kReceiveBufferMaxSize) { in receive()
120 newSize = kReceiveBufferIncrement; in receive()
123 mBuffer.resize(newSize); in receive()