Home
last modified time | relevance | path

Searched refs:erase (Results 1 – 25 of 193) sorted by relevance

12345678

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/
Derase_key.pass.cpp55 assert(c.erase(5) == 0); in main()
62 assert(c.erase(2) == 1); in main()
68 assert(c.erase(2) == 0); in main()
74 assert(c.erase(4) == 1); in main()
79 assert(c.erase(4) == 0); in main()
84 assert(c.erase(1) == 1); in main()
88 assert(c.erase(1) == 0); in main()
92 assert(c.erase(3) == 1); in main()
95 assert(c.erase(3) == 0); in main()
112 assert(c.erase(5) == 0); in main()
[all …]
Derase_range.pass.cpp40 C::iterator k = c.erase(i, i); in main()
48 k = c.erase(i, j); in main()
54 k = c.erase(c.cbegin(), c.cend()); in main()
74 C::iterator k = c.erase(i, i); in main()
82 k = c.erase(i, j); in main()
88 k = c.erase(c.cbegin(), c.cend()); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/unorder.map.modifiers/
Derase_key.pass.cpp56 assert(c.erase(5) == 0); in main()
63 assert(c.erase(2) == 1); in main()
69 assert(c.erase(2) == 0); in main()
75 assert(c.erase(4) == 1); in main()
80 assert(c.erase(4) == 0); in main()
85 assert(c.erase(1) == 1); in main()
89 assert(c.erase(1) == 0); in main()
93 assert(c.erase(3) == 1); in main()
96 assert(c.erase(3) == 0); in main()
114 assert(c.erase(5) == 0); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/
Derase_key.pass.cpp55 assert(c.erase(5) == 0); in main()
62 assert(c.erase(2) == 2); in main()
68 assert(c.erase(2) == 0); in main()
74 assert(c.erase(4) == 1); in main()
79 assert(c.erase(4) == 0); in main()
84 assert(c.erase(1) == 2); in main()
88 assert(c.erase(1) == 0); in main()
92 assert(c.erase(3) == 1); in main()
95 assert(c.erase(3) == 0); in main()
113 assert(c.erase(5) == 0); in main()
[all …]
Derase_range.pass.cpp40 C::iterator k = c.erase(i, i); in main()
48 k = c.erase(i, j); in main()
54 k = c.erase(c.cbegin(), c.cend()); in main()
75 C::iterator k = c.erase(i, i); in main()
83 k = c.erase(i, j); in main()
89 k = c.erase(c.cbegin(), c.cend()); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/set/
Derase_key.pass.cpp40 I i = m.erase(9); in main()
52 i = m.erase(4); in main()
63 i = m.erase(1); in main()
73 i = m.erase(8); in main()
82 i = m.erase(3); in main()
90 i = m.erase(6); in main()
97 i = m.erase(7); in main()
103 i = m.erase(2); in main()
108 i = m.erase(5); in main()
130 I i = m.erase(9); in main()
[all …]
Dsize.pass.cpp33 m.erase(m.begin()); in main()
35 m.erase(m.begin()); in main()
37 m.erase(m.begin()); in main()
51 m.erase(m.begin()); in main()
53 m.erase(m.begin()); in main()
55 m.erase(m.begin()); in main()
Derase_iter.pass.cpp40 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 …]
Derase_iter_iter.pass.cpp40 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()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.special/
Ddb_swap_1.pass.cpp35 c1.erase(i2); in main()
36 c2.erase(i1); in main()
37 c1.erase(i1); in main()
49 c1.erase(i2); in main()
50 c2.erase(i1); in main()
51 c1.erase(i1); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.special/
Ddb_swap_1.pass.cpp36 c1.erase(i2); in main()
37 c2.erase(i1); in main()
39 c1.erase(i1); in main()
51 c1.erase(i2); in main()
52 c2.erase(i1); in main()
54 c1.erase(i1); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multimap/
Dsize.pass.cpp33 m.erase(m.begin()); in main()
35 m.erase(m.begin()); in main()
37 m.erase(m.begin()); in main()
51 m.erase(m.begin()); in main()
53 m.erase(m.begin()); in main()
55 m.erase(m.begin()); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.access/
Dsize.pass.cpp33 m.erase(m.begin()); in main()
35 m.erase(m.begin()); in main()
37 m.erase(m.begin()); in main()
51 m.erase(m.begin()); in main()
53 m.erase(m.begin()); in main()
55 m.erase(m.begin()); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multiset/
Dsize.pass.cpp33 m.erase(m.begin()); in main()
35 m.erase(m.begin()); in main()
37 m.erase(m.begin()); in main()
51 m.erase(m.begin()); in main()
53 m.erase(m.begin()); in main()
55 m.erase(m.begin()); in main()
Derase_iter.pass.cpp40 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 …]
Derase_key.pass.cpp41 I i = m.erase(6); in main()
54 i = m.erase(5); in main()
64 i = m.erase(3); in main()
71 i = m.erase(7); in main()
94 I i = m.erase(6); in main()
107 i = m.erase(5); in main()
117 i = m.erase(3); in main()
124 i = m.erase(7); in main()
Derase_iter_iter.pass.cpp40 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()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.capacity/
Dclear.pass.cpp35 s.erase(5); in main()
39 s.erase(50); in main()
49 s.erase(5); in main()
53 s.erase(50); in main()
Dreserve.pass.cpp62 s.erase(5); in main()
66 s.erase(50); in main()
77 s.erase(50); in main()
93 s.erase(5); in main()
97 s.erase(50); in main()
108 s.erase(50); in main()
Dshrink_to_fit.pass.cpp40 s.erase(5); in main()
44 s.erase(50); in main()
54 s.erase(5); in main()
58 s.erase(50); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.modifiers/
Derase_iter.pass.cpp26 std::list<int>::iterator j = l1.erase(i); in main()
32 j = l1.erase(j); in main()
37 j = l1.erase(l1.begin()); in main()
48 std::list<int, min_allocator<int>>::iterator j = l1.erase(i); in main()
54 j = l1.erase(j); in main()
59 j = l1.erase(l1.begin()); in main()
Derase_iter_iter.pass.cpp24 std::list<int>::iterator i = l1.erase(l1.cbegin(), l1.cbegin()); in main()
31 std::list<int>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin())); in main()
39 std::list<int>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 2)); in main()
47 std::list<int>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 3)); in main()
55 std::list<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), l1.cbegin()); in main()
62 std::list<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin())); in main()
70 … std::list<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 2)); in main()
78 … std::list<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 3)); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector.bool/
Derase_iter.pass.cpp27 std::vector<bool>::iterator j = l1.erase(i); in main()
33 j = l1.erase(j); in main()
38 j = l1.erase(l1.begin()); in main()
48 std::vector<bool, min_allocator<bool>>::iterator j = l1.erase(i); in main()
54 j = l1.erase(j); in main()
59 j = l1.erase(l1.begin()); in main()
Derase_iter_iter.pass.cpp25 std::vector<bool>::iterator i = l1.erase(l1.cbegin(), l1.cbegin()); in main()
32 std::vector<bool>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin())); in main()
40 std::vector<bool>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 2)); in main()
48 std::vector<bool>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 3)); in main()
56 std::vector<bool, min_allocator<bool>>::iterator i = l1.erase(l1.cbegin(), l1.cbegin()); in main()
63 … std::vector<bool, min_allocator<bool>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin())); in main()
71 … std::vector<bool, min_allocator<bool>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 2)); in main()
79 … std::vector<bool, min_allocator<bool>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 3)); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.modifiers/
Derase_iter.pass.cpp28 std::vector<int>::iterator j = l1.erase(i); in main()
35 j = l1.erase(j); in main()
41 j = l1.erase(l1.begin()); in main()
54 std::vector<int, min_allocator<int>>::iterator j = l1.erase(i); in main()
61 j = l1.erase(j); in main()
67 j = l1.erase(l1.begin()); in main()

12345678