Home
last modified time | relevance | path

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

12345

/external/libcxx/test/std/experimental/filesystem/class.rec.dir.itr/rec.dir.itr.members/
Dmove_assign.pass.cpp125 recursive_directory_iterator it2 = createDifferentInterestingIterator(); in TEST_CASE() local
126 const recursive_directory_iterator it2_copy(it2); in TEST_CASE()
127 TEST_REQUIRE(it2 != it); in TEST_CASE()
128 TEST_CHECK(it2.options() != it.options()); in TEST_CASE()
129 TEST_CHECK(it2.depth() != it.depth()); in TEST_CASE()
130 TEST_CHECK(it2.recursion_pending() != it.recursion_pending()); in TEST_CASE()
131 TEST_CHECK(*it2 != entry); in TEST_CASE()
133 it2 = std::move(it); in TEST_CASE()
134 TEST_REQUIRE(it2 != it2_copy && it2 != endIt); in TEST_CASE()
135 TEST_CHECK(it2.options() == it_copy.options()); in TEST_CASE()
[all …]
Dcopy_assign.pass.cpp114 recursive_directory_iterator it2 = createDifferentInterestingIterator(); in TEST_CASE() local
115 TEST_REQUIRE(it2 != it); in TEST_CASE()
116 TEST_CHECK(it2.options() != it.options()); in TEST_CASE()
117 TEST_CHECK(it2.depth() != it.depth()); in TEST_CASE()
118 TEST_CHECK(it2.recursion_pending() != it.recursion_pending()); in TEST_CASE()
119 TEST_CHECK(*it2 != entry); in TEST_CASE()
121 it2 = it; in TEST_CASE()
122 TEST_REQUIRE(it2 == it); in TEST_CASE()
123 TEST_CHECK(it2.options() == it.options()); in TEST_CASE()
124 TEST_CHECK(it2.depth() == it.depth()); in TEST_CASE()
[all …]
Drecursion_pending.pass.cpp49 recursive_directory_iterator it2(no_rec_pending_it); in TEST_CASE() local
50 TEST_CHECK(it2.recursion_pending() == false); in TEST_CASE()
60 recursive_directory_iterator it2(StaticEnv::Dir); in TEST_CASE() local
61 it2 = no_rec_pending_it; in TEST_CASE()
62 TEST_CHECK(it2.recursion_pending() == false); in TEST_CASE()
81 recursive_directory_iterator it2(std::move(it_cp2)); in TEST_CASE() local
82 TEST_CHECK(it2.recursion_pending() == false); in TEST_CASE()
91 recursive_directory_iterator it2(StaticEnv::Dir); in TEST_CASE() local
93 it2 = std::move(it_cp2); in TEST_CASE()
94 TEST_CHECK(it2.recursion_pending() == false); in TEST_CASE()
Dcopy.pass.cpp69 const recursive_directory_iterator it2(it); in TEST_CASE() local
72 TEST_REQUIRE(it2 == it); in TEST_CASE()
73 TEST_CHECK(*it2 == entry); in TEST_CASE()
74 TEST_CHECK(it2.depth() == 1); in TEST_CASE()
75 TEST_CHECK(it2.recursion_pending() == false); in TEST_CASE()
Dmove.pass.cpp71 const recursive_directory_iterator it2(std::move(it)); in TEST_CASE() local
74 TEST_REQUIRE(it2 != endIt); in TEST_CASE()
75 TEST_CHECK(*it2 == entry); in TEST_CASE()
76 TEST_CHECK(it2.depth() == 1); in TEST_CASE()
77 TEST_CHECK(it2.recursion_pending() == false); in TEST_CASE()
/external/libcxx/test/std/experimental/filesystem/class.directory_iterator/directory_iterator.members/
Dmove_assign.pass.cpp83 directory_iterator it2(testDir); in TEST_CASE() local
84 TEST_REQUIRE(it2 != it); in TEST_CASE()
85 const path entry2 = *it2; in TEST_CASE()
88 it2 = std::move(it); in TEST_CASE()
89 TEST_REQUIRE(it2 != directory_iterator{}); in TEST_CASE()
90 TEST_CHECK(*it2 == entry); in TEST_CASE()
96 directory_iterator it2; in TEST_CASE() local
97 directory_iterator& ref = (it2 = it); in TEST_CASE()
98 TEST_CHECK(&ref == &it2); in TEST_CASE()
106 directory_iterator it2(StaticEnv::Dir); in TEST_CASE() local
[all …]
Dcopy_assign.pass.cpp79 directory_iterator it2(testDir); in TEST_CASE() local
80 TEST_REQUIRE(it2 != it); in TEST_CASE()
81 const path entry2 = *it2; in TEST_CASE()
84 it2 = it; in TEST_CASE()
85 TEST_REQUIRE(it2 == it); in TEST_CASE()
86 TEST_CHECK(*it2 == entry); in TEST_CASE()
92 directory_iterator it2; in TEST_CASE() local
93 directory_iterator& ref = (it2 = it); in TEST_CASE()
94 TEST_CHECK(&ref == &it2); in TEST_CASE()
Dcopy.pass.cpp53 const directory_iterator it2(it); in TEST_CASE() local
54 TEST_REQUIRE(it2 == it); in TEST_CASE()
55 TEST_CHECK(*it2 == entry); in TEST_CASE()
Dmove.pass.cpp56 const directory_iterator it2(std::move(it)); in TEST_CASE() local
57 TEST_CHECK(*it2 == entry); in TEST_CASE()
59 TEST_CHECK(it == it2 || it == endIt); in TEST_CASE()
/external/llvm/lib/Support/
DDAGDeltaAlgorithm.cpp130 for (succ_iterator_ty it2 = succ_begin(*it), in ExecuteOneTest()
131 ie2 = succ_end(*it); it2 != ie2; ++it2) in ExecuteOneTest()
132 assert(S.count(*it2) && "Attempt to run invalid changeset!"); in ExecuteOneTest()
222 for (succ_closure_iterator_ty it2 = succ_closure_begin(*it), in DAGDeltaAlgorithmImpl() local
223 ie2 = succ_closure_end(*it); it2 != ie2; ++it2) in DAGDeltaAlgorithmImpl()
224 PredClosure[*it2].insert(*it); in DAGDeltaAlgorithmImpl()
237 for (succ_iterator_ty it2 = succ_begin(*it), in DAGDeltaAlgorithmImpl()
238 ie2 = succ_end(*it); it2 != ie2; ++it2) { in DAGDeltaAlgorithmImpl()
239 if (it2 != succ_begin(*it)) llvm::errs() << ", "; in DAGDeltaAlgorithmImpl()
240 llvm::errs() << "->" << *it2; in DAGDeltaAlgorithmImpl()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DDAGDeltaAlgorithm.cpp131 for (succ_iterator_ty it2 = succ_begin(*it), in ExecuteOneTest()
132 ie2 = succ_end(*it); it2 != ie2; ++it2) in ExecuteOneTest()
133 assert(S.count(*it2) && "Attempt to run invalid changeset!"); in ExecuteOneTest()
228 for (succ_closure_iterator_ty it2 = succ_closure_begin(*it), in DAGDeltaAlgorithmImpl() local
229 ie2 = succ_closure_end(*it); it2 != ie2; ++it2) in DAGDeltaAlgorithmImpl()
230 PredClosure[*it2].insert(*it); in DAGDeltaAlgorithmImpl()
243 for (succ_iterator_ty it2 = succ_begin(*it), in DAGDeltaAlgorithmImpl()
244 ie2 = succ_end(*it); it2 != ie2; ++it2) { in DAGDeltaAlgorithmImpl()
245 if (it2 != succ_begin(*it)) llvm::errs() << ", "; in DAGDeltaAlgorithmImpl()
246 llvm::errs() << "->" << *it2; in DAGDeltaAlgorithmImpl()
[all …]
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/
Derase_iter.invalidation.pass.cpp25 typename C::iterator it2 = c.end() - 1; in del_at_start() local
34 assert( it2 == it4); in del_at_start()
35 assert( *it2 == *it4); in del_at_start()
36 assert(&*it2 == &*it4); in del_at_start()
44 typename C::iterator it2 = first - 1; in del_at_end() local
53 assert( it2 == it4); in del_at_end()
54 assert( *it2 == *it4); in del_at_end()
55 assert(&*it2 == &*it4); in del_at_end()
Derase_iter_iter.invalidation.pass.cpp28 typename C::iterator it2 = c.end() - 1; in del_at_start() local
37 assert( it2 == it4); in del_at_start()
38 assert( *it2 == *it4); in del_at_start()
39 assert(&*it2 == &*it4); in del_at_start()
48 typename C::iterator it2 = first - 1; in del_at_end() local
57 assert( it2 == it4); in del_at_end()
58 assert( *it2 == *it4); in del_at_end()
59 assert(&*it2 == &*it4); in del_at_end()
Dpop_back.invalidation.pass.cpp24 typename C::iterator it2 = c.end() - 2; in test() local
33 assert( it2 == it4); in test()
34 assert( *it2 == *it4); in test()
35 assert(&*it2 == &*it4); in test()
Dpop_front.invalidation.pass.cpp24 typename C::iterator it2 = c.end() - 1; in test() local
33 assert( it2 == it4); in test()
34 assert( *it2 == *it4); in test()
35 assert(&*it2 == &*it4); in test()
/external/webrtc/webrtc/modules/desktop_capture/
Ddesktop_region.cc61 Rows::const_iterator it2 = region.rows_.begin(); in Equals() local
63 if (it2 == region.rows_.end() || in Equals()
64 it1->first != it2->first || in Equals()
65 it1->second->top != it2->second->top || in Equals()
66 it1->second->bottom != it2->second->bottom || in Equals()
67 it1->second->spans != it2->second->spans) { in Equals()
71 ++it2; in Equals()
73 return it2 == region.rows_.end(); in Equals()
182 Rows::const_iterator it2 = region2.rows_.begin(); in Intersect() local
184 if (it1 == end1 || it2 == end2) in Intersect()
[all …]
/external/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.-/
Ddifference_type.pass.cpp45 constexpr MI it2 = std::make_move_iterator(p + 5); in main() local
46 constexpr MI it3 = it2 - 5; in main()
47 static_assert(it1 != it2, ""); in main()
49 static_assert(it2 != it3, ""); in main()
/external/libcxx/test/std/containers/sequences/forwardlist/
Dincomplete.pass.cpp25 std::forward_list<A>::const_iterator it2; member
33 FList::const_iterator it2; member
43 a.it2 = a.d.cbefore_begin(); in main()
50 b.it2 = b.d.cbefore_begin(); in main()
/external/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op+/
Ddifference_type.pass.cpp45 constexpr RI it2 = std::make_reverse_iterator(p + 5); in main() local
46 constexpr RI it3 = it2 + 5; in main()
47 static_assert(it1 != it2, ""); in main()
49 static_assert(it2 != it3, ""); in main()
/external/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opsum/
Ddifference_type.pass.cpp46 constexpr RI it2 = std::make_reverse_iterator(p + 5); in main() local
47 constexpr RI it3 = 5 + it2; in main()
48 static_assert(it1 != it2, ""); in main()
50 static_assert(it2 != it3, ""); in main()
/external/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/
Dminus.pass.cpp48 constexpr MI it2 = std::make_move_iterator(p+1); in main() local
49 static_assert( it1 - it2 == -1, ""); in main()
50 static_assert( it2 - it1 == 1, ""); in main()
Dplus.pass.cpp46 constexpr MI it2 = std::make_move_iterator(p + 5); in main() local
48 static_assert(it1 != it2, ""); in main()
50 static_assert(it2 == it3, ""); in main()
/external/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.+/
Ddifference_type.pass.cpp45 constexpr MI it2 = std::make_move_iterator(p + 5); in main() local
47 static_assert(it1 != it2, ""); in main()
49 static_assert(it2 == it3, ""); in main()
/external/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op-/
Ddifference_type.pass.cpp45 constexpr RI it2 = std::make_reverse_iterator(p + 5); in main() local
47 static_assert(it1 != it2, ""); in main()
49 static_assert(it2 == it3, ""); in main()
/external/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.decr/
Dpre.pass.cpp46 constexpr MI it2 = std::make_move_iterator(p+1); in main() local
47 static_assert(it1 != it2, ""); in main()
50 static_assert(it2 != it3, ""); in main()

12345