/external/libcxx/test/std/containers/sequences/list/list.modifiers/ |
D | erase_iter_iter.pass.cpp | 24 std::list<int>::iterator i = l1.erase(l1.cbegin(), l1.cbegin()); in main() 26 assert(distance(l1.cbegin(), l1.cend()) == 3); in main() 31 std::list<int>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin())); in main() 33 assert(distance(l1.cbegin(), l1.cend()) == 2); in main() 39 std::list<int>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 2)); in main() 41 assert(distance(l1.cbegin(), l1.cend()) == 1); in main() 47 std::list<int>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 3)); in main() 49 assert(distance(l1.cbegin(), l1.cend()) == 0); in main() 55 std::list<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), l1.cbegin()); in main() 57 assert(distance(l1.cbegin(), l1.cend()) == 3); in main() [all …]
|
/external/libcxx/test/std/containers/sequences/vector.bool/ |
D | erase_iter_iter.pass.cpp | 25 std::vector<bool>::iterator i = l1.erase(l1.cbegin(), l1.cbegin()); in main() 27 assert(distance(l1.cbegin(), l1.cend()) == 3); in main() 32 std::vector<bool>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin())); in main() 34 assert(distance(l1.cbegin(), l1.cend()) == 2); in main() 40 std::vector<bool>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 2)); in main() 42 assert(distance(l1.cbegin(), l1.cend()) == 1); in main() 48 std::vector<bool>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 3)); in main() 50 assert(distance(l1.cbegin(), l1.cend()) == 0); in main() 56 std::vector<bool, min_allocator<bool>>::iterator i = l1.erase(l1.cbegin(), l1.cbegin()); in main() 58 assert(distance(l1.cbegin(), l1.cend()) == 3); in main() [all …]
|
/external/libcxx/test/std/containers/sequences/vector/vector.modifiers/ |
D | erase_iter_iter.pass.cpp | 27 std::vector<int>::iterator i = l1.erase(l1.cbegin(), l1.cbegin()); in main() 29 assert(distance(l1.cbegin(), l1.cend()) == 3); in main() 36 std::vector<int>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin())); in main() 38 assert(distance(l1.cbegin(), l1.cend()) == 2); in main() 46 std::vector<int>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 2)); in main() 48 assert(distance(l1.cbegin(), l1.cend()) == 1); in main() 56 std::vector<int>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 3)); in main() 58 assert(distance(l1.cbegin(), l1.cend()) == 0); in main() 79 std::vector<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), l1.cbegin()); in main() 81 assert(distance(l1.cbegin(), l1.cend()) == 3); in main() [all …]
|
D | insert_iter_size_value.pass.cpp | 28 std::vector<int>::iterator i = v.insert(v.cbegin() + 10, 5, 1); in main() 44 std::vector<int>::iterator i = v.insert(v.cbegin() + 10, 5, 1); in main() 60 std::vector<int>::iterator i = v.insert(v.cbegin() + 10, 5, 1); in main() 74 std::vector<int, stack_allocator<int, 300> >::iterator i = v.insert(v.cbegin() + 10, 5, 1); in main() 90 std::vector<int>::iterator i = c1.insert(c2.cbegin() + 10, 5, 1); in main() 97 std::vector<int, min_allocator<int>>::iterator i = v.insert(v.cbegin() + 10, 5, 1); in main() 111 std::vector<int, min_allocator<int>>::iterator i = v.insert(v.cbegin() + 10, 5, 1); in main() 127 std::vector<int, min_allocator<int>>::iterator i = c1.insert(c2.cbegin() + 10, 5, 1); in main()
|
/external/libcxx/test/std/containers/associative/multiset/ |
D | erase_iter_iter.pass.cpp | 40 I i = m.erase(next(m.cbegin(), 5), next(m.cbegin(), 5)); in main() 52 i = m.erase(next(m.cbegin(), 3), next(m.cbegin(), 4)); in main() 63 i = m.erase(next(m.cbegin(), 2), next(m.cbegin(), 5)); in main() 71 i = m.erase(next(m.cbegin(), 0), next(m.cbegin(), 2)); in main() 77 i = m.erase(m.cbegin(), m.cend()); in main() 99 I i = m.erase(next(m.cbegin(), 5), next(m.cbegin(), 5)); in main() 111 i = m.erase(next(m.cbegin(), 3), next(m.cbegin(), 4)); in main() 122 i = m.erase(next(m.cbegin(), 2), next(m.cbegin(), 5)); in main() 130 i = m.erase(next(m.cbegin(), 0), next(m.cbegin(), 2)); in main() 136 i = m.erase(m.cbegin(), m.cend()); in main()
|
D | erase_iter.pass.cpp | 40 I i = m.erase(next(m.cbegin(), 3)); in main() 51 i = m.erase(next(m.cbegin(), 0)); in main() 61 i = m.erase(next(m.cbegin(), 5)); in main() 70 i = m.erase(next(m.cbegin(), 1)); in main() 78 i = m.erase(next(m.cbegin(), 2)); in main() 85 i = m.erase(next(m.cbegin(), 2)); in main() 91 i = m.erase(next(m.cbegin(), 0)); in main() 96 i = m.erase(m.cbegin()); in main() 119 I i = m.erase(next(m.cbegin(), 3)); in main() 130 i = m.erase(next(m.cbegin(), 0)); in main() [all …]
|
/external/libcxx/test/std/containers/associative/set/ |
D | erase_iter_iter.pass.cpp | 40 I i = m.erase(next(m.cbegin(), 5), next(m.cbegin(), 5)); in main() 52 i = m.erase(next(m.cbegin(), 3), next(m.cbegin(), 4)); in main() 63 i = m.erase(next(m.cbegin(), 2), next(m.cbegin(), 5)); in main() 71 i = m.erase(next(m.cbegin(), 0), next(m.cbegin(), 2)); in main() 77 i = m.erase(m.cbegin(), m.cend()); in main() 99 I i = m.erase(next(m.cbegin(), 5), next(m.cbegin(), 5)); in main() 111 i = m.erase(next(m.cbegin(), 3), next(m.cbegin(), 4)); in main() 122 i = m.erase(next(m.cbegin(), 2), next(m.cbegin(), 5)); in main() 130 i = m.erase(next(m.cbegin(), 0), next(m.cbegin(), 2)); in main() 136 i = m.erase(m.cbegin(), m.cend()); in main()
|
D | erase_iter.pass.cpp | 40 I i = m.erase(next(m.cbegin(), 3)); in main() 51 i = m.erase(next(m.cbegin(), 0)); in main() 61 i = m.erase(next(m.cbegin(), 5)); in main() 70 i = m.erase(next(m.cbegin(), 1)); in main() 78 i = m.erase(next(m.cbegin(), 2)); in main() 85 i = m.erase(next(m.cbegin(), 2)); in main() 91 i = m.erase(next(m.cbegin(), 0)); in main() 96 i = m.erase(m.cbegin()); in main() 119 I i = m.erase(next(m.cbegin(), 3)); in main() 130 i = m.erase(next(m.cbegin(), 0)); in main() [all …]
|
/external/libcxx/test/std/containers/unord/unord.multiset/ |
D | local_iterators.pass.cpp | 162 I i = c.cbegin(b); in main() 167 i = c.cbegin(b); in main() 175 i = c.cbegin(b); in main() 183 i = c.cbegin(b); in main() 189 i = c.cbegin(b); in main() 195 i = c.cbegin(b); in main() 200 i = c.cbegin(b); in main() 220 I i = c.cbegin(b); in main() 225 i = c.cbegin(b); in main() 233 i = c.cbegin(b); in main() [all …]
|
D | local_iterators.fail.cpp | 161 I i = c.cbegin(b); in main() 166 i = c.cbegin(b); in main() 174 i = c.cbegin(b); in main() 182 i = c.cbegin(b); in main() 188 i = c.cbegin(b); in main() 194 i = c.cbegin(b); in main() 199 i = c.cbegin(b); in main() 219 I i = c.cbegin(b); in main() 224 i = c.cbegin(b); in main() 232 i = c.cbegin(b); in main() [all …]
|
/external/libcxx/test/std/containers/associative/multimap/multimap.modifiers/ |
D | erase_iter_iter.pass.cpp | 40 I i = m.erase(m.cbegin(), m.cbegin()); in main() 60 i = m.erase(m.cbegin(), next(m.cbegin(), 2)); in main() 76 i = m.erase(next(m.cbegin(), 2), next(m.cbegin(), 6)); in main() 84 i = m.erase(m.cbegin(), m.cend()); in main() 107 I i = m.erase(m.cbegin(), m.cbegin()); in main() 127 i = m.erase(m.cbegin(), next(m.cbegin(), 2)); in main() 143 i = m.erase(next(m.cbegin(), 2), next(m.cbegin(), 6)); in main() 151 i = m.erase(m.cbegin(), m.cend()); in main()
|
D | erase_iter.pass.cpp | 41 I i = m.erase(next(m.cbegin(), 3)); in main() 61 i = m.erase(next(m.cbegin(), 0)); in main() 79 i = m.erase(next(m.cbegin(), 5)); in main() 95 i = m.erase(next(m.cbegin(), 1)); in main() 109 i = m.erase(next(m.cbegin(), 2)); in main() 121 i = m.erase(next(m.cbegin(), 2)); in main() 131 i = m.erase(next(m.cbegin(), 0)); in main() 139 i = m.erase(next(m.cbegin(), 1)); in main() 145 i = m.erase(m.cbegin()); in main() 169 I i = m.erase(next(m.cbegin(), 3)); in main() [all …]
|
/external/libcxx/test/std/containers/associative/map/map.modifiers/ |
D | erase_iter_iter.pass.cpp | 40 I i = m.erase(m.cbegin(), m.cbegin()); in main() 60 i = m.erase(m.cbegin(), next(m.cbegin(), 2)); in main() 76 i = m.erase(next(m.cbegin(), 2), next(m.cbegin(), 6)); in main() 84 i = m.erase(m.cbegin(), m.cend()); in main() 107 I i = m.erase(m.cbegin(), m.cbegin()); in main() 127 i = m.erase(m.cbegin(), next(m.cbegin(), 2)); in main() 143 i = m.erase(next(m.cbegin(), 2), next(m.cbegin(), 6)); in main() 151 i = m.erase(m.cbegin(), m.cend()); in main()
|
D | erase_iter.pass.cpp | 40 I i = m.erase(next(m.cbegin(), 3)); in main() 58 i = m.erase(next(m.cbegin(), 0)); in main() 74 i = m.erase(next(m.cbegin(), 5)); in main() 88 i = m.erase(next(m.cbegin(), 1)); in main() 100 i = m.erase(next(m.cbegin(), 2)); in main() 110 i = m.erase(next(m.cbegin(), 2)); in main() 118 i = m.erase(next(m.cbegin(), 0)); in main() 124 i = m.erase(m.cbegin()); in main() 147 I i = m.erase(next(m.cbegin(), 3)); in main() 165 i = m.erase(next(m.cbegin(), 0)); in main() [all …]
|
/external/libcxx/test/std/iterators/iterator.range/ |
D | begin-end.pass.cpp | 33 assert ( std::cbegin(c) == c.cbegin()); in test_const_container() 34 assert ( std::cbegin(c) != c.cend()); in test_const_container() 73 assert ( std::cbegin(c) == c.cbegin()); in test_container() 74 assert ( std::cbegin(c) != c.cend()); in test_container() 112 assert ( std::cbegin(array) == array ); in test_const_array() 113 assert (*std::cbegin(array) == array[0] ); in test_const_array() 114 assert ( std::cbegin(array) != std::cend(array)); in test_const_array() 138 constexpr const int *b = std::cbegin(arrA); in main()
|
/external/libcxx/test/std/containers/sequences/dynarray/dynarray.overview/ |
D | begin_end.pass.cpp | 45 assert ( data == &*dyn.cbegin ()); in dyn_test_const() 51 assert ( dyn.size () == std::distance ( dyn.cbegin(), dyn.cend())); in dyn_test_const() 55 assert ( dyn.begin () == dyn.cbegin ()); in dyn_test_const() 56 assert ( &*dyn.begin () == &*dyn.cbegin ()); in dyn_test_const() 67 assert ( data == &*dyn.cbegin ()); in dyn_test() 73 assert ( dyn.size () == std::distance ( dyn.cbegin(), dyn.cend())); in dyn_test() 77 assert ( dyn.begin () == dyn.cbegin ()); in dyn_test() 78 assert ( &*dyn.begin () == &*dyn.cbegin ()); in dyn_test()
|
/external/libcxx/test/std/containers/unord/unord.set/ |
D | local_iterators.pass.cpp | 134 I i = c.cbegin(b); in main() 139 i = c.cbegin(b); in main() 145 i = c.cbegin(b); in main() 151 i = c.cbegin(b); in main() 157 i = c.cbegin(b); in main() 178 I i = c.cbegin(b); in main() 183 i = c.cbegin(b); in main() 189 i = c.cbegin(b); in main() 195 i = c.cbegin(b); in main() 201 i = c.cbegin(b); in main() [all …]
|
D | local_iterators.fail.cpp | 161 I i = c.cbegin(b); in main() 166 i = c.cbegin(b); in main() 174 i = c.cbegin(b); in main() 182 i = c.cbegin(b); in main() 188 i = c.cbegin(b); in main() 194 i = c.cbegin(b); in main() 199 i = c.cbegin(b); in main() 219 I i = c.cbegin(b); in main() 224 i = c.cbegin(b); in main() 232 i = c.cbegin(b); in main() [all …]
|
/external/libcxx/test/std/containers/unord/unord.multimap/ |
D | local_iterators.pass.cpp | 175 I i = c.cbegin(b); in main() 180 i = c.cbegin(b); in main() 190 i = c.cbegin(b); in main() 200 i = c.cbegin(b); in main() 207 i = c.cbegin(b); in main() 214 i = c.cbegin(b); in main() 219 i = c.cbegin(b); in main() 239 I i = c.cbegin(b); in main() 244 i = c.cbegin(b); in main() 254 i = c.cbegin(b); in main() [all …]
|
D | local_iterators.fail.cpp | 174 I i = c.cbegin(b); in main() 179 i = c.cbegin(b); in main() 189 i = c.cbegin(b); in main() 199 i = c.cbegin(b); in main() 206 i = c.cbegin(b); in main() 213 i = c.cbegin(b); in main() 218 i = c.cbegin(b); in main() 238 I i = c.cbegin(b); in main() 243 i = c.cbegin(b); in main() 253 i = c.cbegin(b); in main() [all …]
|
/external/libcxx/test/std/containers/unord/unord.map/ |
D | local_iterators.pass.cpp | 143 I i = c.cbegin(b); in main() 148 i = c.cbegin(b); in main() 155 i = c.cbegin(b); in main() 162 i = c.cbegin(b); in main() 169 i = c.cbegin(b); in main() 191 I i = c.cbegin(b); in main() 196 i = c.cbegin(b); in main() 203 i = c.cbegin(b); in main() 210 i = c.cbegin(b); in main() 217 i = c.cbegin(b); in main() [all …]
|
/external/libcxx/test/std/containers/sequences/array/ |
D | iterators.pass.cpp | 26 j = c.cbegin(); in main() 35 j = c.cbegin(); in main() 55 assert ( c.cbegin() == std::cbegin(c)); in main() 65 assert ( std::cbegin(c) != std::cend(c)); in main() 95 assert ( c.cbegin() == std::cbegin(c)); in main() 105 assert ( std::cbegin(c) == std::cend(c)); in main()
|
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/ |
D | iter_iter_initializer_list.pass.cpp | 24 s.replace(s.cbegin() + 3, s.cbegin() + 6, {'a', 'b', 'c'}); in main() 31 s.replace(s.cbegin() + 3, s.cbegin() + 6, {'a', 'b', 'c'}); in main()
|
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_erase/ |
D | erase_iter_iter_db4.pass.cpp | 29 std::string::iterator i = l1.erase(l1.cbegin()+1, l1.cbegin()); in main() 36 S::iterator i = l1.erase(l1.cbegin()+1, l1.cbegin()); in main()
|
D | erase_iter_iter_db1.pass.cpp | 30 std::string::iterator i = l1.erase(l2.cbegin(), l1.cbegin()+1); in main() 38 S::iterator i = l1.erase(l2.cbegin(), l1.cbegin()+1); in main()
|