Lines Matching refs:size_type

167   typedef size_t size_type;
211 size_type size() const
212 { return size_type(end() - begin()); }
213 size_type max_size() const
214 { return size_type(-1) / sizeof(_Tp); }
215 size_type capacity() const
216 { return size_type(_M_end_of_storage - begin()); }
220 reference operator[](size_type __n) { return *(begin() + __n); }
221 const_reference operator[](size_type __n) const { return *(begin() + __n); }
223 reference at(size_type __n) {
229 const_reference at(size_type __n) const {
238 vector(size_type __n, const _Tp& __value,
243 explicit vector(size_type __n)
283 void reserve(size_type __n) {
285 const size_type __old_size = size();
300 void assign(size_type __n, const _Tp& __val);
312 { assign((size_type) __n, (_Tp) __val); }
356 size_type __n = __position - begin();
366 size_type __n = __position - begin();
386 insert(__pos, (size_type) __n, (_Tp) __val);
400 void insert (iterator __pos, size_type __n, const _Tp& __x);
420 void resize(size_type __new_size, const _Tp& __x) {
426 void resize(size_type __new_size) { resize(__new_size, _Tp()); }
433 iterator _M_allocate_and_copy(size_type __n, _ForwardIterator __first,
444 iterator _M_allocate_and_copy(size_type __n, const_iterator __first,
471 size_type __n = 0;
522 const size_type __xlen = __x.size();
575 size_type __len = 0;
612 const size_type __old_size = size();
613 const size_type __len = __old_size != 0 ? 2 * __old_size : 1;
643 const size_type __old_size = size();
644 const size_type __len = __old_size != 0 ? 2 * __old_size : 1;
664 void vector<_Tp, _Alloc>::insert(iterator __position, size_type __n,
668 if (size_type(_M_end_of_storage - _M_finish) >= __n) {
670 const size_type __elems_after = _M_finish - __position;
687 const size_type __old_size = size();
688 const size_type __len = __old_size + max(__old_size, __n);
731 size_type __n = 0;
733 if (size_type(_M_end_of_storage - _M_finish) >= __n) {
734 const size_type __elems_after = _M_finish - __position;
753 const size_type __old_size = size();
754 const size_type __len = __old_size + max(__old_size, __n);
783 size_type __n = 0;
785 if (size_type(_M_end_of_storage - _M_finish) >= __n) {
786 const size_type __elems_after = _M_finish - __position;
803 const size_type __old_size = size();
804 const size_type __len = __old_size + max(__old_size, __n);