Searched refs:newSize (Results 1 – 9 of 9) 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 …]
70 void resize(size_t newSize) { in resize() argument82 resizeImpl(newSize); in resize()99 void resizeImpl(size_t newSize) { in resizeImpl() argument100 if (newSize) { in resizeImpl()102 size_t keepSize = std::min(newSize, mSize); in resizeImpl()103 size_t newSizeBytes = ((align - 1 + newSize * sizeof(T) + pad) / align) * align; in resizeImpl()113 mSize = newSize; in resizeImpl()
73 void resize(size_t newSize) { in resize() argument85 resizeImpl(newSize); in resize()102 void resizeImpl(size_t newSize) { in resizeImpl() argument103 if (newSize) { in resizeImpl()105 size_t keepSize = std::min(newSize, mSize); in resizeImpl()106 size_t newSizeBytes = ((align - 1 + newSize * sizeof(T) + pad) / align) * align; in resizeImpl()116 mSize = newSize; in resizeImpl()
107 void Win32UnicodeString::resize(size_t newSize) { in resize() argument108 if (newSize == 0) { in resize()112 } else if (newSize <= mSize) { in resize()113 mStr[newSize] = 0; in resize()114 mSize = newSize; in resize()117 mStr = new wchar_t[newSize + 1u]; in resize()118 size_t copySize = std::min<size_t>(newSize, mSize); in resize()121 mStr[newSize] = L'\0'; in resize()122 mSize = newSize; in resize()
77 void setSize(long newSize); in setSize() argument
169 size_t newSize = newParams.size(); in compatible() local171 if (newSize == oldSize) { in compatible()172 for (size_t i = 0; i < newSize; ++i) { in compatible()
94 void resize(size_t newSize);
860 void resize(unsigned int newSize, T fill = T()) in resize() argument862 if (newSize > N) in resize()868 while (size_ < newSize) in resize()873 while (size_ > newSize) in resize()