Home
last modified time | relevance | path

Searched refs:remove_if (Results 1 – 25 of 339) sorted by relevance

12345678910>>...14

/external/llvm-project/libcxx/test/std/containers/sequences/list/list.ops/
Dremove_if.pass.cpp52 ASSERT_SAME_TYPE(L::size_type, decltype(c.remove_if(std::ref(cp)))); in main()
53 assert(c.remove_if(std::ref(cp)) == 2); in main()
55 ASSERT_SAME_TYPE(void, decltype(c.remove_if(std::ref(cp)))); in main()
56 c.remove_if(std::ref(cp)); in main()
67 assert(c.remove_if(std::ref(cp)) == 2); in main()
69 c.remove_if(std::ref(cp)); in main()
78 c.remove_if(std::ref(c.front())); in main()
94 assert(c.remove_if(std::ref(cp)) == 2); in main()
96 c.remove_if(std::ref(cp)); in main()
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/
Dremove_if.pass.cpp39 c1.remove_if(std::ref(cp)); in main()
51 c1.remove_if(std::ref(cp)); in main()
64 c1.remove_if(std::ref(cp)); in main()
75 c1.remove_if(std::ref(cp)); in main()
88 c1.remove_if(std::ref(cp)); in main()
102 c1.remove_if(std::ref(cp)); in main()
114 c1.remove_if(std::ref(cp)); in main()
127 c1.remove_if(std::ref(cp)); in main()
138 c1.remove_if(std::ref(cp)); in main()
151 c1.remove_if(std::ref(cp)); in main()
/external/libcxx/test/std/containers/sequences/list/list.ops/
Dremove_if.pass.cpp40 c.remove_if(std::ref(cp)); in main()
49 c.remove_if(std::ref(cp)); in main()
59 c.remove_if(std::ref(cp)); in main()
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/
Dremove_if.pass.cpp33 auto it = std::remove_if(std::begin(ia), std::end(ia), equal2); in test_constexpr()
49 int* r = std::remove_if(ia, ia+sa, std::ref(cp)); in test()
81 Iter r = std::remove_if(Iter(ia), Iter(ia+sa), pred()); in test1()
/external/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/
Dremove_if.pass.cpp32 auto it = std::remove_if(std::begin(ia), std::end(ia), equal2); in test_constexpr()
48 int* r = std::remove_if(ia, ia+sa, std::ref(cp)); in test()
80 Iter r = std::remove_if(Iter(ia), Iter(ia+sa), pred()); in test1()
/external/libchrome/base/
Dstl_util.h249 container.erase(std::remove_if(container.begin(), container.end(), pred), in EraseIf()
261 container.erase(std::remove_if(container.begin(), container.end(), pred), in EraseIf()
273 container.erase(std::remove_if(container.begin(), container.end(), pred), in EraseIf()
282 container.remove_if([&](const T& cur) { return cur == value; }); in Erase()
287 container.remove_if(pred); in EraseIf()
295 container.remove_if([&](const T& cur) { return cur == value; }); in Erase()
300 container.remove_if(pred); in EraseIf()
/external/llvm-project/llvm/tools/llvm-objcopy/COFF/
DObject.cpp43 Symbols.erase(std::remove_if(std::begin(Symbols), std::end(Symbols), in removeSymbols()
106 std::remove_if(std::begin(Sections), std::end(Sections), in removeSections()
117 std::remove_if( in removeSections()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-unused-return-value.cpp22 ForwardIt remove_if(ForwardIt, ForwardIt, UnaryPredicate);
93 std::remove_if(nullptr, nullptr, nullptr); in warning()
199 auto RemoveIfRetval = std::remove_if(nullptr, nullptr, nullptr); in noWarning()
/external/llvm-project/libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/
Dremove_if.pass.cpp29 ASSERT_SAME_TYPE(decltype(l.remove_if(pred)), typename L::size_type); in do_remove_if()
30 assert(l.remove_if(pred) == expected); in do_remove_if()
32 ASSERT_SAME_TYPE(decltype(l.remove_if(pred)), void); in do_remove_if()
33 l.remove_if(pred); in do_remove_if()
/external/llvm-project/lldb/source/Breakpoint/
DBreakpointResolver.cpp235 worklist_end = std::remove_if( in SetSCMatchesByLine()
246 worklist_end = std::remove_if( in SetSCMatchesByLine()
255 worklist_end = std::remove_if(worklist_begin, worklist_end, in SetSCMatchesByLine()
276 std::remove_if(std::next(first), worklist_end, in SetSCMatchesByLine()
/external/llvm/unittests/ADT/
DMapVectorTest.cpp106 TEST(MapVectorTest, remove_if) { in TEST() argument
117 MV.remove_if([](const std::pair<int, int> &Val) { return Val.second % 2; }); in TEST()
215 TEST(SmallMapVectorSmallTest, remove_if) { in TEST() argument
226 MV.remove_if([](const std::pair<int, int> &Val) { return Val.second % 2; }); in TEST()
324 TEST(SmallMapVectorLargeTest, remove_if) { in TEST() argument
335 MV.remove_if([](const std::pair<int, int> &Val) { return Val.second % 2; }); in TEST()
/external/llvm-project/pstl/test/std/algorithms/alg.modifying.operations/
Dremove.pass.cpp91 OutputIterator i = remove_if(expected_first, expected_last, pred); in operator ()()
92 OutputIterator k = remove_if(exec, out_first, out_last, pred); in operator ()()
129 invoke_if(exec, [&]() { remove_if(exec, iter, iter, non_const(is_even)); }); in operator ()()
/external/llvm-project/llvm/unittests/ADT/
DMapVectorTest.cpp105 TEST(MapVectorTest, remove_if) { in TEST() argument
116 MV.remove_if([](const std::pair<int, int> &Val) { return Val.second % 2; }); in TEST()
262 TEST(SmallMapVectorSmallTest, remove_if) { in TEST() argument
273 MV.remove_if([](const std::pair<int, int> &Val) { return Val.second % 2; }); in TEST()
380 TEST(SmallMapVectorLargeTest, remove_if) { in TEST() argument
391 MV.remove_if([](const std::pair<int, int> &Val) { return Val.second % 2; }); in TEST()
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dbugprone-unused-return-value.rst14 …``::std::async;::std::launder;::std::remove;::std::remove_if;::std::unique;::std::unique_ptr::rele…
21 - ``std::remove()``, ``std::remove_if()`` and ``std::unique()``. The returned
/external/grpc-grpc/examples/cpp/route_guide/
Dhelper.cc64 std::remove_if(db_.begin(), db_.end(), isspace), in Parser()
144 std::remove_if(db_content.begin(), db_content.end(), isspace), in ParseDb()
/external/clang/lib/Tooling/
DCompilationDatabase.cpp241 Args.erase(std::remove_if(Args.begin(), Args.end(), in stripPositionalArgs()
268 std::vector<const char *>::iterator End = std::remove_if( in stripPositionalArgs()
272 End = std::remove_if(Args.begin(), End, MatchesAny(DiagClient.UnusedInputs)); in stripPositionalArgs()
/external/llvm-project/pstl/
DREADME.md31 * For `remove`, `remove_if`, `unique` the dereferenced value type of the provided iterators shall b…
33 …`partial_sort`, `partial_sort_copy`, `partition_copy`, `remove`, `remove_if`, `rotate`, `sort`, `s…
/external/libchrome/mojo/public/cpp/bindings/lib/
Dsync_handle_registry.cc102 callbacks.erase(std::remove_if(callbacks.begin(), callbacks.end(), in UnregisterEvent()
188 std::remove_if(callbacks.begin(), callbacks.end(), in RemoveInvalidEventCallbacks()
/external/llvm-project/llvm/tools/llvm-objcopy/wasm/
DObject.cpp30 std::remove_if(std::begin(Sections), std::end(Sections), ToRemove), in removeSections()
/external/skqp/src/core/
DSkRecord.cpp34 Record* noops = std::remove_if(fRecords.get(), fRecords.get() + fCount, in defrag()
/external/skia/src/core/
DSkRecord.cpp34 Record* noops = std::remove_if(fRecords.get(), fRecords.get() + fCount, in defrag()
/external/llvm/include/llvm/ADT/
DSetVector.h187 bool remove_if(UnaryPredicate P) { in remove_if() function
189 = std::remove_if(vector_.begin(), vector_.end(), in remove_if()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSetVector.h199 bool remove_if(UnaryPredicate P) { in remove_if() function
201 llvm::remove_if(vector_, TestAndEraseFromSet<UnaryPredicate>(P, set_)); in remove_if()
/external/webrtc/media/base/
Dvideo_source_base.cc37 sinks_.erase(std::remove_if(sinks_.begin(), sinks_.end(), in RemoveSink()
/external/openscreen/platform/impl/
Dnetwork_interface.cc12 const auto new_end = std::remove_if( in GetNetworkInterfaces()

12345678910>>...14