Home
last modified time | relevance | path

Searched refs:_InputIterator (Results 1 – 25 of 122) sorted by relevance

12345

/openbsd-src/gnu/lib/libstdc++/libstdc++/include/bits/
H A Dstl_numeric.h67 template<typename _InputIterator, typename _Tp>
69 accumulate(_InputIterator __first, _InputIterator __last, _Tp __init) in accumulate()
72 __glibcpp_function_requires(_InputIteratorConcept<_InputIterator>) in accumulate()
79 template<typename _InputIterator, typename _Tp, typename _BinaryOperation>
81 accumulate(_InputIterator __first, _InputIterator __last, _Tp __init, in accumulate()
85 __glibcpp_function_requires(_InputIteratorConcept<_InputIterator>) in accumulate()
123 template<typename _InputIterator, typename _OutputIterator>
125 partial_sum(_InputIterator __first, _InputIterator __last, in partial_sum()
128 typedef typename iterator_traits<_InputIterator>::value_type _ValueType; in partial_sum()
131 __glibcpp_function_requires(_InputIteratorConcept<_InputIterator>) in partial_sum()
[all …]
H A Dstl_iterator_base_funcs.h72 template<typename _InputIterator>
73 inline typename iterator_traits<_InputIterator>::difference_type
74 __distance(_InputIterator __first, _InputIterator __last, in __distance()
78 __glibcpp_function_requires(_InputIteratorConcept<_InputIterator>) in __distance()
80 typename iterator_traits<_InputIterator>::difference_type __n = 0; in __distance()
109 template<typename _InputIterator>
110 inline typename iterator_traits<_InputIterator>::difference_type
111 distance(_InputIterator __first, _InputIterator __last) in distance()
162 template<typename _InputIterator, typename _Distance>
164 advance(_InputIterator& __i, _Distance __n) in advance()
H A Dstl_vector.h282 template<typename _InputIterator>
283 vector(_InputIterator __first, _InputIterator __last,
288 typedef typename _Is_integer<_InputIterator>::_Integral _Integral; in _Base()
336 template<typename _InputIterator>
338 assign(_InputIterator __first, _InputIterator __last) in assign()
341 typedef typename _Is_integer<_InputIterator>::_Integral _Integral; in assign()
687 template<typename _InputIterator>
689 insert(iterator __pos, _InputIterator __first, _InputIterator __last) in insert()
692 typedef typename _Is_integer<_InputIterator>::_Integral _Integral; in insert()
811 template<typename _InputIterator>
[all …]
/openbsd-src/gnu/gcc/libstdc++-v3/include/bits/
H A Dstl_numeric.h79 template<typename _InputIterator, typename _Tp> in _GLIBCXX_BEGIN_NAMESPACE()
81 accumulate(_InputIterator __first, _InputIterator __last, _Tp __init) in _GLIBCXX_BEGIN_NAMESPACE()
84 __glibcxx_function_requires(_InputIteratorConcept<_InputIterator>) in _GLIBCXX_BEGIN_NAMESPACE()
105 template<typename _InputIterator, typename _Tp, typename _BinaryOperation>
107 accumulate(_InputIterator __first, _InputIterator __last, _Tp __init, in accumulate()
111 __glibcxx_function_requires(_InputIteratorConcept<_InputIterator>) in accumulate()
196 template<typename _InputIterator, typename _OutputIterator>
198 partial_sum(_InputIterator __first, _InputIterator __last, in partial_sum()
201 typedef typename iterator_traits<_InputIterator>::value_type _ValueType; in partial_sum()
204 __glibcxx_function_requires(_InputIteratorConcept<_InputIterator>) in partial_sum()
[all …]
H A Dstl_iterator_base_funcs.h73 template<typename _InputIterator> in _GLIBCXX_BEGIN_NAMESPACE()
74 inline typename iterator_traits<_InputIterator>::difference_type in _GLIBCXX_BEGIN_NAMESPACE()
75 __distance(_InputIterator __first, _InputIterator __last, in _GLIBCXX_BEGIN_NAMESPACE()
79 __glibcxx_function_requires(_InputIteratorConcept<_InputIterator>) in _GLIBCXX_BEGIN_NAMESPACE()
81 typename iterator_traits<_InputIterator>::difference_type __n = 0; in _GLIBCXX_BEGIN_NAMESPACE()
113 template<typename _InputIterator>
114 inline typename iterator_traits<_InputIterator>::difference_type
115 distance(_InputIterator __first, _InputIterator __last) in distance()
122 template<typename _InputIterator, typename _Distance>
124 __advance(_InputIterator& __i, _Distance __n, input_iterator_tag) in __advance()
[all …]
H A Dstl_uninitialized.h70 template<typename _InputIterator, typename _ForwardIterator> in _GLIBCXX_BEGIN_NAMESPACE()
72 __uninitialized_copy_aux(_InputIterator __first, _InputIterator __last, in _GLIBCXX_BEGIN_NAMESPACE()
77 template<typename _InputIterator, typename _ForwardIterator>
79 __uninitialized_copy_aux(_InputIterator __first, _InputIterator __last, in __uninitialized_copy_aux()
106 template<typename _InputIterator, typename _ForwardIterator>
108 uninitialized_copy(_InputIterator __first, _InputIterator __last, in uninitialized_copy()
228 template<typename _InputIterator, typename _ForwardIterator,
231 __uninitialized_copy_a(_InputIterator __first, _InputIterator __last, in __uninitialized_copy_a()
249 template<typename _InputIterator, typename _ForwardIterator, typename _Tp>
251 __uninitialized_copy_a(_InputIterator __first, _InputIterator __last, in __uninitialized_copy_a()
[all …]
H A Dstl_vector.h251 template<typename _InputIterator>
252 vector(_InputIterator __first, _InputIterator __last,
257 typedef typename std::__is_integer<_InputIterator>::__type _Integral; in _Base()
308 template<typename _InputIterator>
310 assign(_InputIterator __first, _InputIterator __last) in assign()
313 typedef typename std::__is_integer<_InputIterator>::__type _Integral; in assign()
669 template<typename _InputIterator>
671 insert(iterator __position, _InputIterator __first, in insert()
672 _InputIterator __last) in insert()
675 typedef typename std::__is_integer<_InputIterator>::__type _Integral; in insert()
[all …]
/openbsd-src/gnu/gcc/libstdc++-v3/include/debug/
H A Dfunctions.h104 template<typename _InputIterator>
106 __valid_range_aux2(const _InputIterator&, const _InputIterator&, in __valid_range_aux2() argument
122 template<typename _InputIterator>
124 __valid_range_aux(const _InputIterator& __first, in __valid_range_aux()
125 const _InputIterator& __last, std::__false_type) in __valid_range_aux()
127 typedef typename std::iterator_traits<_InputIterator>::iterator_category in __valid_range_aux()
137 template<typename _InputIterator>
139 __valid_range(const _InputIterator& __first, const _InputIterator& __last) in __valid_range()
141 typedef typename std::__is_integer<_InputIterator>::__type _Integral; in __valid_range()
156 template<typename _InputIterator>
[all …]
H A Dhash_multiset.h92 template<typename _InputIterator>
93 hash_multiset(_InputIterator __f, _InputIterator __l) in hash_multiset()
97 template<typename _InputIterator>
98 hash_multiset(_InputIterator __f, _InputIterator __l, size_type __n) in hash_multiset()
102 template<typename _InputIterator>
103 hash_multiset(_InputIterator __f, _InputIterator __l, size_type __n, in hash_multiset()
108 template<typename _InputIterator>
109 hash_multiset(_InputIterator __f, _InputIterator __l, size_type __n,
136 template <typename _InputIterator>
138 insert(_InputIterator __first, _InputIterator __last) in insert()
H A Dhash_set.h91 template<typename _InputIterator>
92 hash_set(_InputIterator __f, _InputIterator __l) in hash_set()
95 template<typename _InputIterator>
96 hash_set(_InputIterator __f, _InputIterator __l, size_type __n) in hash_set()
99 template<typename _InputIterator>
100 hash_set(_InputIterator __f, _InputIterator __l, size_type __n, in hash_set()
104 template<typename _InputIterator>
105 hash_set(_InputIterator __f, _InputIterator __l, size_type __n,
145 template<typename _InputIterator>
147 insert(_InputIterator __first, _InputIterator __last) in insert()
H A Dhash_multimap.h93 template<typename _InputIterator>
94 hash_multimap(_InputIterator __f, _InputIterator __l) in hash_multimap()
97 template<typename _InputIterator>
98 hash_multimap(_InputIterator __f, _InputIterator __l, size_type __n) in hash_multimap()
101 template<typename _InputIterator>
102 hash_multimap(_InputIterator __f, _InputIterator __l, size_type __n, in hash_multimap()
106 template<typename _InputIterator>
107 hash_multimap(_InputIterator __f, _InputIterator __l, size_type __n,
142 template <typename _InputIterator>
144 insert(_InputIterator __first, _InputIterator __last) in insert()
/openbsd-src/gnu/llvm/libcxx/include/__numeric/
H A Dreduce.h24 template <class _InputIterator, class _Tp, class _BinaryOp>
25 …LINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 _Tp reduce(_InputIterator __first, _InputIterator __… in reduce()
32 template <class _InputIterator, class _Tp>
33 …LINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 _Tp reduce(_InputIterator __first, _InputIterator __… in reduce()
38 template <class _InputIterator>
39 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 typename iterator_traits<_InputIterator>::v…
40 reduce(_InputIterator __first, _InputIterator __last) { in reduce()
41 return _VSTD::reduce(__first, __last, typename iterator_traits<_InputIterator>::value_type{}); in reduce()
H A Dinclusive_scan.h26 template <class _InputIterator, class _OutputIterator, class _Tp, class _BinaryOp>
28 inclusive_scan(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryOp _… in inclusive_scan()
36 template <class _InputIterator, class _OutputIterator, class _BinaryOp>
38 inclusive_scan(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryOp _… in inclusive_scan()
40 typename iterator_traits<_InputIterator>::value_type __init = *__first; in inclusive_scan()
49 template <class _InputIterator, class _OutputIterator>
50 …INE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX20 _OutputIterator inclusive_scan(_InputIterator __first, in inclusive_scan()
51_InputIterator __last, in inclusive_scan()
H A Dadjacent_difference.h23 template <class _InputIterator, class _OutputIterator>
26 adjacent_difference(_InputIterator __first, _InputIterator __last, _OutputIterator __result) in adjacent_difference()
30 typename iterator_traits<_InputIterator>::value_type __acc(*__first); in adjacent_difference()
34 typename iterator_traits<_InputIterator>::value_type __val(*__first); in adjacent_difference()
46 template <class _InputIterator, class _OutputIterator, class _BinaryOperation>
49 adjacent_difference(_InputIterator __first, _InputIterator __last, _OutputIterator __result, in adjacent_difference()
54 typename iterator_traits<_InputIterator>::value_type __acc(*__first); in adjacent_difference()
58 typename iterator_traits<_InputIterator>::value_type __val(*__first); in adjacent_difference()
H A Dpartial_sum.h23 template <class _InputIterator, class _OutputIterator>
26 partial_sum(_InputIterator __first, _InputIterator __last, _OutputIterator __result) in partial_sum()
30 typename iterator_traits<_InputIterator>::value_type __t(*__first); in partial_sum()
45 template <class _InputIterator, class _OutputIterator, class _BinaryOperation>
48 partial_sum(_InputIterator __first, _InputIterator __last, _OutputIterator __result, in partial_sum()
53 typename iterator_traits<_InputIterator>::value_type __t(*__first); in partial_sum()
H A Dtransform_inclusive_scan.h24 template <class _InputIterator, class _OutputIterator, class _Tp, class _BinaryOp, class _UnaryOp>
27 transform_inclusive_scan(_InputIterator __first, _InputIterator __last, in transform_inclusive_scan()
38 template <class _InputIterator, class _OutputIterator, class _BinaryOp, class _UnaryOp>
41 transform_inclusive_scan(_InputIterator __first, _InputIterator __last, in transform_inclusive_scan()
45 typename iterator_traits<_InputIterator>::value_type __init = __u(*__first); in transform_inclusive_scan()
H A Daccumulate.h22 template <class _InputIterator, class _Tp>
25 accumulate(_InputIterator __first, _InputIterator __last, _Tp __init) in accumulate()
36 template <class _InputIterator, class _Tp, class _BinaryOperation>
39 accumulate(_InputIterator __first, _InputIterator __last, _Tp __init, _BinaryOperation __binary_op) in accumulate()
H A Dexclusive_scan.h25 template <class _InputIterator, class _OutputIterator, class _Tp, class _BinaryOp>
27 exclusive_scan(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Tp __init,… in exclusive_scan()
43 template <class _InputIterator, class _OutputIterator, class _Tp>
45 exclusive_scan(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Tp __init)… in exclusive_scan()
/openbsd-src/gnu/llvm/libcxx/include/__algorithm/
H A Dunique_copy.h36 template <class _AlgPolicy, class _BinaryPredicate, class _InputIterator, class _Sent, class _Outpu…
37 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI pair<_InputIterator, _OutputIterator>
38 __unique_copy(_InputIterator __first, in __unique_copy()
44 typename _IterOps<_AlgPolicy>::template __value_type<_InputIterator> __t(*__first); in __unique_copy()
55 return pair<_InputIterator, _OutputIterator>(std::move(__first), std::move(__result)); in __unique_copy()
80 template <class _AlgPolicy, class _BinaryPredicate, class _InputIterator, class _Sent, class _Input…
81 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI pair<_InputIterator, _InputAndOutputIterator>
82 __unique_copy(_InputIterator __first, in __unique_copy()
94 return pair<_InputIterator, _InputAndOutputIterator>(std::move(__first), std::move(__result)); in __unique_copy()
97 template <class _InputIterator, class _OutputIterator, class _BinaryPredicate>
[all …]
H A Dcopy_n.h24 template<class _InputIterator, class _Size, class _OutputIterator>
28 __is_cpp17_input_iterator<_InputIterator>::value &&
29 !__is_cpp17_random_access_iterator<_InputIterator>::value,
32 copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) in copy_n()
50 template<class _InputIterator, class _Size, class _OutputIterator>
54 __is_cpp17_random_access_iterator<_InputIterator>::value,
57 copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) in copy_n()
59 typedef typename iterator_traits<_InputIterator>::difference_type difference_type; in copy_n()
H A Dpartial_sort_copy.h34 class _InputIterator, class _Sentinel1, class _RandomAccessIterator, class _Sentinel2,
36 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 pair<_InputIterator, _RandomAccessIterator>
37 __partial_sort_copy(_InputIterator __first, _Sentinel1 __last, in __partial_sort_copy()
58 return pair<_InputIterator, _RandomAccessIterator>( in __partial_sort_copy()
62 template <class _InputIterator, class _RandomAccessIterator, class _Compare>
65 partial_sort_copy(_InputIterator __first, _InputIterator __last, in partial_sort_copy()
76 template <class _InputIterator, class _RandomAccessIterator>
79 partial_sort_copy(_InputIterator __first, _InputIterator __last, in partial_sort_copy()
/openbsd-src/gnu/llvm/libcxx/include/__memory/
H A Dranges_uninitialized_algorithms.h184 template <class _InputIterator, class _OutputIterator>
185 using uninitialized_copy_result = in_out_result<_InputIterator, _OutputIterator>;
190 template <input_iterator _InputIterator,
191 sentinel_for<_InputIterator> _Sentinel1,
194 requires constructible_from<iter_value_t<_OutputIterator>, iter_reference_t<_InputIterator>>
195 uninitialized_copy_result<_InputIterator, _OutputIterator>
196 …operator()(_InputIterator __ifirst, _Sentinel1 __ilast, _OutputIterator __ofirst, _Sentinel2 __ola… in operator()
221 template <class _InputIterator, class _OutputIterator>
222 using uninitialized_copy_n_result = in_out_result<_InputIterator, _OutputIterator>;
227 template <input_iterator _InputIterator,
[all …]
H A Dranges_construct_at.h79 …template <__nothrow_input_iterator _InputIterator, __nothrow_sentinel_for<_InputIterator> _Sentine…
80 requires destructible<iter_value_t<_InputIterator>>
82 constexpr _InputIterator operator()(_InputIterator __first, _Sentinel __last) const noexcept { in operator()
105 template <__nothrow_input_iterator _InputIterator>
106 requires destructible<iter_value_t<_InputIterator>>
108 …constexpr _InputIterator operator()(_InputIterator __first, iter_difference_t<_InputIterator> __n)… in operator()
/openbsd-src/gnu/llvm/libcxx/include/ext/
H A Dhash_set251 template <class _InputIterator>
252 hash_set(_InputIterator __first, _InputIterator __last);
253 template <class _InputIterator>
254 hash_set(_InputIterator __first, _InputIterator __last,
257 template <class _InputIterator>
258 hash_set(_InputIterator __first, _InputIterator __last,
288 template <class _InputIterator>
290 void insert(_InputIterator __first, _InputIterator __last);
352 template <class _InputIterator>
354 _InputIterator __first, _InputIterator __last)
[all …]
/openbsd-src/gnu/llvm/libcxx/include/__random/
H A Dseed_seq.h45 template<class _InputIterator>
47 seed_seq(_InputIterator __first, _InputIterator __last) { in seed_seq()
48 static_assert(is_integral<typename iterator_traits<_InputIterator>::value_type>::value, in seed_seq()
72 template<class _InputIterator>
73 void __init(_InputIterator __first, _InputIterator __last);
78 template<class _InputIterator>
80 seed_seq::__init(_InputIterator __first, _InputIterator __last) in __init()
82 for (_InputIterator __s = __first; __s != __last; ++__s) in __init()

12345