Home
last modified time | relevance | path

Searched refs:difference_type (Results 1 – 25 of 155) sorted by relevance

1234567

/freebsd-12.1/contrib/libstdc++/include/bits/
H A Dstl_iterator.h107 difference_type; in _GLIBCXX_BEGIN_NAMESPACE() typedef
224 operator+(difference_type __n) const in _GLIBCXX_BEGIN_NAMESPACE()
233 operator+=(difference_type __n) in _GLIBCXX_BEGIN_NAMESPACE()
245 operator-(difference_type __n) const in _GLIBCXX_BEGIN_NAMESPACE()
254 operator-=(difference_type __n) in _GLIBCXX_BEGIN_NAMESPACE()
266 operator[](difference_type __n) const in _GLIBCXX_BEGIN_NAMESPACE()
697 operator[](const difference_type& __n) const
701 operator+=(const difference_type& __n)
705 operator+(const difference_type& __n) const
709 operator-=(const difference_type& __n)
[all …]
H A Ddeque.tcc144 const difference_type __n = __last - __first; in erase()
480 + difference_type(__n)); in _M_insert_aux()
510 const difference_type __elems_after = in _M_insert_aux()
511 difference_type(__length) - __elems_before; in _M_insert_aux()
515 if (__elems_after > difference_type(__n)) in _M_insert_aux()
518 - difference_type(__n)); in _M_insert_aux()
530 __pos + difference_type(__n), in _M_insert_aux()
564 if (__elemsbefore >= difference_type(__n)) in _M_insert_aux()
567 + difference_type(__n)); in _M_insert_aux()
598 const difference_type __elemsafter = in _M_insert_aux()
[all …]
H A Dstl_iterator_base_types.h113 typedef _Distance difference_type; typedef
131 typedef typename _Iterator::difference_type difference_type; typedef
141 typedef ptrdiff_t difference_type;
151 typedef ptrdiff_t difference_type;
H A Dstl_bvector.h234 operator+=(difference_type __i)
241 operator-=(difference_type __i)
248 operator+(difference_type __i) const
255 operator-(difference_type __i) const
262 operator[](difference_type __i) const
320 operator+=(difference_type __i)
327 operator-=(difference_type __i)
334 operator+(difference_type __i) const
341 operator-(difference_type __i) const
934 __i + difference_type(__n)); in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
[all …]
H A Dstl_iterator_base_funcs.h74 inline typename iterator_traits<_InputIterator>::difference_type in _GLIBCXX_BEGIN_NAMESPACE()
81 typename iterator_traits<_InputIterator>::difference_type __n = 0; in _GLIBCXX_BEGIN_NAMESPACE()
91 inline typename iterator_traits<_RandomAccessIterator>::difference_type
114 inline typename iterator_traits<_InputIterator>::difference_type
176 typename iterator_traits<_InputIterator>::difference_type __d = __n; in advance()
H A Dstl_deque.h183 operator+=(difference_type __n)
190 const difference_type __node_offset =
192 : -difference_type((-__offset - 1)
196 * difference_type(_S_buffer_size()));
202 operator+(difference_type __n) const
209 operator-=(difference_type __n)
213 operator-(difference_type __n) const
220 operator[](difference_type __n) const
234 _M_last = _M_first + difference_type(_S_buffer_size()); in _M_set_node()
1355 _M_erase_at_end(begin() + difference_type(__n)); in _M_fill_assign()
[all …]
H A Dstl_heap.h145 typedef typename iterator_traits<_RandomAccessIterator>::difference_type in push_heap()
194 typedef typename iterator_traits<_RandomAccessIterator>::difference_type in push_heap()
235 typedef typename iterator_traits<_RandomAccessIterator>::difference_type in __pop_heap()
299 typedef typename iterator_traits<_RandomAccessIterator>::difference_type in __pop_heap()
348 typedef typename iterator_traits<_RandomAccessIterator>::difference_type in make_heap()
389 typedef typename iterator_traits<_RandomAccessIterator>::difference_type in make_heap()
/freebsd-12.1/contrib/libc++/include/
H A D__bit_reference249 typedef typename _It::difference_type difference_type;
280 typedef typename _It::difference_type difference_type;
409 typedef typename _In::difference_type difference_type;
458 typedef typename _In::difference_type difference_type;
548 typedef typename _In::difference_type difference_type;
597 typedef typename _In::difference_type difference_type;
715 typedef typename _I1::difference_type difference_type;
765 typedef typename _I1::difference_type difference_type;
875 typedef typename _Cp::difference_type difference_type;
904 typedef typename _I1::difference_type difference_type;
[all …]
H A Diterator23 typedef typename Iterator::difference_type difference_type;
33 typedef ptrdiff_t difference_type;
45 typedef Distance difference_type;
87 typedef typename iterator_traits<Iterator>::difference_type difference_type;
215 typedef typename iterator_traits<Iterator>::difference_type difference_type;
473 typedef typename _Iter::difference_type difference_type;
504 typedef ptrdiff_t difference_type;
542 typedef _Distance difference_type;
668 typedef typename iterator_traits<_Iter>::difference_type difference_type;
1105 typedef typename iterator_traits<iterator_type>::difference_type difference_type;
[all …]
H A Ddeque33 typedef typename allocator_type::difference_type difference_type;
564 … typedef typename __deque_iterator<_V2, _P2, _R2, _M2, _D2, _B2>::difference_type difference_type;
593 … typedef typename __deque_iterator<_V1, _P1, _R1, _M1, _D1, _B1>::difference_type difference_type;
621 … typedef typename __deque_iterator<_V1, _P1, _R1, _M1, _D1, _B1>::difference_type difference_type;
652 … typedef typename __deque_iterator<_V2, _P2, _R2, _M2, _D2, _B2>::difference_type difference_type;
681 … typedef typename __deque_iterator<_V1, _P1, _R1, _M1, _D1, _B1>::difference_type difference_type;
709 … typedef typename __deque_iterator<_V1, _P1, _R1, _M1, _D1, _B1>::difference_type difference_type;
740 … typedef typename __deque_iterator<_V2, _P2, _R2, _M2, _D2, _B2>::difference_type difference_type;
769 … typedef typename __deque_iterator<_V1, _P1, _R1, _M1, _D1, _B1>::difference_type difference_type;
942 typedef typename __alloc_traits::difference_type difference_type;
[all …]
H A Dalgorithm2317 typedef typename iterator_traits<_RandomAccessIterator>::difference_type difference_type;
2985 typedef typename iterator_traits<_RandomAccessIterator>::difference_type difference_type;
3011 typedef typename iterator_traits<_RandomAccessIterator>::difference_type difference_type;
3105 typedef typename iterator_traits<_RandomAccessIterator>::difference_type difference_type;
3227 typedef typename iterator_traits<_ForwardIterator>::difference_type difference_type;
3356 typedef typename iterator_traits<_ForwardIterator>::difference_type difference_type;
4095 typedef typename iterator_traits<_ForwardIterator>::difference_type difference_type;
4137 typedef typename iterator_traits<_ForwardIterator>::difference_type difference_type;
4179 typedef typename iterator_traits<_ForwardIterator>::difference_type difference_type;
4719 difference_type __p = 0;
[all …]
/freebsd-12.1/contrib/libstdc++/include/backward/
H A Diterator.h89 typedef _Distance difference_type; typedef
97 typedef void difference_type; typedef
106 typedef _Distance difference_type; typedef
115 typedef _Distance difference_type; typedef
124 typedef _Distance difference_type; typedef
137 inline typename iterator_traits<_Iter>::difference_type*
139 { return static_cast<typename iterator_traits<_Iter>::difference_type*>(0); } in distance_type()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Utility/
H A DIterable.h65 E operator[](typename BackingIterator::difference_type offset) {
83 operator+=(typename BackingIterator::difference_type offset) {
89 operator-=(typename BackingIterator::difference_type offset) {
96 operator+(typename BackingIterator::difference_type offset) {
101 operator-(typename BackingIterator::difference_type offset) {
116 operator+(typename C1::const_iterator::difference_type,
120 friend typename C1::const_iterator::difference_type
134 typename AdaptedConstIterator<C, E, A>::BackingIterator::difference_type
141 typename AdaptedConstIterator<C, E, A>::BackingIterator::difference_type
/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DSequence.h39 using difference_type = typename BaseT::difference_type;
50 value_sequence_iterator &operator+=(difference_type N) {
54 value_sequence_iterator &operator-=(difference_type N) {
59 difference_type operator-(const value_sequence_iterator &RHS) const {
H A Diterator.h197 typename std::iterator_traits<WrappedIteratorT>::difference_type,
224 using difference_type = DifferenceTypeT;
226 DerivedT &operator+=(difference_type n) {
233 DerivedT &operator-=(difference_type n) {
241 difference_type operator-(const DerivedT &RHS) const {
/freebsd-12.1/contrib/libc++/include/experimental/
H A Dfunctional215 typedef typename std::iterator_traits<_RandomAccessIterator1>::difference_type difference_type;
264 difference_type __pattern_length_;
266 shared_ptr<vector<difference_type>> __suffix_;
275 const vector<difference_type> & __suffix = *__suffix_.get();
281 difference_type __j = __pattern_length_;
290 difference_type __k = __skip[__cur [ __j - 1 ]];
291 difference_type __m = __j - __k - 1;
324 vector<difference_type> & __suffix = *__suffix_.get();
367 typedef typename std::iterator_traits<_RandomAccessIterator1>::difference_type difference_type;
417 difference_type __pattern_length_;
[all …]
/freebsd-12.1/contrib/libstdc++/include/debug/
H A Dsafe_iterator.h99 typedef typename _Traits::difference_type difference_type; typedef
261 operator[](const difference_type& __n) const
272 operator+=(const difference_type& __n)
282 operator+(const difference_type& __n) const
290 operator-=(const difference_type& __n)
300 operator-(const difference_type& __n) const
359 _M_can_advance(const difference_type& __n) const;
375 static std::pair<difference_type, _Distance_precision>
384 static std::pair<difference_type, _Distance_precision>
392 static std::pair<difference_type, _Distance_precision>
[all …]
H A Dsafe_iterator.tcc43 _M_can_advance(const difference_type& __n) const in _M_can_advance()
55 std::pair<difference_type, _Distance_precision> __dist = in _M_can_advance()
65 std::pair<difference_type, _Distance_precision> __dist = in _M_can_advance()
84 std::pair<difference_type, _Distance_precision> __dist = in _M_valid_range()
H A Dsafe_sequence.h70 typedef typename std::iterator_traits<_Iterator>::difference_type
71 difference_type; typedef
74 difference_type _M_n;
77 _After_nth_from(const difference_type& __n, const _Iterator& __base) in _After_nth_from()
/freebsd-12.1/contrib/libstdc++/include/ext/pb_ds/detail/pat_trie_/
H A Dchild_iterator.hpp51 typedef typename Allocator::difference_type difference_type; typedef
H A Dconst_child_iterator.hpp52 typedef typename Allocator::difference_type difference_type; typedef
/freebsd-12.1/contrib/libstdc++/include/ext/pb_ds/detail/unordered_iterator/
H A Dconst_iterator.hpp60 typedef typename Allocator::difference_type difference_type; typedef in const_iterator_
H A Diterator.hpp60 typedef typename Allocator::difference_type difference_type; typedef in iterator_
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDependentDiagnostic.h134 using difference_type = int; variable
159 ddiag_iterator &operator+=(difference_type N) {
166 ddiag_iterator operator+(difference_type N) const {
/freebsd-12.1/contrib/libstdc++/include/ext/pb_ds/detail/binomial_heap_/
H A Dbinomial_heap_.hpp86 typedef typename Allocator::difference_type difference_type; typedef in pb_ds::detail::binomial_heap_

1234567