Home
last modified time | relevance | path

Searched refs:distance (Results 1 – 25 of 307) sorted by relevance

12345678910>>...13

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/unord.multimap.modifiers/
Derase_key.pass.cpp59 assert(std::distance(eq.first, eq.second) == 2); in main()
67 assert(std::distance(eq.first, eq.second) == 2); in main()
75 assert(std::distance(eq.first, eq.second) == 1); in main()
80 assert(std::distance(eq.first, eq.second) == 1); in main()
84 assert(std::distance(c.begin(), c.end()) == c.size()); in main()
85 assert(std::distance(c.cbegin(), c.cend()) == c.size()); in main()
90 assert(std::distance(eq.first, eq.second) == 2); in main()
98 assert(std::distance(eq.first, eq.second) == 1); in main()
103 assert(std::distance(eq.first, eq.second) == 1); in main()
107 assert(std::distance(c.begin(), c.end()) == c.size()); in main()
[all …]
Derase_range.pass.cpp46 assert(std::distance(eq.first, eq.second) == 2); in main()
54 assert(std::distance(eq.first, eq.second) == 2); in main()
62 assert(std::distance(eq.first, eq.second) == 1); in main()
67 assert(std::distance(eq.first, eq.second) == 1); in main()
71 assert(std::distance(c.begin(), c.end()) == c.size()); in main()
72 assert(std::distance(c.cbegin(), c.cend()) == c.size()); in main()
77 assert(std::distance(eq.first, eq.second) == 2); in main()
85 assert(std::distance(eq.first, eq.second) == 1); in main()
90 assert(std::distance(eq.first, eq.second) == 1); in main()
94 assert(std::distance(c.begin(), c.end()) == c.size()); in main()
[all …]
Derase_const_iter.pass.cpp45 assert(std::distance(eq.first, eq.second) == 2); in main()
53 assert(std::distance(eq.first, eq.second) == 1); in main()
58 assert(std::distance(eq.first, eq.second) == 1); in main()
63 assert(std::distance(eq.first, eq.second) == 1); in main()
67 assert(std::distance(c.begin(), c.end()) == c.size()); in main()
68 assert(std::distance(c.cbegin(), c.cend()) == c.size()); in main()
91 assert(std::distance(eq.first, eq.second) == 2); in main()
99 assert(std::distance(eq.first, eq.second) == 1); in main()
104 assert(std::distance(eq.first, eq.second) == 1); in main()
109 assert(std::distance(eq.first, eq.second) == 1); in main()
[all …]
Dinsert_init.pass.cpp45 assert(std::distance(eq.first, eq.second) == 2); in main()
53 assert(std::distance(eq.first, eq.second) == 2); in main()
61 assert(std::distance(eq.first, eq.second) == 1); in main()
66 assert(std::distance(eq.first, eq.second) == 1); in main()
70 assert(std::distance(c.begin(), c.end()) == c.size()); in main()
71 assert(std::distance(c.cbegin(), c.cend()) == c.size()); in main()
92 assert(std::distance(eq.first, eq.second) == 2); in main()
100 assert(std::distance(eq.first, eq.second) == 2); in main()
108 assert(std::distance(eq.first, eq.second) == 1); in main()
113 assert(std::distance(eq.first, eq.second) == 1); in main()
[all …]
Dinsert_range.pass.cpp45 assert(std::distance(eq.first, eq.second) == 2); in main()
53 assert(std::distance(eq.first, eq.second) == 2); in main()
61 assert(std::distance(eq.first, eq.second) == 1); in main()
66 assert(std::distance(eq.first, eq.second) == 1); in main()
70 assert(std::distance(c.begin(), c.end()) == c.size()); in main()
71 assert(std::distance(c.cbegin(), c.cend()) == c.size()); in main()
92 assert(std::distance(eq.first, eq.second) == 2); in main()
100 assert(std::distance(eq.first, eq.second) == 2); in main()
108 assert(std::distance(eq.first, eq.second) == 1); in main()
113 assert(std::distance(eq.first, eq.second) == 1); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/
Dlocal_iterators.pass.cpp48 assert(std::distance(i, j) == 0); in main()
53 assert(std::distance(i, j) == 2); in main()
61 assert(std::distance(i, j) == 2); in main()
69 assert(std::distance(i, j) == 1); in main()
75 assert(std::distance(i, j) == 1); in main()
81 assert(std::distance(i, j) == 0); in main()
86 assert(std::distance(i, j) == 0); in main()
106 assert(std::distance(i, j) == 0); in main()
111 assert(std::distance(i, j) == 2); in main()
119 assert(std::distance(i, j) == 2); in main()
[all …]
Dlocal_iterators.fail.cpp46 assert(std::distance(i, j) == 0); in main()
51 assert(std::distance(i, j) == 2); in main()
60 assert(std::distance(i, j) == 2); in main()
68 assert(std::distance(i, j) == 1); in main()
74 assert(std::distance(i, j) == 1); in main()
80 assert(std::distance(i, j) == 0); in main()
85 assert(std::distance(i, j) == 0); in main()
105 assert(std::distance(i, j) == 0); in main()
110 assert(std::distance(i, j) == 2); in main()
118 assert(std::distance(i, j) == 2); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/forwardlist.modifiers/
Dresize_size.pass.cpp27 assert(distance(c.begin(), c.end()) == 0); in main()
29 assert(distance(c.begin(), c.end()) == 10); in main()
31 assert(distance(c.begin(), c.end()) == 20); in main()
33 assert(distance(c.begin(), c.end()) == 5); in main()
35 assert(distance(c.begin(), c.end()) == 0); in main()
44 assert(distance(c.begin(), c.end()) == 3); in main()
50 assert(distance(c.begin(), c.end()) == 6); in main()
59 assert(distance(c.begin(), c.end()) == 6); in main()
73 assert(distance(c.begin(), c.end()) == 0); in main()
75 assert(distance(c.begin(), c.end()) == 10); in main()
[all …]
Dpop_front.pass.cpp30 assert(distance(c.begin(), c.end()) == 1); in main()
33 assert(distance(c.begin(), c.end()) == 0); in main()
43 assert(distance(c.begin(), c.end()) == 1); in main()
46 assert(distance(c.begin(), c.end()) == 0); in main()
58 assert(distance(c.begin(), c.end()) == 1); in main()
61 assert(distance(c.begin(), c.end()) == 0); in main()
71 assert(distance(c.begin(), c.end()) == 1); in main()
74 assert(distance(c.begin(), c.end()) == 0); in main()
Dclear.pass.cpp27 assert(distance(c.begin(), c.end()) == 0); in main()
36 assert(distance(c.begin(), c.end()) == 0); in main()
39 assert(distance(c.begin(), c.end()) == 0); in main()
47 assert(distance(c.begin(), c.end()) == 0); in main()
56 assert(distance(c.begin(), c.end()) == 0); in main()
59 assert(distance(c.begin(), c.end()) == 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.ops/
Dsplice_pos_list.pass.cpp32 assert(distance(l1.begin(), l1.end()) == 0); in main()
34 assert(distance(l2.begin(), l2.end()) == 0); in main()
41 assert(distance(l1.begin(), l1.end()) == 1); in main()
43 assert(distance(l2.begin(), l2.end()) == 0); in main()
52 assert(distance(l1.begin(), l1.end()) == 2); in main()
54 assert(distance(l2.begin(), l2.end()) == 0); in main()
65 assert(distance(l1.begin(), l1.end()) == 3); in main()
67 assert(distance(l2.begin(), l2.end()) == 0); in main()
80 assert(distance(l1.begin(), l1.end()) == 1); in main()
82 assert(distance(l2.begin(), l2.end()) == 0); in main()
[all …]
Dsplice_pos_list_iter.pass.cpp32 assert(distance(l1.begin(), l1.end()) == 1); in main()
34 assert(distance(l2.begin(), l2.end()) == 0); in main()
43 assert(distance(l1.begin(), l1.end()) == 1); in main()
45 assert(distance(l2.begin(), l2.end()) == 1); in main()
56 assert(distance(l1.begin(), l1.end()) == 1); in main()
58 assert(distance(l2.begin(), l2.end()) == 1); in main()
69 assert(distance(l1.begin(), l1.end()) == 1); in main()
71 assert(distance(l2.begin(), l2.end()) == 2); in main()
84 assert(distance(l1.begin(), l1.end()) == 1); in main()
86 assert(distance(l2.begin(), l2.end()) == 2); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/
Dlocal_iterators.fail.cpp46 assert(std::distance(i, j) == 0); in main()
51 assert(std::distance(i, j) == 2); in main()
60 assert(std::distance(i, j) == 2); in main()
68 assert(std::distance(i, j) == 1); in main()
74 assert(std::distance(i, j) == 1); in main()
80 assert(std::distance(i, j) == 0); in main()
85 assert(std::distance(i, j) == 0); in main()
105 assert(std::distance(i, j) == 0); in main()
110 assert(std::distance(i, j) == 2); in main()
118 assert(std::distance(i, j) == 2); in main()
[all …]
Dlocal_iterators.pass.cpp48 assert(std::distance(i, j) == 0); in main()
53 assert(std::distance(i, j) == 1); in main()
59 assert(std::distance(i, j) == 1); in main()
65 assert(std::distance(i, j) == 1); in main()
71 assert(std::distance(i, j) == 1); in main()
92 assert(std::distance(i, j) == 0); in main()
97 assert(std::distance(i, j) == 1); in main()
103 assert(std::distance(i, j) == 1); in main()
109 assert(std::distance(i, j) == 1); in main()
115 assert(std::distance(i, j) == 1); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.results/re.results.acc/
Dposition.pass.cpp25 assert(m.position() == std::distance(s, m[0].first)); in test()
26 assert(m.position(0) == std::distance(s, m[0].first)); in test()
27 assert(m.position(1) == std::distance(s, m[1].first)); in test()
28 assert(m.position(2) == std::distance(s, m[2].first)); in test()
29 assert(m.position(3) == std::distance(s, m[3].first)); in test()
30 assert(m.position(4) == std::distance(s, m[4].first)); in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/
Dlocal_iterators.pass.cpp49 assert(std::distance(i, j) == 0); in main()
54 assert(std::distance(i, j) == 2); in main()
64 assert(std::distance(i, j) == 2); in main()
74 assert(std::distance(i, j) == 1); in main()
81 assert(std::distance(i, j) == 1); in main()
88 assert(std::distance(i, j) == 0); in main()
93 assert(std::distance(i, j) == 0); in main()
113 assert(std::distance(i, j) == 0); in main()
118 assert(std::distance(i, j) == 2); in main()
128 assert(std::distance(i, j) == 2); in main()
[all …]
Dlocal_iterators.fail.cpp47 assert(std::distance(i, j) == 0); in main()
52 assert(std::distance(i, j) == 2); in main()
63 assert(std::distance(i, j) == 2); in main()
73 assert(std::distance(i, j) == 1); in main()
80 assert(std::distance(i, j) == 1); in main()
87 assert(std::distance(i, j) == 0); in main()
92 assert(std::distance(i, j) == 0); in main()
112 assert(std::distance(i, j) == 0); in main()
117 assert(std::distance(i, j) == 2); in main()
127 assert(std::distance(i, j) == 2); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.cons/
Ddefault.pass.cpp24 assert(std::distance(l.begin(), l.end()) == 0); in main()
29 assert(std::distance(l.begin(), l.end()) == 0); in main()
34 assert(std::distance(l.begin(), l.end()) == 0); in main()
40 assert(std::distance(l.begin(), l.end()) == 0); in main()
45 assert(std::distance(l.begin(), l.end()) == 0); in main()
50 assert(std::distance(l.begin(), l.end()) == 0); in main()
55 assert(std::distance(l.begin(), l.end()) == 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/
Dlocal_iterators.pass.cpp49 assert(std::distance(i, j) == 0); in main()
54 assert(std::distance(i, j) == 1); in main()
61 assert(std::distance(i, j) == 1); in main()
68 assert(std::distance(i, j) == 1); in main()
75 assert(std::distance(i, j) == 1); in main()
97 assert(std::distance(i, j) == 0); in main()
102 assert(std::distance(i, j) == 1); in main()
109 assert(std::distance(i, j) == 1); in main()
116 assert(std::distance(i, j) == 1); in main()
123 assert(std::distance(i, j) == 1); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.capacity/
Dresize_size.pass.cpp25 assert(std::distance(l.begin(), l.end()) == 2); in main()
32 assert(std::distance(l.begin(), l.end()) == 10); in main()
41 assert(std::distance(l.begin(), l.end()) == 5); in main()
47 assert(std::distance(l.begin(), l.end()) == 20); in main()
55 assert(std::distance(l.begin(), l.end()) == 2); in main()
62 assert(std::distance(l.begin(), l.end()) == 10); in main()
71 assert(std::distance(l.begin(), l.end()) == 5); in main()
77 assert(std::distance(l.begin(), l.end()) == 20); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/set/
Diterator.pass.cpp66 assert(std::distance(m.begin(), m.end()) == m.size()); in main()
67 assert(std::distance(m.rbegin(), m.rend()) == m.size()); in main()
105 assert(std::distance(m.begin(), m.end()) == m.size()); in main()
106 assert(std::distance(m.cbegin(), m.cend()) == m.size()); in main()
107 assert(std::distance(m.rbegin(), m.rend()) == m.size()); in main()
108 assert(std::distance(m.crbegin(), m.crend()) == m.size()); in main()
145 assert(std::distance(m.begin(), m.end()) == m.size()); in main()
146 assert(std::distance(m.rbegin(), m.rend()) == m.size()); in main()
184 assert(std::distance(m.begin(), m.end()) == m.size()); in main()
185 assert(std::distance(m.cbegin(), m.cend()) == m.size()); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multiset/
Diterator.pass.cpp66 assert(std::distance(m.begin(), m.end()) == m.size()); in main()
67 assert(std::distance(m.rbegin(), m.rend()) == m.size()); in main()
106 assert(std::distance(m.begin(), m.end()) == m.size()); in main()
107 assert(std::distance(m.cbegin(), m.cend()) == m.size()); in main()
108 assert(std::distance(m.rbegin(), m.rend()) == m.size()); in main()
109 assert(std::distance(m.crbegin(), m.crend()) == m.size()); in main()
147 assert(std::distance(m.begin(), m.end()) == m.size()); in main()
148 assert(std::distance(m.rbegin(), m.rend()) == m.size()); in main()
187 assert(std::distance(m.begin(), m.end()) == m.size()); in main()
188 assert(std::distance(m.cbegin(), m.cend()) == m.size()); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/unord.multimap.cnstr/
Dinit.pass.cpp50 assert(std::distance(eq.first, eq.second) == 2); in main()
58 assert(std::distance(eq.first, eq.second) == 2); in main()
67 assert(std::distance(eq.first, eq.second) == 1); in main()
72 assert(std::distance(eq.first, eq.second) == 1); in main()
76 assert(std::distance(c.begin(), c.end()) == c.size()); in main()
77 assert(std::distance(c.cbegin(), c.cend()) == c.size()); in main()
104 assert(std::distance(eq.first, eq.second) == 2); in main()
112 assert(std::distance(eq.first, eq.second) == 2); in main()
121 assert(std::distance(eq.first, eq.second) == 1); in main()
126 assert(std::distance(eq.first, eq.second) == 1); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/forwardlist.spec/
Dnon_member_swap.pass.cpp33 assert(distance(c1.begin(), c1.end()) == 3); in main()
39 assert(distance(c2.begin(), c2.end()) == 6); in main()
57 assert(distance(c1.begin(), c1.end()) == 0); in main()
60 assert(distance(c2.begin(), c2.end()) == 6); in main()
78 assert(distance(c1.begin(), c1.end()) == 3); in main()
84 assert(distance(c2.begin(), c2.end()) == 0); in main()
95 assert(distance(c1.begin(), c1.end()) == 0); in main()
98 assert(distance(c2.begin(), c2.end()) == 0); in main()
112 assert(distance(c1.begin(), c1.end()) == 3); in main()
118 assert(distance(c2.begin(), c2.end()) == 6); in main()
[all …]
Dmember_swap.pass.cpp32 assert(distance(c1.begin(), c1.end()) == 3); in main()
38 assert(distance(c2.begin(), c2.end()) == 6); in main()
56 assert(distance(c1.begin(), c1.end()) == 0); in main()
59 assert(distance(c2.begin(), c2.end()) == 6); in main()
77 assert(distance(c1.begin(), c1.end()) == 3); in main()
83 assert(distance(c2.begin(), c2.end()) == 0); in main()
94 assert(distance(c1.begin(), c1.end()) == 0); in main()
97 assert(distance(c2.begin(), c2.end()) == 0); in main()
111 assert(distance(c1.begin(), c1.end()) == 3); in main()
117 assert(distance(c2.begin(), c2.end()) == 6); in main()
[all …]

12345678910>>...13