Home
last modified time | relevance | path

Searched refs:new_size (Results 1 – 6 of 6) sorted by relevance

/ndk/sources/android/support/tests/minitest/
Dminitest.cc105 void String::Resize(size_t new_size) { in Resize() argument
106 if (new_size > capacity_) { in Resize()
108 while (new_capacity < new_size) in Resize()
113 str_[new_size] = '\0'; in Resize()
114 size_ = new_size; in Resize()
Dminitest.h184 void Resize(size_t new_size);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dstrstream.cpp160 size_t new_size = max<size_t>(static_cast<size_t>(__alsize_), 2*old_size); in overflow() local
161 if (new_size == 0) in overflow()
162 new_size = __default_alsize; in overflow()
165 buf = static_cast<char*>(__palloc_(new_size)); in overflow()
167 buf = new char[new_size]; in overflow()
/ndk/sources/cxx-stl/stlport/src/
Dstrstream.cpp123 ptrdiff_t new_size = (max)(2 * old_size, ptrdiff_t(1)); in overflow() local
125 char* buf = _M_alloc(new_size); in overflow()
137 setp(buf, buf + new_size); in overflow()
/ndk/sources/cxx-stl/stlport/stlport/stl/debug/
D_deque.h369 void resize(size_type new_size) { resize(new_size, _STLP_DEFAULT_CONSTRUCTED(_Tp)); } in resize() argument
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_slist.h682 void resize(size_type new_size, const value_type& __x = _Tp());
684 void resize(size_type new_size, const value_type& __x);
688 void resize(size_type new_size) { resize(new_size, _STLP_DEFAULT_CONSTRUCTED(_Tp)); }