Lines Matching defs:__n
79 typename iterator_traits<_InputIterator>::difference_type __n = 0;
83 ++__n;
85 return __n;
123 __advance(_InputIterator& __i, _Distance __n, input_iterator_tag)
127 _GLIBCXX_DEBUG_ASSERT(__n >= 0);
128 while (__n--)
134 __advance(_BidirectionalIterator& __i, _Distance __n,
140 if (__n > 0)
141 while (__n--)
144 while (__n++)
150 __advance(_RandomAccessIterator& __i, _Distance __n,
156 __i += __n;
162 * @param __n The @a delta by which to change @p __i.
166 * iterators, @p __n may be negative, in which case @p __i is decremented.
173 advance(_InputIterator& __i, _Distance __n)
176 typename iterator_traits<_InputIterator>::difference_type __d = __n;
185 iterator_traits<_ForwardIterator>::difference_type __n = 1)
187 std::advance(__x, __n);
194 iterator_traits<_BidirectionalIterator>::difference_type __n = 1)
196 std::advance(__x, -__n);