Searched refs:__new_size (Results 1 – 4 of 4) sorted by relevance
/haiku/headers/cpp/ |
H A D | stl_list.h | 396 void resize(size_type __new_size, const _Tp& __x); 397 void resize(size_type __new_size) { resize(__new_size, _Tp()); } in resize() argument 602 void list<_Tp, _Alloc>::resize(size_type __new_size, const _Tp& __x) in resize() argument 606 for ( ; __i != end() && __len < __new_size; ++__i, ++__len) in resize() 608 if (__len == __new_size) in resize() 611 insert(end(), __new_size - __len, __x); in resize()
|
H A D | stl_vector.h | 420 void resize(size_type __new_size, const _Tp& __x) { in resize() argument 421 if (__new_size < size()) in resize() 422 erase(begin() + __new_size, end()); in resize() 424 insert(end(), __new_size - size(), __x); in resize() 426 void resize(size_type __new_size) { resize(__new_size, _Tp()); } in resize() argument
|
H A D | stl_bvector.h | 793 void resize(size_type __new_size, bool __x = bool()) { 794 if (__new_size < size()) 795 erase(begin() + difference_type(__new_size), end()); 797 insert(end(), __new_size - size(), __x);
|
H A D | stl_deque.h | 803 void resize(size_type __new_size, const value_type& __x) { in resize() argument 805 if (__new_size < __len) in resize() 806 erase(_M_start + __new_size, _M_finish); in resize() 808 insert(_M_finish, __new_size - __len, __x); in resize()
|