Searched refs:equalToTwo (Results 1 – 3 of 3) sorted by relevance
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/ |
D | remove_copy_if.pass.cpp | 25 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/ |
D | replace_if.pass.cpp | 26 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()
|
D | replace_copy_if.pass.cpp | 27 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()
|