Home
last modified time | relevance | path

Searched refs:iterator_traits (Results 1 – 25 of 156) sorted by relevance

1234567

/external/libcxx/test/std/iterators/iterator.primitives/iterator.traits/
Dempty.fail.cpp70 typedef std::iterator_traits<NotAnIteratorEmpty> T; in main()
79 typedef std::iterator_traits<NotAnIteratorNoDifference> T; in main()
88 typedef std::iterator_traits<NotAnIteratorNoValue> T; in main()
97 typedef std::iterator_traits<NotAnIteratorNoPointer> T; in main()
106 typedef std::iterator_traits<NotAnIteratorNoReference> T; in main()
115 typedef std::iterator_traits<NotAnIteratorNoCategory> T; in main()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
Diterator.h155 typename std::iterator_traits<WrappedIteratorT>::iterator_category,
156 typename T = typename std::iterator_traits<WrappedIteratorT>::value_type,
158 typename std::iterator_traits<WrappedIteratorT>::difference_type,
160 std::is_same<T, typename std::iterator_traits<
162 typename std::iterator_traits<WrappedIteratorT>::pointer, T *>::type,
164 std::is_same<T, typename std::iterator_traits<
166 typename std::iterator_traits<WrappedIteratorT>::reference, T &>::type,
168 typename WrappedTraitsT = std::iterator_traits<WrappedIteratorT>>
250 typename std::iterator_traits<WrappedIteratorT>::iterator_category,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
Diterator.h194 typename std::iterator_traits<WrappedIteratorT>::iterator_category,
195 typename T = typename std::iterator_traits<WrappedIteratorT>::value_type,
197 typename std::iterator_traits<WrappedIteratorT>::difference_type,
199 std::is_same<T, typename std::iterator_traits<
201 typename std::iterator_traits<WrappedIteratorT>::pointer, T *>::type,
203 std::is_same<T, typename std::iterator_traits<
205 typename std::iterator_traits<WrappedIteratorT>::reference, T &>::type,
207 typename WrappedTraitsT = std::iterator_traits<WrappedIteratorT>>
292 typename std::iterator_traits<WrappedIteratorT>::iterator_category,
/external/libcxx/test/std/containers/sequences/deque/
Dtypes.pass.cpp56 typename std::iterator_traits<typename C::iterator>::iterator_category, in test()
59 typename std::iterator_traits<typename C::const_iterator>::iterator_category, in test()
70 typename std::iterator_traits<typename C::iterator>::difference_type>::value), ""); in test()
72 typename std::iterator_traits<typename C::const_iterator>::difference_type>::value), ""); in test()
99 typename std::iterator_traits<typename C::iterator>::difference_type>::value), ""); in main()
101 … typename std::iterator_traits<typename C::const_iterator>::difference_type>::value), ""); in main()
/external/libcxx/include/experimental/
Dfunctional50 class Hash = hash<typename iterator_traits<RandomAccessIterator>::value_type>,
55 class Hash = hash<typename iterator_traits<RandomAccessIterator>::value_type>,
65 class Hash = hash<typename iterator_traits<RandomAccessIterator>::value_type>,
73 class Hash = hash<typename iterator_traits<RandomAccessIterator>::value_type>,
127 typename _VSTD::iterator_traits<_ForwardIterator>::iterator_category(),
128 typename _VSTD::iterator_traits<_ForwardIterator2>::iterator_category());
210 class _Hash = hash<typename iterator_traits<_RandomAccessIterator1>::value_type>,
215 typedef typename std::iterator_traits<_RandomAccessIterator1>::difference_type difference_type;
216 typedef typename std::iterator_traits<_RandomAccessIterator1>::value_type value_type;
244 … typename std::__uncvref<typename std::iterator_traits<_RandomAccessIterator1>::value_type>::type,
[all …]
/external/libcxx/test/std/containers/sequences/array/
Dtypes.pass.cpp36 typedef std::iterator_traits<typename C::iterator> ItT; in test_iterators()
37 typedef std::iterator_traits<typename C::const_iterator> CItT; in test_iterators()
71 typename std::iterator_traits<typename C::iterator>::difference_type>::value), ""); in main()
73 … typename std::iterator_traits<typename C::const_iterator>::difference_type>::value), ""); in main()
93 typename std::iterator_traits<typename C::iterator>::difference_type>::value), ""); in main()
95 … typename std::iterator_traits<typename C::const_iterator>::difference_type>::value), ""); in main()
/external/v8/src/base/
Diterator.h32 typedef typename std::iterator_traits<iterator>::pointer pointer;
33 typedef typename std::iterator_traits<iterator>::reference reference;
34 typedef typename std::iterator_traits<iterator>::value_type value_type;
36 typename std::iterator_traits<iterator>::difference_type difference_type;
/external/libcxx/test/std/containers/sequences/vector.bool/
Dtypes.pass.cpp53 typename std::iterator_traits<typename C::iterator>::difference_type>::value), ""); in test()
55 typename std::iterator_traits<typename C::const_iterator>::difference_type>::value), ""); in test()
58 typename std::iterator_traits<typename C::iterator>::iterator_category, in test()
61 typename std::iterator_traits<typename C::const_iterator>::iterator_category, in test()
/external/libcxx/include/
Dalgorithm83 constexpr typename iterator_traits<InputIterator>::difference_type // constexpr in C++20
87 constexpr typename iterator_traits<InputIterator>::difference_type // constexpr in C++20
1012 typename iterator_traits<_RandomAccessIterator2>::difference_type __len2 = __last2 - __first2;
1015 typename iterator_traits<_RandomAccessIterator1>::difference_type __len1 = __last1 - __first1;
1054 typename iterator_traits<_ForwardIterator1>::iterator_category(),
1055 typename iterator_traits<_ForwardIterator2>::iterator_category());
1064 typedef typename iterator_traits<_ForwardIterator1>::value_type __v1;
1065 typedef typename iterator_traits<_ForwardIterator2>::value_type __v2;
1099 typedef typename iterator_traits<_ForwardIterator1>::value_type __v1;
1100 typedef typename iterator_traits<_ForwardIterator2>::value_type __v2;
[all …]
Diterator21 struct iterator_traits
31 struct iterator_traits<T*>
61 typename iterator_traits<InputIterator>::difference_type n);
64 constexpr typename iterator_traits<InputIterator>::difference_type
69 typename iterator_traits<InputIterator>::difference_type n = 1);
73 typename iterator_traits<BidirectionalIterator>::difference_type n = 1);
77 : public iterator<typename iterator_traits<Iterator>::iterator_category,
78 typename iterator_traits<Iterator>::value_type,
79 typename iterator_traits<Iterator>::difference_type,
80 typename iterator_traits<Iterator>::pointer,
[all …]
Dnumeric29 typename iterator_traits<InputIterator>::value_type
197 typename iterator_traits<_InputIterator>::value_type
201 typename iterator_traits<_InputIterator>::value_type{});
268 typename iterator_traits<_InputIterator>::value_type __t(*__first);
287 typename iterator_traits<_InputIterator>::value_type __t(*__first);
344 typename std::iterator_traits<_InputIterator>::value_type __init = *__first;
399 typename std::iterator_traits<_InputIterator>::value_type __init = __u(*__first);
416 typename iterator_traits<_InputIterator>::value_type __t1(*__first);
420 typename iterator_traits<_InputIterator>::value_type __t2(*__first);
436 typename iterator_traits<_InputIterator>::value_type __t1(*__first);
[all …]
/external/libcxx/test/support/
Dtest_iterators.h35 typedef typename std::iterator_traits<It>::difference_type difference_type;
37 typedef typename std::iterator_traits<It>::reference reference;
60 typedef std::iterator_traits<ItTraits> Traits;
118 typedef typename std::iterator_traits<It>::value_type value_type;
119 typedef typename std::iterator_traits<It>::difference_type difference_type;
121 typedef typename std::iterator_traits<It>::reference reference;
170 typedef typename std::iterator_traits<It>::value_type value_type;
171 typedef typename std::iterator_traits<It>::difference_type difference_type;
173 typedef typename std::iterator_traits<It>::reference reference;
221 typedef typename std::iterator_traits<It>::value_type value_type;
[all …]
/external/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opindex/
Ddifference_type.pass.cpp25 test(It i, typename std::iterator_traits<It>::difference_type n, in test()
26 typename std::iterator_traits<It>::value_type x) in test()
28 typedef typename std::iterator_traits<It>::value_type value_type; in test()
/external/Reactive-Extensions/RxCpp/Ix/CPP/src/cpplinq/
Dlinq_iterators.hpp23 operator+(const Iter& it, typename std::iterator_traits<Iter>::distance_type n) { in operator +()
31 operator-(const Iter& it, typename std::iterator_traits<Iter>::distance_type n) { in operator -()
39 operator-=(const Iter& it, typename std::iterator_traits<Iter>::distance_type n) { in operator -=()
78 typename std::iterator_traits<Iter>::pointer deref_iterator(const Iter& it) { in deref_iterator()
79 … return deref_iterator(it, util::identity<typename std::iterator_traits<Iter>::reference>()); in deref_iterator()
Dutil.hpp12 typedef typename std::iterator_traits<iterator>::value_type value_type;
13 typedef typename std::iterator_traits<iterator>::iterator_category iterator_category;
17 std::is_reference<typename std::iterator_traits<iterator>::reference>::value
19 …typename std::remove_cv<typename std::remove_reference<typename std::iterator_traits<iterator>::re…
Dlinq_cursor.hpp94 …ze_t catIx = sizeof(detail::get_category_from_iterator(typename std::iterator_traits<Iter>::iterat…
148 … typedef typename std::remove_reference<typename std::iterator_traits<Iterator>::value_type>::type
150 typedef typename std::iterator_traits<Iterator>::reference
162 typename std::iterator_traits<Iterator>::reference get() const { return *current; } in get()
/external/libcxx/test/std/containers/sequences/list/
Dtypes.pass.cpp46 typename std::iterator_traits<typename C::iterator>::difference_type>::value), ""); in main()
48 typename std::iterator_traits<typename C::const_iterator>::difference_type>::value), ""); in main()
64 typename std::iterator_traits<typename C::iterator>::difference_type>::value), ""); in main()
66 typename std::iterator_traits<typename C::const_iterator>::difference_type>::value), ""); in main()
/external/libcxx/test/std/containers/sequences/forwardlist/
Dtypes.pass.cpp51 typename std::iterator_traits<typename C::iterator>::difference_type>::value), ""); in main()
53 typename std::iterator_traits<typename C::const_iterator>::difference_type>::value), ""); in main()
71 typename std::iterator_traits<typename C::iterator>::difference_type>::value), ""); in main()
73 typename std::iterator_traits<typename C::const_iterator>::difference_type>::value), ""); in main()
/external/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.index/
Ddifference_type.pass.cpp28 test(It i, typename std::iterator_traits<It>::difference_type n, in test()
29 typename std::iterator_traits<It>::value_type x) in test()
31 typedef typename std::iterator_traits<It>::value_type value_type; in test()
/external/libcxx/test/std/strings/basic.string/
Dinput_iterator.h21 typedef typename std::iterator_traits<It>::value_type value_type;
22 typedef typename std::iterator_traits<It>::difference_type difference_type;
24 typedef typename std::iterator_traits<It>::reference reference;
/external/libcxx/test/std/iterators/iterator.primitives/iterator.operations/
Dprev.pass.cpp22 test(It i, typename std::iterator_traits<It>::difference_type n, It x) in test()
26 It (*prev)(It, typename std::iterator_traits<It>::difference_type) = std::prev; in test()
40 constexpr_test(It i, typename std::iterator_traits<It>::difference_type n, It x) in constexpr_test()
Dnext.pass.cpp24 test(It i, typename std::iterator_traits<It>::difference_type n, It x) in test()
28 It (*next)(It, typename std::iterator_traits<It>::difference_type) = std::next; in test()
42 constexpr_test(It i, typename std::iterator_traits<It>::difference_type n, It x) in constexpr_test()
/external/llvm/include/llvm/ADT/
Diterator.h154 typename std::iterator_traits<WrappedIteratorT>::iterator_category,
155 typename T = typename std::iterator_traits<WrappedIteratorT>::value_type,
157 typename std::iterator_traits<WrappedIteratorT>::difference_type,
160 typename WrappedTraitsT = std::iterator_traits<WrappedIteratorT>>
250 typename std::iterator_traits<WrappedIteratorT>::iterator_category,
/external/mesa3d/src/gallium/state_trackers/clover/util/
Drange.hpp76 typedef typename std::iterator_traits<iterator>::value_type value_type;
77 typedef typename std::iterator_traits<iterator>::reference
79 typedef typename std::iterator_traits<const_iterator>::reference
81 typedef typename std::iterator_traits<iterator>::difference_type
361 range(T i, typename std::iterator_traits<T>::difference_type n) { in range()
/external/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iterator/
Dtypes.pass.cpp45 typedef std::iterator_traits<It> T; in test()
52 …static_assert((std::is_same<typename R::pointer, typename std::iterator_traits<It>::pointer>::valu… in test()

1234567