Home
last modified time | relevance | path

Searched refs:equalToTwo (Results 1 – 3 of 3) sorted by relevance

/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/
Dremove_copy_if.pass.cpp25 TEST_CONSTEXPR bool equalToTwo(int v) { return v == 2; } in equalToTwo() function
32 auto it = std::remove_copy_if(std::begin(ia), std::end(ia), std::begin(ib), equalToTwo); in test_constexpr()
35 && std::none_of(std::begin(ib), it, equalToTwo) in test_constexpr()
49 OutIter(ib), equalToTwo); in test()
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/
Dreplace_if.pass.cpp26 TEST_CONSTEXPR bool equalToTwo(int v) { return v == 2; } in equalToTwo() function
33 std::replace_if(std::begin(ia), std::end(ia), equalToTwo, 5); in test_constexpr()
46 std::replace_if(Iter(ia), Iter(ia+sa), equalToTwo, 5); in test()
Dreplace_copy_if.pass.cpp27 TEST_CONSTEXPR bool equalToTwo(int v) { return v == 2; } in equalToTwo() function
36 auto it = std::replace_copy_if(std::begin(ia), std::end(ia), std::begin(ib), equalToTwo, 5); in test_constexpr()
53 OutIter(ib), equalToTwo, 5); in test()