Home
last modified time | relevance | path

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

12345678910>>...44

/external/libcxx/test/std/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 …]
/external/libcxx/test/std/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 …]
/external/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
Derase_key.pass.cpp57 assert(c.erase(5) == 0); in main()
64 assert(c.erase(2) == 1); in main()
70 assert(c.erase(2) == 0); in main()
76 assert(c.erase(4) == 1); in main()
81 assert(c.erase(4) == 0); in main()
86 assert(c.erase(1) == 1); in main()
90 assert(c.erase(1) == 0); in main()
94 assert(c.erase(3) == 1); in main()
97 assert(c.erase(3) == 0); in main()
115 assert(c.erase(5) == 0); in main()
[all …]
/external/libcxx/test/std/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 …]
Derase_iter.pass.cpp48 I i = m.erase(next(m.cbegin(), 3)); in main()
59 i = m.erase(next(m.cbegin(), 0)); in main()
69 i = m.erase(next(m.cbegin(), 5)); in main()
78 i = m.erase(next(m.cbegin(), 1)); in main()
86 i = m.erase(next(m.cbegin(), 2)); in main()
93 i = m.erase(next(m.cbegin(), 2)); in main()
99 i = m.erase(next(m.cbegin(), 0)); in main()
104 i = m.erase(m.cbegin()); in main()
127 I i = m.erase(next(m.cbegin(), 3)); in main()
138 i = m.erase(next(m.cbegin(), 0)); 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_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()
/external/libcxx/test/std/containers/associative/multiset/
Derase_iter.pass.cpp48 I i = m.erase(next(m.cbegin(), 3)); in main()
59 i = m.erase(next(m.cbegin(), 0)); in main()
69 i = m.erase(next(m.cbegin(), 5)); in main()
78 i = m.erase(next(m.cbegin(), 1)); in main()
86 i = m.erase(next(m.cbegin(), 2)); in main()
93 i = m.erase(next(m.cbegin(), 2)); in main()
99 i = m.erase(next(m.cbegin(), 0)); in main()
104 i = m.erase(m.cbegin()); in main()
127 I i = m.erase(next(m.cbegin(), 3)); in main()
138 i = m.erase(next(m.cbegin(), 0)); 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_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()
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()
/external/llvm/unittests/ADT/
DTinyPtrVectorTest.cpp295 this->V.erase(this->V.begin()); in TYPED_TEST()
300 this->V.erase(this->V.begin()); in TYPED_TEST()
301 this->TestPtrs.erase(this->TestPtrs.begin()); in TYPED_TEST()
303 this->V.erase(std::next(this->V.begin(), 1)); in TYPED_TEST()
304 this->TestPtrs.erase(std::next(this->TestPtrs.begin(), 1)); in TYPED_TEST()
306 this->V.erase(std::next(this->V.begin(), 2)); in TYPED_TEST()
307 this->TestPtrs.erase(std::next(this->TestPtrs.begin(), 2)); in TYPED_TEST()
309 this->V.erase(std::next(this->V.begin(), 5)); in TYPED_TEST()
310 this->TestPtrs.erase(std::next(this->TestPtrs.begin(), 5)); in TYPED_TEST()
312 this->V.erase(std::next(this->V.begin(), 13)); in TYPED_TEST()
[all …]
DSparseSetTest.cpp67 EXPECT_FALSE(Set.erase(1)); in TEST()
74 I = Set.erase(I); in TEST()
111 EXPECT_TRUE(Set.erase(4)); in TEST()
114 EXPECT_FALSE(Set.erase(4)); in TEST()
121 EXPECT_TRUE(Set.erase(5)); in TEST()
124 EXPECT_FALSE(Set.erase(5)); in TEST()
133 I = Set.erase(Set.end() - 1); in TEST()
138 I = Set.erase(Set.begin() + 1); in TEST()
151 Set.erase(i); in TEST()
179 I = Set.erase(Set.begin()); in TEST()
[all …]
/external/libcxx/test/std/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()
/external/v8/src/heap/
Darray-buffer-tracker.cc71 live_buffers->erase(data); in Unregister()
72 not_yet_discovered_buffers->erase(data); in Unregister()
85 not_yet_discovered_array_buffers_for_scavenge_.erase(data); in MarkLive()
87 not_yet_discovered_array_buffers_.erase(data); in MarkLive()
98 live_array_buffers_for_scavenge_.erase(buffer.first); in FreeDead()
105 live_array_buffers_.erase(buffer.first); in FreeDead()
133 live_array_buffers_for_scavenge_.erase(data); in Promote()
134 not_yet_discovered_array_buffers_for_scavenge_.erase(data); in Promote()
/external/libcxx/test/std/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()
/external/libcxx/test/std/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()
/external/libcxx/test/std/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()
/external/libcxx/test/std/containers/associative/map/map.modifiers/
Derase_iter.pass.cpp48 I i = m.erase(next(m.cbegin(), 3)); in main()
66 i = m.erase(next(m.cbegin(), 0)); in main()
82 i = m.erase(next(m.cbegin(), 5)); in main()
96 i = m.erase(next(m.cbegin(), 1)); in main()
108 i = m.erase(next(m.cbegin(), 2)); in main()
118 i = m.erase(next(m.cbegin(), 2)); in main()
126 i = m.erase(next(m.cbegin(), 0)); in main()
132 i = m.erase(m.cbegin()); in main()
155 I i = m.erase(next(m.cbegin(), 3)); in main()
173 i = m.erase(next(m.cbegin(), 0)); in main()
[all …]
Derase_key.pass.cpp40 R s = m.erase(9); in main()
60 s = m.erase(4); in main()
78 s = m.erase(1); in main()
94 s = m.erase(8); in main()
108 s = m.erase(3); in main()
120 s = m.erase(6); in main()
130 s = m.erase(7); in main()
138 s = m.erase(2); in main()
144 s = m.erase(5); in main()
166 R s = m.erase(9); in main()
[all …]
/external/libcxx/test/std/containers/sequences/vector/vector.modifiers/
Derase_iter_iter.pass.cpp27 std::vector<int>::iterator i = l1.erase(l1.cbegin(), l1.cbegin()); in main()
36 std::vector<int>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin())); in main()
46 std::vector<int>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 2)); in main()
56 std::vector<int>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 3)); in main()
67 outer.erase(outer.begin(), outer.begin()); in main()
79 std::vector<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), l1.cbegin()); in main()
88 std::vector<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin())); in main()
98 … std::vector<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 2)); in main()
108 … std::vector<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 3)); in main()
119 outer.erase(outer.begin(), outer.begin()); in main()
/external/libcxx/test/std/containers/sequences/vector.bool/
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()
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()
/external/libcxx/test/std/containers/sequences/list/list.modifiers/
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()
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()

12345678910>>...44