Home
last modified time | relevance | path

Searched refs:Iter (Results 1 – 25 of 520) sorted by relevance

12345678910>>...21

/third_party/boost/libs/algorithm/test/
Dreduce_test.cpp23 template <class Iter, class T, class Op>
25 test_reduce(Iter first, Iter last, T init, Op op, T x) in test_reduce()
30 template <class Iter, class T, class Op>
32 test_reduce(Iter first, Iter last, Op op, T x) in test_reduce()
37 template <class Iter, class T>
39 test_reduce(Iter first, Iter last, T x) in test_reduce()
44 template <class Iter>
50 test_reduce(Iter(ia), Iter(ia), 0, std::plus<int>(), 0); in test_init_op()
51 test_reduce(Iter(ia), Iter(ia), 1, std::multiplies<int>(), 1); in test_init_op()
52 test_reduce(Iter(ia), Iter(ia+1), 0, std::plus<int>(), 1); in test_init_op()
[all …]
Dtransform_reduce_test.cpp40 template <class Iter>
47 test_init_bop_uop(Iter(ia), Iter(ia), 0, std::plus<int>(), identity<int>(), 0); in test_init_bop_uop()
48 test_init_bop_uop(Iter(ia), Iter(ia), 1, std::multiplies<int>(), identity<int>(), 1); in test_init_bop_uop()
49 test_init_bop_uop(Iter(ia), Iter(ia+1), 0, std::multiplies<int>(), identity<int>(), 0); in test_init_bop_uop()
50 test_init_bop_uop(Iter(ia), Iter(ia+1), 2, std::plus<int>(), identity<int>(), 3); in test_init_bop_uop()
51 test_init_bop_uop(Iter(ia), Iter(ia+2), 0, std::plus<int>(), identity<int>(), 3); in test_init_bop_uop()
52 test_init_bop_uop(Iter(ia), Iter(ia+2), 3, std::multiplies<int>(), identity<int>(), 6); in test_init_bop_uop()
53 test_init_bop_uop(Iter(ia), Iter(ia+sa), 4, std::multiplies<int>(), identity<int>(), 2880); in test_init_bop_uop()
54 test_init_bop_uop(Iter(ia), Iter(ia+sa), 4, std::plus<int>(), identity<int>(), 25); in test_init_bop_uop()
56 test_init_bop_uop(Iter(ia), Iter(ia), 0, std::plus<int>(), twice<int>(), 0); in test_init_bop_uop()
[all …]
/third_party/boost/libs/iterator/test/
Dfilter_iterator_test.cpp40 typedef boost::filter_iterator<one_or_four, boost::input_iterator_archetype<dummyT> > Iter; in main() typedef
41 boost::function_requires< boost::InputIteratorConcept<Iter> >(); in main()
42 boost::function_requires< boost_concepts::ReadableIteratorConcept<Iter> >(); in main()
43 boost::function_requires< boost_concepts::SinglePassIteratorConcept<Iter> >(); in main()
46 … typedef boost::filter_iterator<one_or_four, boost::input_output_iterator_archetype<dummyT> > Iter; in main() typedef
47 boost::function_requires< boost::InputIteratorConcept<Iter> >(); in main()
48 boost::function_requires< boost::OutputIteratorConcept<Iter, dummyT> >(); in main()
49 boost::function_requires< boost_concepts::ReadableIteratorConcept<Iter> >(); in main()
50 boost::function_requires< boost_concepts::WritableIteratorConcept<Iter> >(); in main()
51 boost::function_requires< boost_concepts::SinglePassIteratorConcept<Iter> >(); in main()
[all …]
Dindirect_iter_member_types.cpp37 typedef boost::indirect_iterator<int**> Iter; in main() typedef
38 STATIC_ASSERT_SAME(Iter::value_type, int); in main()
39 STATIC_ASSERT_SAME(Iter::reference, int&); in main()
40 STATIC_ASSERT_SAME(Iter::pointer, int*); in main()
41 STATIC_ASSERT_SAME(Iter::difference_type, std::ptrdiff_t); in main()
43 BOOST_STATIC_ASSERT((boost::is_convertible<Iter::iterator_category, in main()
45 BOOST_STATIC_ASSERT((boost::is_convertible<boost::iterator_traversal<Iter>::type, in main()
49 typedef boost::indirect_iterator<int const**> Iter; in main() typedef
50 STATIC_ASSERT_SAME(Iter::value_type, int); in main()
51 STATIC_ASSERT_SAME(Iter::reference, const int&); in main()
[all …]
Dreverse_iterator_test.cpp30 typedef boost::reverse_iterator<boost::bidirectional_iterator_archetype<dummyT> > Iter; in main() typedef
31 boost::function_requires< boost::BidirectionalIteratorConcept<Iter> >(); in main()
32 boost::function_requires< boost_concepts::ReadableIteratorConcept<Iter> >(); in main()
33 boost::function_requires< boost_concepts::LvalueIteratorConcept<Iter> >(); in main()
34 boost::function_requires< boost_concepts::BidirectionalTraversalConcept<Iter> >(); in main()
37 typedef boost::reverse_iterator<boost::mutable_bidirectional_iterator_archetype<dummyT> > Iter; in main() typedef
38 boost::function_requires< boost::Mutable_BidirectionalIteratorConcept<Iter> >(); in main()
39 boost::function_requires< boost_concepts::WritableIteratorConcept<Iter> >(); in main()
40 boost::function_requires< boost_concepts::LvalueIteratorConcept<Iter> >(); in main()
41 boost::function_requires< boost_concepts::BidirectionalTraversalConcept<Iter> >(); in main()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceRegAlloc.cpp386 void LinearScan::addSpillFill(IterationState &Iter) { in addSpillFill() argument
401 assert(!Iter.Cur->getLiveRange().isEmpty()); in addSpillFill()
402 InstNumberT Start = Iter.Cur->getLiveRange().getStart(); in addSpillFill()
403 InstNumberT End = Iter.Cur->getLiveRange().getEnd(); in addSpillFill()
404 CfgNode *Node = Func->getVMetadata()->getLocalUseNode(Iter.Cur); in addSpillFill()
425 Iter.RegMask[RegAlias] = false; in addSpillFill()
434 const RegNumT RegNum = *RegNumBVIter(Iter.RegMask).begin(); in addSpillFill()
435 Iter.Cur->setRegNumTmp(RegNum); in addSpillFill()
436 Variable *Preg = Target->getPhysicalRegister(RegNum, Iter.Cur->getType()); in addSpillFill()
439 Variable *SpillLoc = Func->makeVariable(Iter.Cur->getType()); in addSpillFill()
[all …]
/third_party/boost/boost/sort/pdqsort/
Dpdqsort.hpp63 template<class Iter, class Compare>
64 inline void insertion_sort(Iter begin, Iter end, Compare comp) { in insertion_sort()
65 typedef typename std::iterator_traits<Iter>::value_type T; in insertion_sort()
68 for (Iter cur = begin + 1; cur != end; ++cur) { in insertion_sort()
69 Iter sift = cur; in insertion_sort()
70 Iter sift_1 = cur - 1; in insertion_sort()
86 template<class Iter, class Compare>
87 inline void unguarded_insertion_sort(Iter begin, Iter end, Compare comp) { in unguarded_insertion_sort()
88 typedef typename std::iterator_traits<Iter>::value_type T; in unguarded_insertion_sort()
91 for (Iter cur = begin + 1; cur != end; ++cur) { in unguarded_insertion_sort()
[all …]
/third_party/boost/boost/fusion/algorithm/query/detail/
Dfind_if.hpp77 template<typename Iter, typename Pred, int n, int unrolling>
80 template <typename Iter, typename Pred, int offset>
83 typedef typename result_of::advance_c<Iter, offset>::type Shifted;
93 template<typename Iter, typename Pred, int n>
97 apply_filter<Iter, Pred>,
98 mpl::identity<Iter>,
100 apply_offset_filter<Iter, Pred, 1>,
101 result_of::advance_c<Iter, 1>,
103 apply_offset_filter<Iter, Pred, 2>,
104 result_of::advance_c<Iter, 2>,
[all …]
/third_party/boost/boost/move/algo/detail/
Dpdqsort.hpp109 template<class Iter, class Compare>
110 inline bool partial_insertion_sort(Iter begin, Iter end, Compare comp) { in partial_insertion_sort()
111 typedef typename boost::movelib::iterator_traits<Iter>::value_type T; in partial_insertion_sort()
112 typedef typename boost::movelib::iterator_traits<Iter>::size_type size_type; in partial_insertion_sort()
116 for (Iter cur = begin + 1; cur != end; ++cur) { in partial_insertion_sort()
119 Iter sift = cur; in partial_insertion_sort()
120 Iter sift_1 = cur - 1; in partial_insertion_sort()
137 template<class Iter, class Compare>
138 inline void sort2(Iter a, Iter b, Compare comp) { in sort2()
143 template<class Iter, class Compare>
[all …]
/third_party/googletest/googletest/scripts/
Dgen_gtest_pred_impl.py190 def Iter(n, format, sep=''): function
212 'vs' : Iter(n, 'v%s', sep=', '),
213 'vts' : Iter(n, '#v%s', sep=', '),
224 impl += Iter(n, """,
230 impl += Iter(n, """,
236 impl += Iter(n, """,
246 impl += Iter(n, """
251 impl += Iter(
270 impl += Iter(n, """, \\
276 impl += Iter(n, """, \\
[all …]
/third_party/boost/libs/concept_check/test/
Dconcept_check_test.cpp132 typedef input_iterator_archetype<null_archetype<> > Iter; in main() typedef
133 function_requires< InputIterator<Iter> >(); in main()
136 typedef output_iterator_archetype<int> Iter; in main() typedef
137 function_requires< OutputIterator<Iter, int> >(); in main()
140 typedef input_output_iterator_archetype<int> Iter; in main() typedef
141 function_requires< InputIterator<Iter> >(); in main()
142 function_requires< OutputIterator<Iter, int> >(); in main()
145 typedef forward_iterator_archetype<null_archetype<> > Iter; in main() typedef
146 function_requires< ForwardIterator<Iter> >(); in main()
149 typedef mutable_forward_iterator_archetype<assignable_archetype<> > Iter; in main() typedef
[all …]
/third_party/skia/src/utils/
DSkNWayCanvas.cpp38 class SkNWayCanvas::Iter { class in SkNWayCanvas
40 Iter(const SkTDArray<SkCanvas*>& list) : fList(list) { in Iter() function in SkNWayCanvas::Iter
60 Iter iter(fList); in willSave()
69 Iter iter(fList); in getSaveLayerStrategy()
80 Iter iter(fList); in onDoSaveBehind()
89 Iter iter(fList); in willRestore()
97 Iter iter(fList); in onMarkCTM()
105 Iter iter(fList); in didConcat44()
112 Iter iter(fList); in didSetM44()
119 Iter iter(fList); in didTranslate()
[all …]
/third_party/flutter/skia/tests/
DLListTest.cpp67 typedef SkTInternalLList<ListElement>::Iter Iter; in test_tinternallist() typedef
68 Iter iter; in test_tinternallist()
70 ListElement* cur = iter.init(list, Iter::kHead_IterStart); in test_tinternallist()
75 cur = iter.init(list, Iter::kTail_IterStart); in test_tinternallist()
111 cur = iter.init(list, Iter::kHead_IterStart); in test_tinternallist()
150 cur = iter.init(listA, Iter::kHead_IterStart); in test_tinternallist()
158 typedef typename ElList::Iter Iter; in test_tllist() typedef
163 Iter iter1; in test_tllist()
164 Iter iter2; in test_tllist()
165 Iter iter3; in test_tllist()
[all …]
/third_party/flutter/skia/src/utils/
DSkNWayCanvas.cpp37 class SkNWayCanvas::Iter { class in SkNWayCanvas
39 Iter(const SkTDArray<SkCanvas*>& list) : fList(list) { in Iter() function in SkNWayCanvas::Iter
59 Iter iter(fList); in willSave()
68 Iter iter(fList); in getSaveLayerStrategy()
79 Iter iter(fList); in onDoSaveBehind()
88 Iter iter(fList); in willRestore()
96 Iter iter(fList); in didConcat()
104 Iter iter(fList); in didSetMatrix()
112 Iter iter(fList); in onClipRect()
120 Iter iter(fList); in onClipRRect()
[all …]
/third_party/flutter/skia/src/core/
DSkTLList.h42 class Iter;
51 typename NodeList::Iter iter; in ~SkTLList()
52 Node* node = iter.init(fList, Iter::kHead_IterStart); in ~SkTLList()
88 template <typename... Args> T* addBefore(Iter location, Args&&... args) { in addBefore()
98 template <typename... Args> T* addAfter(Iter location, Args&&... args) { in addAfter()
107 Iter headIter() const { return Iter(*this, Iter::kHead_IterStart); } in headIter()
108 Iter tailIter() const { return Iter(*this, Iter::kTail_IterStart); } in tailIter()
110 T* head() { return Iter(*this, Iter::kHead_IterStart).get(); } in head()
111 T* tail() { return Iter(*this, Iter::kTail_IterStart).get(); } in tail()
112 const T* head() const { return Iter(*this, Iter::kHead_IterStart).get(); } in head()
[all …]
DSkArenaAllocList.h31 class Iter {
33 Iter() = default;
34 inline Iter& operator++();
37 bool operator==(const Iter& that) const { return fCurr == that.fCurr; }
38 bool operator!=(const Iter& that) const { return !(*this == that); }
42 explicit Iter(Node* node) : fCurr(node) {} in Iter() function
46 Iter begin() { return Iter(fHead); } in begin()
47 Iter end() { return Iter(); } in end()
48 Iter tail() { return Iter(fTail); } in tail()
75 typename SkArenaAllocList<T>::Iter& SkArenaAllocList<T>::Iter::operator++() {
/third_party/boost/boost/test/utils/iterator/
Dtoken_iterator.hpp215 template<typename Iter>
216 bool get( Iter& begin, Iter end ) in get()
218 … typedef ut_detail::token_assigner<BOOST_DEDUCED_TYPENAME iterator_traversal<Iter>::type> Assigner; in get()
219 Iter check_point; in get()
341 template<typename Iter,
342 …e CharCompare = ut_detail::default_char_compare<BOOST_DEDUCED_TYPENAME iterator_value<Iter>::type>,
343 … typename ValueType = std::basic_string<BOOST_DEDUCED_TYPENAME iterator_value<Iter>::type>,
346 : public token_iterator_base<range_token_iterator<Iter,CharCompare,ValueType,Reference>,
347 typename iterator_value<Iter>::type,CharCompare,ValueType,Reference> {
349 typedef token_iterator_base<range_token_iterator<Iter,CharCompare,ValueType,Reference>,
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-iter.hh245 template<typename Iter, typename Item>
249 static hb_true_type impl (hb_priority<2>, hb_iter_t<Iter, hb_type_identity<Item2>> *);
253 static constexpr bool value = decltype (impl (hb_prioritize, hb_declval (Iter*)))::value;
255 #define hb_is_iterator_of(Iter, Item) hb_is_iterator_of<Iter, Item>::value argument
256 #define hb_is_iterator(Iter) hb_is_iterator_of (Iter, typename Iter::item_t) argument
278 template<typename Iter, typename Item>
282 template <typename Iter2 = Iter,
285 template <typename Iter2 = Iter>
292 #define hb_is_source_of(Iter, Item) hb_is_source_of<Iter, Item>::value argument
294 template<typename Iter, typename Item>
[all …]
/third_party/boost/boost/graph/detail/
Dshadow_iterator.hpp82 template < typename Iter >
83 typename Iter::reference dereference(const Iter& i) const in dereference()
85 typedef typename Iter::reference R; in dereference()
88 template < typename Iter >
89 bool equal(const Iter& p1, const Iter& p2) const in equal()
93 template < typename Iter > void increment(Iter& i) in increment()
99 template < typename Iter > void decrement(Iter& i) in decrement()
105 template < typename Iter > bool less(const Iter& x, const Iter& y) const in less()
109 template < typename Iter >
110 typename Iter::difference_type distance( in distance()
[all …]
/third_party/skia/src/core/
DSkArenaAllocList.h31 class Iter {
33 Iter() = default;
34 inline Iter& operator++();
37 bool operator==(const Iter& that) const { return fCurr == that.fCurr; }
38 bool operator!=(const Iter& that) const { return !(*this == that); }
42 explicit Iter(Node* node) : fCurr(node) {} in Iter() function
46 Iter begin() { return Iter(fHead); } in begin()
47 Iter end() { return Iter(); } in end()
48 Iter tail() { return Iter(fTail); } in tail()
75 typename SkArenaAllocList<T>::Iter& SkArenaAllocList<T>::Iter::operator++() {
/third_party/harfbuzz/src/
Dhb-iter.hh254 template<typename Iter, typename Item>
258 static hb_true_type impl (hb_priority<2>, hb_iter_t<Iter, hb_type_identity<Item2>> *);
262 static constexpr bool value = decltype (impl (hb_prioritize, hb_declval (Iter*)))::value;
264 #define hb_is_iterator_of(Iter, Item) hb_is_iterator_of<Iter, Item>::value argument
265 #define hb_is_iterator(Iter) hb_is_iterator_of (Iter, typename Iter::item_t) argument
287 template<typename Iter, typename Item>
291 template <typename Iter2 = Iter,
294 template <typename Iter2 = Iter>
301 #define hb_is_source_of(Iter, Item) hb_is_source_of<Iter, Item>::value argument
303 template<typename Iter, typename Item>
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-iter.hh254 template<typename Iter, typename Item>
258 static hb_true_type impl (hb_priority<2>, hb_iter_t<Iter, hb_type_identity<Item2>> *);
262 static constexpr bool value = decltype (impl (hb_prioritize, hb_declval (Iter*)))::value;
264 #define hb_is_iterator_of(Iter, Item) hb_is_iterator_of<Iter, Item>::value argument
265 #define hb_is_iterator(Iter) hb_is_iterator_of (Iter, typename Iter::item_t) argument
287 template<typename Iter, typename Item>
291 template <typename Iter2 = Iter,
294 template <typename Iter2 = Iter>
301 #define hb_is_source_of(Iter, Item) hb_is_source_of<Iter, Item>::value argument
303 template<typename Iter, typename Item>
[all …]
/third_party/boost/boost/typeof/
Dregister_functions_iterate.hpp25 template<class Iter>
26 struct decode_type_impl<boost::type_of::constant<std::size_t,FUN_PTR_ID + n>, Iter>
28 typedef Iter iter0;
34 template<class Iter>
35 struct decode_type_impl<boost::type_of::constant<std::size_t,FUN_VAR_PTR_ID + n>, Iter>
37 typedef Iter iter0;
61 template<class Iter>
62 struct decode_type_impl<boost::type_of::constant<std::size_t,FUN_REF_ID + n>, Iter>
64 typedef Iter iter0;
70 template<class Iter>
[all …]
/third_party/boost/boost/iterator/
Dindirect_iterator.hpp40 template <class Iter, class Value, class Category, class Reference, class Difference>
45 template <class Iter, class Value, class Category, class Reference, class Difference>
48 typedef typename std::iterator_traits<Iter>::value_type dereferenceable;
51 indirect_iterator<Iter, Value, Category, Reference, Difference>
52 , Iter
122 template <class Iter>
124 indirect_iterator<Iter> make_indirect_iterator(Iter x) in make_indirect_iterator()
126 return indirect_iterator<Iter>(x); in make_indirect_iterator()
129 template <class Traits, class Iter>
131 indirect_iterator<Iter,Traits> make_indirect_iterator(Iter x, Traits* = 0) in make_indirect_iterator()
[all …]
/third_party/boost/boost/graph/
Dmatrix_as_graph.hpp25 template < class Iter, class Vertex > class matrix_adj_iterator;
27 template < class Iter, class Vertex > class matrix_incidence_iterator;
36 typedef Matrix::OneD::const_iterator Iter; \
39 typedef Iter E; \
41 typedef boost::matrix_incidence_iterator< Iter, V > \
43 typedef boost::matrix_adj_iterator< Iter, V > adjacency_iterator; \
91 template < class Iter, class Vertex > class matrix_adj_iterator
102 matrix_adj_iterator(Iter i) : _iter(i) {} in matrix_adj_iterator()
125 Iter _iter;
128 template < class Iter, class Vertex > class matrix_incidence_iterator
[all …]

12345678910>>...21