Searched refs:_Distance (Results 1 – 4 of 4) sorted by relevance
/haiku/headers/cpp/ |
H A D | stl_heap.h | 41 template <class _RandomAccessIterator, class _Distance, class _Tp> 44 _Distance __holeIndex, _Distance __topIndex, _Tp __value) in __push_heap() 46 _Distance __parent = (__holeIndex - 1) / 2; in __push_heap() 55 template <class _RandomAccessIterator, class _Distance, class _Tp> 58 _RandomAccessIterator __last, _Distance*, _Tp*) in __push_heap_aux() argument 60 __push_heap(__first, _Distance((__last - __first) - 1), _Distance(0), in __push_heap_aux() 72 template <class _RandomAccessIterator, class _Distance, class _Tp, 75 __push_heap(_RandomAccessIterator __first, _Distance __holeIndex, in __push_heap() 76 _Distance __topIndex, _Tp __value, _Compare __comp) in __push_heap() 78 _Distance __parent = (__holeIndex - 1) / 2; in __push_heap() [all …]
|
H A D | stl_iterator.h | 47 template <class _Tp, class _Distance> struct input_iterator { 50 typedef _Distance difference_type; 63 template <class _Tp, class _Distance> struct forward_iterator { 66 typedef _Distance difference_type; 72 template <class _Tp, class _Distance> struct bidirectional_iterator { 75 typedef _Distance difference_type; 80 template <class _Tp, class _Distance> struct random_access_iterator { 83 typedef _Distance difference_type; 89 template <class _Category, class _Tp, class _Distance = ptrdiff_t, 94 typedef _Distance difference_type; [all …]
|
H A D | stl_algo.h | 704 template <class _ForwardIter, class _Distance> 708 _Distance*, in __rotate() argument 738 template <class _BidirectionalIter, class _Distance> 742 _Distance*, in __rotate() argument 765 template <class _RandomAccessIter, class _Distance, class _Tp> 769 _Distance *, _Tp *) { in __rotate() argument 771 _Distance __n = __last - __first; in __rotate() 772 _Distance __k = __middle - __first; in __rotate() 773 _Distance __l = __n - __k; in __rotate() 781 _Distance __d = __gcd(__n, __k); in __rotate() [all …]
|
H A D | stl_algobase.h | 123 template <class _InputIter, class _OutputIter, class _Distance> 126 input_iterator_tag, _Distance*) in __copy() argument 133 template <class _RandomAccessIter, class _OutputIter, class _Distance> 136 _OutputIter __result, random_access_iterator_tag, _Distance*) in __copy() argument 138 for (_Distance __n = __last - __first; __n > 0; --__n) { in __copy() 160 typedef typename iterator_traits<_InputIter>::difference_type _Distance; in copy() typedef 161 return __copy(__first, __last, __result, _Category(), (_Distance*) 0); in copy() 219 class _Distance> 224 _Distance*) 231 template <class _RandomAccessIter, class _BidirectionalIter, class _Distance> [all …]
|