Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/android-emu/aemu/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 …]
/hardware/google/aemu/base/include/aemu/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 …]
/hardware/google/aemu/base/include/aemu/base/
DAlignedBuf.h70 void resize(size_t newSize) { in resize() argument
82 resizeImpl(newSize); in resize()
99 void resizeImpl(size_t newSize) { in resizeImpl() argument
100 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()
/hardware/google/gfxstream/guest/android-emu/aemu/base/
DAlignedBuf.h73 void resize(size_t newSize) { in resize() argument
85 resizeImpl(newSize); in resize()
102 void resizeImpl(size_t newSize) { in resizeImpl() argument
103 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()
/hardware/google/aemu/base/
DWin32UnicodeString.cpp107 void Win32UnicodeString::resize(size_t newSize) { in resize() argument
108 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()
/hardware/interfaces/staging/security/see/storage/aidl/android/hardware/security/see/storage/
DIFile.aidl77 void setSize(long newSize); in setSize() argument
/hardware/interfaces/media/bufferpool/aidl/default/tests/
Dallocator.cpp169 size_t newSize = newParams.size(); in compatible() local
171 if (newSize == oldSize) { in compatible()
172 for (size_t i = 0; i < newSize; ++i) { in compatible()
/hardware/google/aemu/base/include/aemu/base/system/
DWin32UnicodeString.h94 void resize(size_t newSize);
/hardware/google/gfxstream/guest/mesa/include/CL/
Dcl.hpp860 void resize(unsigned int newSize, T fill = T()) in resize() argument
862 if (newSize > N) in resize()
868 while (size_ < newSize) in resize()
873 while (size_ > newSize) in resize()