Home
last modified time | relevance | path

Searched refs:it1 (Results 1 – 25 of 178) sorted by relevance

12345678

/external/llvm-project/libcxx/test/libcxx/debug/containers/
Ddb_sequence_container_iterators.pass.cpp134 iterator it1, it2, it3; in AssignInvalidates() local
137 it1 = C.begin(); in AssignInvalidates()
142 EXPECT_DEATH( C.erase(it1) ); in AssignInvalidates()
189 iterator it1 = C1.begin(); in EraseIterIter() local
196 EXPECT_DEATH( C1.erase(it1_next, it1) ); // bad range in EraseIterIter()
198 C1.erase(it1, it1_after_next); in EraseIterIter()
199 EXPECT_DEATH( C1.erase(it1) ); in EraseIterIter()
211 iterator it1 = C1.end(); in PopBack() local
212 --it1; in PopBack()
214 EXPECT_DEATH( C1.erase(it1) ); in PopBack()
[all …]
/external/libcxx/test/libcxx/debug/containers/
Ddb_sequence_container_iterators.pass.cpp126 iterator it1, it2, it3; in AssignInvalidates() local
129 it1 = C.begin(); in AssignInvalidates()
134 CHECK_DEBUG_THROWS( C.erase(it1) ); in AssignInvalidates()
181 iterator it1 = C1.begin(); in EraseIterIter() local
188 CHECK_DEBUG_THROWS( C1.erase(it1_next, it1) ); // bad range in EraseIterIter()
190 C1.erase(it1, it1_after_next); in EraseIterIter()
191 CHECK_DEBUG_THROWS( C1.erase(it1) ); in EraseIterIter()
203 iterator it1 = C1.end(); in PopBack() local
204 --it1; in PopBack()
206 CHECK_DEBUG_THROWS( C1.erase(it1) ); in PopBack()
[all …]
/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/
Dweighted_quantiles_summary.h137 auto it1 = base_entries.cbegin(); in Merge() local
141 while (it1 != base_entries.cend() && it2 != other_entries.cend()) { in Merge()
142 if (kCompFn(it1->value, it2->value)) { // value1 < value2 in Merge()
145 entries_.emplace_back(it1->value, it1->weight, in Merge()
146 it1->min_rank + next_min_rank2, in Merge()
147 it1->max_rank + it2->PrevMaxRank()); in Merge()
149 next_min_rank1 = it1->NextMinRank(); in Merge()
150 ++it1; in Merge()
151 } else if (kCompFn(it2->value, it1->value)) { // value1 > value2 in Merge()
156 it2->max_rank + it1->PrevMaxRank()); in Merge()
[all …]
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/
Derase_iter.invalidation.pass.cpp24 typename C::iterator it1 = first + 1; in del_at_start() local
31 assert( it1 == it3); in del_at_start()
32 assert( *it1 == *it3); in del_at_start()
33 assert(&*it1 == &*it3); in del_at_start()
43 typename C::iterator it1 = c.begin(); in del_at_end() local
50 assert( it1 == it3); in del_at_end()
51 assert( *it1 == *it3); in del_at_end()
52 assert(&*it1 == &*it3); in del_at_end()
Derase_iter_iter.invalidation.pass.cpp27 typename C::iterator it1 = last; in del_at_start() local
34 assert( it1 == it3); in del_at_start()
35 assert( *it1 == *it3); in del_at_start()
36 assert(&*it1 == &*it3); in del_at_start()
47 typename C::iterator it1 = c.begin(); in del_at_end() local
54 assert( it1 == it3); in del_at_end()
55 assert( *it1 == *it3); in del_at_end()
56 assert(&*it1 == &*it3); in del_at_end()
Dpop_front.invalidation.pass.cpp23 typename C::iterator it1 = c.begin() + 1; in test() local
30 assert( it1 == it3); in test()
31 assert( *it1 == *it3); in test()
32 assert(&*it1 == &*it3); in test()
Dpop_back.invalidation.pass.cpp23 typename C::iterator it1 = c.begin(); in test() local
30 assert( it1 == it3); in test()
31 assert( *it1 == *it3); in test()
32 assert(&*it1 == &*it3); in test()
/external/llvm-project/libcxx/test/std/containers/sequences/deque/deque.modifiers/
Derase_iter.invalidation.pass.cpp25 typename C::iterator it1 = first + 1; in del_at_start() local
32 assert( it1 == it3); in del_at_start()
33 assert( *it1 == *it3); in del_at_start()
34 assert(&*it1 == &*it3); in del_at_start()
44 typename C::iterator it1 = c.begin(); in del_at_end() local
51 assert( it1 == it3); in del_at_end()
52 assert( *it1 == *it3); in del_at_end()
53 assert(&*it1 == &*it3); in del_at_end()
Derase_iter_iter.invalidation.pass.cpp28 typename C::iterator it1 = last; in del_at_start() local
35 assert( it1 == it3); in del_at_start()
36 assert( *it1 == *it3); in del_at_start()
37 assert(&*it1 == &*it3); in del_at_start()
48 typename C::iterator it1 = c.begin(); in del_at_end() local
55 assert( it1 == it3); in del_at_end()
56 assert( *it1 == *it3); in del_at_end()
57 assert(&*it1 == &*it3); in del_at_end()
Dpop_back.invalidation.pass.cpp24 typename C::iterator it1 = c.begin(); in test() local
31 assert( it1 == it3); in test()
32 assert( *it1 == *it3); in test()
33 assert(&*it1 == &*it3); in test()
Dpop_front.invalidation.pass.cpp24 typename C::iterator it1 = c.begin() + 1; in test() local
31 assert( it1 == it3); in test()
32 assert( *it1 == *it3); in test()
33 assert(&*it1 == &*it3); in test()
/external/llvm-project/clang/test/CXX/basic/basic.lookup/basic.lookup.classref/
Dp1-cxx11.cpp51 T it1; in Foo() local
52 if (it1->end < it1->end) { in Foo()
61 T it1; in Foo2() local
62 if (it1->end < it1->end) { in Foo2()
Dp1.cpp82 T it1; in Foo() local
83 if (it1->end < it1->end) { in Foo()
92 T it1; in Foo2() local
93 if (it1->end < it1->end) { in Foo2()
/external/clang/test/CXX/basic/basic.lookup/basic.lookup.classref/
Dp1-cxx11.cpp51 T it1; in Foo() local
52 if (it1->end < it1->end) { in Foo()
61 T it1; in Foo2() local
62 if (it1->end < it1->end) { in Foo2()
Dp1.cpp82 T it1; in Foo() local
83 if (it1->end < it1->end) { in Foo()
92 T it1; in Foo2() local
93 if (it1->end < it1->end) { in Foo2()
/external/webrtc/modules/desktop_capture/
Ddesktop_region.cc62 Rows::const_iterator it1 = rows_.begin(); in Equals() local
64 while (it1 != rows_.end()) { in Equals()
65 if (it2 == region.rows_.end() || it1->first != it2->first || in Equals()
66 it1->second->top != it2->second->top || in Equals()
67 it1->second->bottom != it2->second->bottom || in Equals()
68 it1->second->spans != it2->second->spans) { in Equals()
71 ++it1; in Equals()
180 Rows::const_iterator it1 = region1.rows_.begin(); in Intersect() local
184 if (it1 == end1 || it2 == end2) in Intersect()
187 while (it1 != end1 && it2 != end2) { in Intersect()
[all …]
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/
Dsig_node.cc183 for (auto it1 = hashed_peers_.begin(), it2 = other.hashed_peers_.begin(); in operator ==() local
184 it1 != hashed_peers_.end(); ++it1, ++it2) { in operator ==()
187 if (it1->link_hash != it2->link_hash) { in operator ==()
190 if (it1->peer->unique_rank_ != it2->peer->unique_rank_) { in operator ==()
433 for (auto it1 = sig_full.begin(), it2 = other.sig_full.begin(); in operator ==() local
434 it1 != sig_full.end(); ++it1, ++it2) { in operator ==()
435 if (*it1 != *it2) { in operator ==()
443 for (auto it1 = nodes.begin(), it2 = other.nodes.begin(); it1 != nodes.end(); in operator ==() local
444 ++it1, ++it2) { in operator ==()
445 if (**it1 != **it2) { in operator ==()
/external/llvm-project/libcxx/test/support/
Dcontainer_debug_tests.h295 iterator it1 = C1.begin();
296 iterator it1_next = it1;
299 EXPECT_DEATH( C2.erase(it1) ); // wrong container
303 C1.erase(it1);
304 EXPECT_DEATH( C1.erase(it1) ); // invalidated iterator
310 iterator it1 = C1.begin();
311 iterator it1_next = it1;
317 EXPECT_DEATH( C2.erase(it1, it1_next) ); // begin from wrong container
318 EXPECT_DEATH( C2.erase(it1, it2_next) ); // end from wrong container
328 iterator it1 = C1.begin();
[all …]
/external/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.+/
Ddifference_type.pass.cpp44 constexpr MI it1 = std::make_move_iterator(p); in main() local
46 constexpr MI it3 = it1 + 5; in main()
47 static_assert(it1 != it2, ""); in main()
48 static_assert(it1 != it3, ""); in main()
/external/llvm-project/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/
Dplus.pass.cpp44 constexpr MI it1 = std::make_move_iterator(p); in main() local
46 constexpr MI it3 = it1 + 5; in main()
47 static_assert(it1 != it2, ""); in main()
48 static_assert(it1 != it3, ""); in main()
/external/llvm-project/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.+/
Ddifference_type.pass.cpp43 constexpr MI it1 = std::make_move_iterator(p); in main() local
45 constexpr MI it3 = it1 + 5; in main()
46 static_assert(it1 != it2, ""); in main()
47 static_assert(it1 != it3, ""); in main()
/external/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/
Dplus.pass.cpp45 constexpr MI it1 = std::make_move_iterator(p); in main() local
47 constexpr MI it3 = it1 + 5; in main()
48 static_assert(it1 != it2, ""); in main()
49 static_assert(it1 != it3, ""); in main()
/external/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op-/
Ddifference_type.pass.cpp44 constexpr RI it1 = std::make_reverse_iterator(p); in main() local
46 constexpr RI it3 = it1 - 5; in main()
47 static_assert(it1 != it2, ""); in main()
48 static_assert(it1 != it3, ""); in main()
/external/llvm-project/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op-/
Ddifference_type.pass.cpp43 constexpr RI it1 = std::make_reverse_iterator(p); in main() local
45 constexpr RI it3 = it1 - 5; in main()
46 static_assert(it1 != it2, ""); in main()
47 static_assert(it1 != it3, ""); in main()
/external/libchrome/base/
Dobserver_list_unittest.cc208 const ObserverList<Foo>::const_iterator it1 = const_observer_list.begin(); in TEST() local
209 EXPECT_EQ(it1, const_observer_list.end()); in TEST()
211 const ObserverList<Foo>::const_iterator it2 = it1; in TEST()
212 EXPECT_EQ(it2, it1); in TEST()
216 EXPECT_EQ(it3, it1); in TEST()
220 EXPECT_EQ(it3, it1); in TEST()
225 const ObserverList<Foo>::iterator it1 = observer_list.begin(); in TEST() local
226 EXPECT_EQ(it1, observer_list.end()); in TEST()
228 const ObserverList<Foo>::iterator it2 = it1; in TEST()
229 EXPECT_EQ(it2, it1); in TEST()
[all …]

12345678