Home
last modified time | relevance | path

Searched refs:it2 (Results 1 – 25 of 191) sorted by relevance

12345678

/third_party/boost/libs/multi_index/test/
Dtest_conv_iterators.cpp30 employee_set::const_iterator it2=ces.find(employee(2,"John",40,7889)); in test_conv_iterators() local
32 BOOST_TEST(it==it1&&it1==it2&&it2==it); in test_conv_iterators()
33 BOOST_TEST(*it==*it1&&*it1==*it2&&*it2==*it); in test_conv_iterators()
40 employee_set_by_name::const_iterator it2=ci1.find("John"); in test_conv_iterators() local
42 BOOST_TEST(it==it1&&it1==it2&&it2==it); in test_conv_iterators()
43 BOOST_TEST(*it==*it1&&*it1==*it2&&*it2==*it); in test_conv_iterators()
50 employee_set_by_name::const_local_iterator it2=ci1.begin(ci1.bucket("John")); in test_conv_iterators() local
52 BOOST_TEST(it==it1&&it1==it2&&it2==it); in test_conv_iterators()
53 BOOST_TEST(*it==*it1&&*it1==*it2&&*it2==*it); in test_conv_iterators()
60 employee_set_as_inserted::const_iterator it2=ci3.begin(); in test_conv_iterators() local
[all …]
Dtest_serialization_template.hpp86 iterator it2; in test_serialization() local
87 ia>>it2; in test_serialization()
88 BOOST_TEST(it==it2); in test_serialization()
91 BOOST_TEST(*it==*it2); in test_serialization()
92 m2.erase(it,it2); in test_serialization()
93 m2.erase(it2,it2); in test_serialization()
94 m2.erase(it2,it); in test_serialization()
95 iterator it3(++it2); in test_serialization()
97 it4=--it2; in test_serialization()
101 iterator it2; in test_serialization() local
[all …]
Dtest_iterators.cpp37 for(iterator it2=i.end();it2!=i.begin();){ in test_non_const_iterators() local
38 --it2; in test_non_const_iterators()
39 p+=it2->id; in test_non_const_iterators()
71 for(const_iterator it2=i.end();it2!=i.begin();){ in test_const_iterators() local
72 --it2; in test_const_iterators()
73 p+=it2->id; in test_const_iterators()
161 for(iterator it2=i.end();it2!=middle;){ in test_non_const_rnd_iterators() local
162 --it2; in test_non_const_rnd_iterators()
163 p+=it2->id; in test_non_const_rnd_iterators()
164 p+=(it2-off)->id; in test_non_const_rnd_iterators()
[all …]
Dtest_safe_mode.cpp55 iterator it2=i.begin(); in local_test_safe_mode() local
56 it2=it; in local_test_safe_mode()
76 iterator it2; in local_test_safe_mode() local
77 bool b=(it==it2); in local_test_safe_mode()
83 iterator it2; in local_test_safe_mode() local
84 bool b=(it==it2); in local_test_safe_mode()
90 iterator it2=i2.begin(); in local_test_safe_mode() local
91 bool b=(it==it2); in local_test_safe_mode()
115 iterator it2=i2.end(); in local_test_safe_mode() local
116 i2.erase(it,it2); in local_test_safe_mode()
[all …]
/third_party/boost/boost/numeric/ublas/detail/
Dmatrix_assign.hpp65 typename M::iterator2 it2 (it1.begin ()); in make_conformant() local
70 typename M::iterator2 it2 (begin (it1, iterator1_tag ())); in make_conformant()
75 if (it2 != it2_end && it2e != it2e_end) { in make_conformant()
76 size_type it2_index = it2.index2 (), it2e_index = it2e.index2 (); in make_conformant()
80 ++ it2, ++ it2e; in make_conformant()
81 if (it2 != it2_end && it2e != it2e_end) { in make_conformant()
82 it2_index = it2.index2 (); in make_conformant()
87 increment (it2, it2_end, - compare2); in make_conformant()
88 if (it2 != it2_end) in make_conformant()
89 it2_index = it2.index2 (); in make_conformant()
[all …]
/third_party/boost/libs/circular_buffer/test/
Dbase_test.cpp60 circular_buffer<MyInteger>::iterator it2 = cb.begin() + 3; in iterator_difference_test() local
71 BOOST_TEST(it2 - it1 == 1); in iterator_difference_test()
72 BOOST_TEST(it1 - it2 == -1); in iterator_difference_test()
73 BOOST_TEST(it2 - it2 == 0); in iterator_difference_test()
81 circular_buffer<MyInteger>::iterator it2 = cb.begin() + 5; in iterator_increment_test() local
84 it2++; in iterator_increment_test()
88 BOOST_TEST(it2 == cb.begin() + 6); in iterator_increment_test()
97 circular_buffer<MyInteger>::iterator it2= cb.end() - 5; in iterator_decrement_test() local
100 it2--; in iterator_decrement_test()
104 BOOST_TEST(it2 == cb.end() - 6); in iterator_decrement_test()
[all …]
Dsoft_iterator_invalidation.cpp42 circular_buffer<int>::iterator it2 = cb.begin() + 1; in validity_insert_test() local
50 BOOST_TEST(*it2 == 4); in validity_insert_test()
65 BOOST_TEST(*it2 == 5); in validity_insert_test()
85 circular_buffer<int>::iterator it2 = cb.begin() + 1; in validity_insert_n_test() local
93 BOOST_TEST(*it2 == 4); in validity_insert_n_test()
110 BOOST_TEST(*it2 == 5); in validity_insert_n_test()
231 circular_buffer<int>::iterator it2 = cb.begin() + 1; in validity_rinsert_test() local
239 BOOST_TEST(*it2 == 4); in validity_rinsert_test()
254 BOOST_TEST(*it2 == 4); in validity_rinsert_test()
274 circular_buffer<int>::iterator it2 = cb.begin() + 1; in validity_rinsert_n_test() local
[all …]
Dspace_optimized_test.cpp135 cb_space_optimized::const_iterator it2 = cb1.begin(); in iterator_invalidation_test() local
140 BOOST_TEST(!it2.is_valid(&cb1)); in iterator_invalidation_test()
144 it2 = cb1.begin(); in iterator_invalidation_test()
148 BOOST_TEST(!it2.is_valid(&cb1)); in iterator_invalidation_test()
152 it2 = cb1.begin(); in iterator_invalidation_test()
156 BOOST_TEST(!it2.is_valid(&cb1)); in iterator_invalidation_test()
160 it2 = cb1.begin(); in iterator_invalidation_test()
164 BOOST_TEST(!it2.is_valid(&cb1)); in iterator_invalidation_test()
173 it2 = cb2.begin(); in iterator_invalidation_test()
177 BOOST_TEST(!it2.is_valid(&cb1)); in iterator_invalidation_test()
/third_party/boost/libs/numeric/ublas/test/
Dtriangular_access.cpp34 typename MAT::iterator2 it2 = it1.begin(); in test_iterator() local
37 typename MAT::iterator2 it2 = begin(it1, iterator1_tag()); in test_iterator()
40 for ( ; it2 != it2_end ; ++ it2 ) { in test_iterator()
42 std::cout << "( " << it2.index1() << ", " << it2.index2() << ") " << std::flush; in test_iterator()
44 * it2 = ( 10 * it2.index1() + it2.index2() ); in test_iterator()
60 typename MAT::iterator2 it2 = A.begin2(); in test_iterator2() local
63 for ( ; it2 != it2_end; ++it2 ) { in test_iterator2()
65 typename MAT::iterator1 it1 = it2.begin(); in test_iterator2()
66 typename MAT::iterator1 it1_end = it2.end(); in test_iterator2()
68 typename MAT::iterator1 it1 = begin(it2, iterator2_tag()); in test_iterator2()
[all …]
/third_party/json/test/src/
Dunit-iterators2.cpp44 auto it2 = j.begin(); variable
46 ++it2;
59 CHECK(!(it1 == it2));
61 CHECK(!(it2 == it3));
72 CHECK( (it1 != it2) == !(it1 == it2) );
74 CHECK( (it2 != it3) == !(it2 == it3) );
86 CHECK_THROWS_AS(it1 < it2, json::invalid_iterator&);
87 CHECK_THROWS_AS(it2 < it3, json::invalid_iterator&);
94 …CHECK_THROWS_WITH(it1 < it2, "[json.exception.invalid_iterator.213] cannot compare order of object…
95 …CHECK_THROWS_WITH(it2 < it3, "[json.exception.invalid_iterator.213] cannot compare order of object…
[all …]
/third_party/boost/boost/sort/common/
Dsort_basic.hpp58 Iter_t it2 = first + 1; in is_stable_sorted_forward() local
59 for (Iter_t it1 = first; it2 != last and not comp(*it2, *it1); it1 = it2++); in is_stable_sorted_forward()
60 return it2; in is_stable_sorted_forward()
81 Iter_t it2 = first + 1; in is_reverse_stable_sorted_forward() local
82 for (Iter_t it1 = first; it2 != last and comp(*it2, *it1); it1 = it2++); in is_reverse_stable_sorted_forward()
83 return it2; in is_reverse_stable_sorted_forward()
107 Iter_t it2 = first + 1; in number_stable_sorted_forward() local
108 for (Iter_t it1 = first; it2 != last and not comp(*it2, *it1); it1 = it2++); in number_stable_sorted_forward()
109 size_t nsorted = size_t ( it2 - first); in number_stable_sorted_forward()
114 it2 = first + 1; in number_stable_sorted_forward()
[all …]
/third_party/boost/boost/sort/spinsort/
Dspinsort.hpp182 Iter1_t it2 = rng_data.first + 1; in check_stable_sort() local
184 it2 != rng_data.last and (sw = not comp(*it2, *it1)); it1 = in check_stable_sort()
185 it2++) in check_stable_sort()
190 if (size_t(rng_data.last - it2) < min_insert_partial_sort) in check_stable_sort()
192 sort_range_sort(range<Iter1_t>(it2, rng_data.last), rng_aux, comp); in check_stable_sort()
193 insert_partial_sort(rng_data.first, it2, rng_data.last, comp, rng_aux); in check_stable_sort()
198 if ((it2 != (rng_data.first + 1))) return false; in check_stable_sort()
201 it2 != rng_data.last and (sw = comp(*it2, *it1)); it1 = in check_stable_sort()
202 it2++) in check_stable_sort()
204 if (size_t(rng_data.last - it2) >= min_insert_partial_sort) return false; in check_stable_sort()
[all …]
/third_party/boost/boost/range/detail/
Djoin_iterator.hpp71 …igned int /*selected*/, const iterator1_t& it1, const iterator2_t& it2) : m_it1(it1), m_it2(it2) {} in join_iterator_union() argument
76 iterator2_t& it2() { return m_it2; } in it2() function in boost::range_detail::join_iterator_union
77 const iterator2_t& it2() const { return m_it2; } in it2() function in boost::range_detail::join_iterator_union
107 join_iterator_union(unsigned int selected, const iterator1_t& it1, const iterator2_t& it2) in join_iterator_union() argument
108 : m_it(selected ? it2 : it1) in join_iterator_union()
115 iterator2_t& it2() { return m_it; } in it2() function in boost::range_detail::join_iterator_union
116 const iterator2_t& it2() const { return m_it; } in it2() function in boost::range_detail::join_iterator_union
228 ++m_it.it2(); in increment()
234 m_it.it2() = m_link.first2; in increment()
244 if (m_it.it2() == m_link.first2) in decrement()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DDAGDeltaAlgorithm.cpp129 for (succ_iterator_ty it2 = succ_begin(*it), ie2 = succ_end(*it); in ExecuteOneTest()
130 it2 != ie2; ++it2) in ExecuteOneTest()
131 assert(S.count(*it2) && "Attempt to run invalid changeset!"); in ExecuteOneTest()
221 for (succ_closure_iterator_ty it2 = succ_closure_begin(*it), in DAGDeltaAlgorithmImpl() local
222 ie2 = succ_closure_end(*it); it2 != ie2; ++it2) in DAGDeltaAlgorithmImpl()
223 PredClosure[*it2].insert(*it); in DAGDeltaAlgorithmImpl()
237 for (succ_iterator_ty it2 = succ_begin(*it), ie2 = succ_end(*it); in DAGDeltaAlgorithmImpl()
238 it2 != ie2; ++it2) { in DAGDeltaAlgorithmImpl()
239 if (it2 != succ_begin(*it)) in DAGDeltaAlgorithmImpl()
241 llvm::errs() << "->" << *it2; in DAGDeltaAlgorithmImpl()
[all …]
/third_party/boost/boost/sort/block_indirect_sort/blk_detail/
Dparallel_sort.hpp141 for (Iter_t it1 = first, it2 = first + 1; in parallel_sort() local
142 it2 != last and (sorted = not bk.cmp(*it2, *it1)); it1 = it2++); in parallel_sort()
147 for (Iter_t it1 = first, it2 = first + 1; in parallel_sort() local
148 it2 != last and (sorted = not bk.cmp(*it1, *it2)); it1 = it2++); in parallel_sort()
153 Iter_t it1 = first, it2 = last - 1; in parallel_sort() local
155 std::swap(*(it1++), *(it2--)); in parallel_sort()
192 for (Iter_t it1 = first, it2 = first + 1; in divide_sort() local
193 it2 != last and (sorted = not bk.cmp(*it2, *it1)); it1 = it2++); in divide_sort()
/third_party/boost/boost/numeric/ublas/
Dfunctional.hpp751 result_type apply (D size, I1 it1, I2 it2) { in apply()
755 t += *it1 * *it2, ++ it1, ++ it2; in apply()
757 DD (size, 4, r, (t += *it1 * *it2, ++ it1, ++ it2)); in apply()
764 result_type apply (I1 it1, const I1 &it1_end, I2 it2, const I2 &it2_end) { in apply()
768 vector_difference_type it2_size (it2_end - it2); in apply()
771 diff = it2.index () - it1.index (); in apply()
781 it2 += size; in apply()
788 t += *it1 * *it2, ++ it1, ++ it2; in apply()
794 …result_type apply (I1 it1, const I1 &it1_end, I2 it2, const I2 &it2_end, sparse_bidirectional_iter… in apply()
796 if (it1 != it1_end && it2 != it2_end) { in apply()
[all …]
Doperation_sparse.hpp46 typename expression1_type::const_iterator2 it2 (it1.begin ()); in sparse_prod() local
49 …typename expression1_type::const_iterator2 it2 (boost::numeric::ublas::begin (it1, iterator1_tag (… in sparse_prod() local
52 while (it2 != it2_end) { in sparse_prod()
54 matrix_row<expression2_type> mr (e2 (), it2.index2 ()); in sparse_prod()
59 temporary (j) += *it2 * *itr; in sparse_prod()
64 ++ it2; in sparse_prod()
99 typename expression2_type::const_iterator2 it2 (e2 ().begin2 ()); in sparse_prod() local
101 while (it2 != it2_end) { in sparse_prod()
105 typename expression2_type::const_iterator1 it1 (it2.begin ()); in sparse_prod()
106 typename expression2_type::const_iterator1 it1_end (it2.end ()); in sparse_prod()
[all …]
Doperation.hpp139 typename expression1_type::const_iterator2 it2 (it1.begin ()); in axpy_prod() local
142 …typename expression1_type::const_iterator2 it2 (boost::numeric::ublas::begin (it1, iterator1_tag (… in axpy_prod() local
145 while (it2 != it2_end) { in axpy_prod()
146 v (index1) += *it2 * e2 () (it2.index2 ()); in axpy_prod()
147 ++ it2; in axpy_prod()
163 typename expression1_type::const_iterator2 it2 (e1 ().begin2 ()); in axpy_prod() local
165 while (it2 != it2_end) { in axpy_prod()
166 size_type index2 (it2.index2 ()); in axpy_prod()
168 typename expression1_type::const_iterator1 it1 (it2.begin ()); in axpy_prod()
169 typename expression1_type::const_iterator1 it1_end (it2.end ()); in axpy_prod()
[all …]
/third_party/boost/libs/geometry/test/algorithms/set_operations/
Dcheck_turn_less.hpp33 iterator_type it2 = it1; in verify_less_for_turns() local
34 ++it2; in verify_less_for_turns()
35 for (; it2 != boost::end(turns); ++it2) in verify_less_for_turns()
37 if (less(*it1, *it2)) in verify_less_for_turns()
39 BOOST_CHECK(! less(*it2, *it1)); in verify_less_for_turns()
41 if (less(*it2, *it1)) in verify_less_for_turns()
43 BOOST_CHECK(! less(*it1, *it2)); in verify_less_for_turns()
/third_party/boost/boost/heap/detail/
Dheap_comparison.hpp114 typename Heap1::ordered_iterator it2 = rhs.ordered_begin(); in operator ()() local
117 if (!value_equality(lhs, rhs, *it1, *it2)) in operator ()()
121 ++it2; in operator ()()
123 if (it1 == it1_end && it2 == it2_end) in operator ()()
126 if (it1 == it1_end || it2 == it2_end) in operator ()()
167 typename Heap1::ordered_iterator it2 = rhs.ordered_begin(); in operator ()() local
170 if (value_compare(lhs, rhs, *it1, *it2)) in operator ()()
173 if (value_compare(lhs, rhs, *it2, *it1)) in operator ()()
177 ++it2; in operator ()()
179 if (it1 == it1_end && it2 == it2_end) in operator ()()
[all …]
/third_party/boost/boost/sort/parallel_stable_sort/
Dparallel_stable_sort.hpp141 for (Iter_t it1 = first, it2 = first + 1; in parallel_stable_sort() local
142 it2 != last and (sw = not comp(*it2, *it1)); it1 = it2++); in parallel_stable_sort()
147 for (Iter_t it1 = first, it2 = first + 1; in parallel_stable_sort() local
148 it2 != last and (sw = comp(*it2, *it1)); it1 = it2++); in parallel_stable_sort()
152 Iter_t it1 = first, it2 = last - 1; in parallel_stable_sort() local
154 std::swap(*(it1++), *(it2--)); in parallel_stable_sort()
/third_party/cef/tests/cefclient/browser/
Dimage_cache.cc117 ImageMap::iterator it2 = image_map_.find(info.id_); in LoadImages() local
118 if (it2 != image_map_.end()) { in LoadImages()
121 images.push_back(it2->second); in LoadImages()
126 image_map_.erase(it2); in LoadImages()
180 ImageSet::const_iterator it2 = images.begin(); in LoadMissing() local
181 for (; it1 != image_info.end() && it2 != images.end(); ++it1, ++it2) { in LoadMissing()
184 if (*it2 || info.id_ == kEmptyId) { in LoadMissing()
186 content.image_ = *it2; in LoadMissing()
251 ImageContentSet::const_iterator it2 = contents.begin(); in UpdateCache() local
252 for (; it1 != image_info.end() && it2 != contents.end(); ++it1, ++it2) { in UpdateCache()
[all …]
/third_party/cef/tests/ceftests/
Dtest_util.cc23 CefRequest::HeaderMap::const_iterator it1, it2; in TestMapEqual() local
29 for (it2 = map2.begin(); it2 != map2.end(); ++it2) { in TestMapEqual()
30 std::string name2 = it2->first; in TestMapEqual()
32 if (name1 == name2 && it1->second == it2->second) { in TestMapEqual()
45 CefRequest::HeaderMap::const_iterator it2 = it1; in TestMapNoDuplicates() local
46 for (++it2; it2 != map.end(); ++it2) { in TestMapNoDuplicates()
47 EXPECT_FALSE(it1->first == it2->first && it1->second == it2->second) in TestMapNoDuplicates()
93 CefPostData::ElementVector::const_iterator it2 = ev2.begin(); in TestPostDataEqual() local
94 for (; it1 != ev1.end() && it2 != ev2.end(); ++it1, ++it2) in TestPostDataEqual()
95 TestPostDataElementEqual((*it1), (*it2)); in TestPostDataEqual()
/third_party/boost/boost/range/algorithm/
Dswap_ranges.hpp27 Iterator2 it2, Iterator2 last2, in swap_ranges_impl() argument
32 for (; it1 != last1; ++it1, ++it2) in swap_ranges_impl()
34 BOOST_ASSERT( it2 != last2 ); in swap_ranges_impl()
35 std::iter_swap(it1, it2); in swap_ranges_impl()
41 Iterator2 it2, Iterator2 last2, in swap_ranges_impl() argument
46 BOOST_ASSERT( last2 - it2 >= last1 - it1 ); in swap_ranges_impl()
47 std::swap_ranges(it1, last1, it2); in swap_ranges_impl()
/third_party/boost/tools/quickbook/src/
Dsimple_parse.hpp14 for (Iterator it2 = it;; ++it2, ++text) { in read() local
16 it = it2; in read()
20 if (it2 == end || *it2 != *text) return false; in read()

12345678