Home
last modified time | relevance | path

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

/external/stlport/stlport/stl/debug/
D_vector.h359 void resize(size_type __new_size, const _Tp& __x = _STLP_DEFAULT_CONSTRUCTED(_Tp)) {
361 void resize(size_type __new_size, const _Tp& __x) {
363 if (__new_size > capacity()) {
366 else if (__new_size < size()) {
367 _Invalidate_iterators(begin() + __new_size, end());
369 _M_non_dbg_impl.resize(__new_size, __x);
373 void resize(size_type __new_size) { resize(__new_size, _STLP_DEFAULT_CONSTRUCTED(_Tp)); }
D_deque.h355 void resize(size_type __new_size, const value_type& __x = _Tp()) {
357 void resize(size_type __new_size, const value_type& __x) {
359 if (__new_size != size()) {
360 if ((__new_size > size()) || (__new_size < size() - 1))
365 _M_non_dbg_impl.resize(__new_size, __x);
D_list.h289 void resize(size_type __new_size, const _Tp& __x = _Tp()) {
291 void resize(size_type __new_size, const _Tp& __x) {
295 for ( ; __i != _M_non_dbg_impl.end() && __len < __new_size; ++__i, ++__len);
297 if (__len == __new_size)
300 _M_non_dbg_impl.insert(_M_non_dbg_impl.end(), __new_size - __len, __x);
304 void resize(size_type __new_size) { resize(__new_size, _STLP_DEFAULT_CONSTRUCTED(_Tp)); } in resize() argument
D_slist.h382 void resize(size_type __new_size, const value_type& __x = _Tp()) {
384 void resize(size_type __new_size, const value_type& __x) {
386 _M_non_dbg_impl.resize(__new_size, __x);
390 void resize(size_type __new_size) { resize(__new_size, _STLP_DEFAULT_CONSTRUCTED(_Tp)); } in resize() argument
/external/stlport/stlport/stl/pointers/
D_vector.h218 void resize(size_type __new_size, const value_type& __x = _STLP_DEFAULT_CONSTRUCTED(value_type))
220 void resize(size_type __new_size, const value_type& __x)
222 { _M_impl.resize(__new_size, cast_traits::to_storage_type_cref(__x)); }
225 void resize(size_type __new_size) { _M_impl.resize(__new_size); } in resize() argument
D_list.h243 void resize(size_type __new_size, const value_type& __x = _STLP_DEFAULT_CONSTRUCTED(value_type))
245 void resize(size_type __new_size) { _M_impl.resize(__new_size); }
246 void resize(size_type __new_size, const value_type& __x)
248 {_M_impl.resize(__new_size, cast_traits::to_storage_type_cref(__x));}
D_deque.h352 void resize(size_type __new_size, const value_type& __x = _STLP_DEFAULT_CONSTRUCTED(value_type))
354 void resize(size_type __new_size, const value_type& __x)
356 { _M_impl.resize(__new_size, cast_traits::to_storage_type_cref(__x)); }
359 void resize(size_type __new_size) { _M_impl.resize(__new_size); }
D_slist.h353 void resize(size_type __new_size, const value_type& __x = _STLP_DEFAULT_CONSTRUCTED(value_type))
355 void resize(size_type __new_size, const value_type& __x)
357 { _M_impl.resize(__new_size, cast_traits::to_storage_type_cref(__x));}
360 void resize(size_type __new_size) { _M_impl.resize(__new_size); } in resize() argument
/external/stlport/stlport/stl/
D_list.c95 void list<_Tp, _Alloc>::resize(size_type __new_size, const _Tp& __x) { in resize() argument
98 for ( ; __i != end() && __len < __new_size; ++__i, ++__len); in resize()
100 if (__len == __new_size) in resize()
103 insert(end(), __new_size - __len, __x); in resize()
D_vector.h636 void resize(size_type __new_size, const _Tp& __x = _STLP_DEFAULT_CONSTRUCTED(_Tp)) {
638 void resize(size_type __new_size, const _Tp& __x) {
640 if (__new_size < size())
641 erase(begin() + __new_size, end());
643 insert(end(), __new_size - size(), __x);
647 void resize(size_type __new_size) { resize(__new_size, _STLP_DEFAULT_CONSTRUCTED(_Tp)); }
D_deque.h811 void resize(size_type __new_size,
814 void resize(size_type __new_size, const value_type& __x) {
817 if (__new_size < __len)
818 erase(this->_M_start + __new_size, this->_M_finish);
820 insert(this->_M_finish, __new_size - __len, __x);
824 void resize(size_type __new_size)
825 { resize(__new_size, _STLP_DEFAULT_CONSTRUCTED(_Tp)); }
D_list.h536 void resize(size_type __new_size, const_reference __x = value_type());
538 void resize(size_type __new_size, const_reference __x);
539 void resize(size_type __new_size)
540 { this->resize(__new_size, _STLP_DEFAULT_CONSTRUCTED(value_type)); }
D_bvector.h800 void resize(size_type __new_size, bool __x = bool()) {
801 if (__new_size < size())
802 erase(begin() + difference_type(__new_size), end());
804 insert(end(), __new_size - size(), __x);