Home
last modified time | relevance | path

Searched refs:__new_size (Results 1 – 4 of 4) sorted by relevance

/haiku/headers/cpp/
H A Dstl_list.h396 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 Dstl_vector.h420 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 Dstl_bvector.h793 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 Dstl_deque.h803 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()