Searched refs:new_size (Results 1 – 10 of 10) sorted by relevance
/ndk/sources/android/crazy_linker/src/ |
D | crazy_linker_util.cpp | 71 void String::Resize(size_t new_size) { in Resize() argument 72 if (new_size > capacity_) { in Resize() 74 while (new_capacity < new_size) { in Resize() 80 if (new_size > size_) in Resize() 81 memset(ptr_ + size_, '\0', new_size - size_); in Resize() 83 size_ = new_size; in Resize()
|
D | crazy_linker_util.h | 110 void Resize(size_t new_size); 244 void Vector<T>::Resize(size_t new_size) { in Resize() argument 245 if (new_size > capacity_) in Resize() 246 Reserve(new_size); in Resize() 248 if (new_size > count_) in Resize() 249 memset(items_ + count_, 0, (new_size - count_) * sizeof(T)); in Resize() 251 count_ = new_size; in Resize()
|
/ndk/sources/android/support/tests/minitest/ |
D | minitest.cc | 105 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()
|
D | minitest.h | 184 void Resize(size_t new_size);
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
D | obstack.c | 248 register long new_size; in _obstack_newchunk() local 255 new_size = (obj_size + length) + (obj_size >> 3) + h->alignment_mask + 100; in _obstack_newchunk() 256 if (new_size < h->chunk_size) in _obstack_newchunk() 257 new_size = h->chunk_size; in _obstack_newchunk() 260 new_chunk = CALL_CHUNKFUN (h, new_size); in _obstack_newchunk() 265 new_chunk->limit = h->chunk_limit = (char *) new_chunk + new_size; in _obstack_newchunk()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
D | strstream.cpp | 160 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/ |
D | strstream.cpp | 123 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/host-tools/ndk-stack/elff/ |
D | dwarf_defs.h | 771 Dwarf_AbbrNum new_size = num + 64; in add() local 774 const Dwarf_Abbr_DIE** new_array = new const Dwarf_Abbr_DIE*[new_size]; in add() 785 array_size_ = new_size; in add()
|
/ndk/sources/cxx-stl/stlport/stlport/stl/debug/ |
D | _deque.h | 369 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.h | 682 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)); }
|