/external/llvm-project/libcxx/test/libcxx/debug/containers/ |
D | db_sequence_container_iterators.pass.cpp | 134 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/ |
D | db_sequence_container_iterators.pass.cpp | 126 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/ |
D | weighted_quantiles_summary.h | 137 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/ |
D | erase_iter.invalidation.pass.cpp | 24 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()
|
D | erase_iter_iter.invalidation.pass.cpp | 27 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()
|
D | pop_front.invalidation.pass.cpp | 23 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()
|
D | pop_back.invalidation.pass.cpp | 23 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/ |
D | erase_iter.invalidation.pass.cpp | 25 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()
|
D | erase_iter_iter.invalidation.pass.cpp | 28 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()
|
D | pop_back.invalidation.pass.cpp | 24 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()
|
D | pop_front.invalidation.pass.cpp | 24 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/ |
D | p1-cxx11.cpp | 51 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()
|
D | p1.cpp | 82 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/ |
D | p1-cxx11.cpp | 51 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()
|
D | p1.cpp | 82 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/ |
D | desktop_region.cc | 62 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/ |
D | sig_node.cc | 183 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/ |
D | container_debug_tests.h | 295 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.+/ |
D | difference_type.pass.cpp | 44 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/ |
D | plus.pass.cpp | 44 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.+/ |
D | difference_type.pass.cpp | 43 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/ |
D | plus.pass.cpp | 45 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-/ |
D | difference_type.pass.cpp | 44 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-/ |
D | difference_type.pass.cpp | 43 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/ |
D | observer_list_unittest.cc | 208 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 …]
|