Searched refs:newSize (Results 1 – 4 of 4) sorted by relevance
147 void resize(size_type newSize) { resize_impl<true>(newSize); } in resize() argument153 void resize_noinit(size_type newSize) { resize_impl<false>(newSize); } in resize_noinit() argument181 void resize_impl(size_type newSize) { in resize_impl() argument182 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() local203 grow_for_size(newSize); in insert_back()[all …]
72 void resize(size_t newSize) { in resize() argument84 resizeImpl(newSize); in resize()101 void resizeImpl(size_t newSize) { in resizeImpl() argument102 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()
267 size_t newSize = start + kForwardBufferIncrement; in injectFromPipe() local268 if (newSize > kForwardBufferMaxSize) { in injectFromPipe()274 newSize = kForwardBufferIncrement; in injectFromPipe()277 mMonitorBuffer.resize(newSize); in injectFromPipe()
113 size_t newSize = start + kReceiveBufferIncrement; in receive() local114 if (newSize > kReceiveBufferMaxSize) { in receive()120 newSize = kReceiveBufferIncrement; in receive()123 mBuffer.resize(newSize); in receive()