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

/external/stlport/stlport/stl/debug/
H A 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)); }
H A 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);
H A D_list.h289 void resize(size_type __new_size, const _Tp& __x = _Tp()) { argument
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)); } argument
H A D_slist.h382 void resize(size_type __new_size, const value_type& __x = _Tp()) { argument
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)); } argument
/external/stlport/stlport/stl/pointers/
H A D_vector.h218 void resize(size_type __new_size, const value_type& __x = _STLP_DEFAULT_CONSTRUCTED(value_type)) argument
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); } argument
H A D_list.h243 void resize(size_type __new_size, const value_type& __x = _STLP_DEFAULT_CONSTRUCTED(value_type)) argument
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));}
H A D_deque.h352 void resize(size_type __new_size, const value_type& __x = _STLP_DEFAULT_CONSTRUCTED(value_type)) argument
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); } argument
H A D_slist.h353 void resize(size_type __new_size, const value_type& __x = _STLP_DEFAULT_CONSTRUCTED(value_type)) argument
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); } argument
/external/stlport/stlport/stl/
H A D_list.c95 void list<_Tp, _Alloc>::resize(size_type __new_size, const _Tp& __x) { argument
98 for ( ; __i != end() && __len < __new_size; ++__i, ++__len);
100 if (__len == __new_size)
103 insert(end(), __new_size - __len, __x);
H A D_vector.h636 void resize(size_type __new_size, const _Tp& __x = _STLP_DEFAULT_CONSTRUCTED(_Tp)) { argument
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)); } argument
H A D_deque.h811 void resize(size_type __new_size, argument
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) argument
825 { resize(__new_size, _STLP_DEFAULT_CONSTRUCTED(_Tp)); }
H A D_bvector.h800 void resize(size_type __new_size, bool __x = bool()) { argument
801 if (__new_size < size())
802 erase(begin() + difference_type(__new_size), end());
804 insert(end(), __new_size - size(), __x);
H A 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) argument
540 { this->resize(__new_size, _STLP_DEFAULT_CONSTRUCTED(value_type)); }

Completed in 155 milliseconds