Searched refs:counting_predicate (Results 1 – 8 of 8) sorted by relevance
| /llvm-project/libcxx/test/support/ |
| H A D | counting_predicates.h | 59 class counting_predicate { 64 constexpr counting_predicate() = default; 65 …constexpr counting_predicate(Predicate pred, int& count) : pred_(std::move(pred)), count_(&count) … in counting_predicate() function 81 counting_predicate(Predicate pred, int& count) -> counting_predicate<Predicate>;
|
| /llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/ |
| H A D | ranges_replace_copy_if.pass.cpp | 219 counting_predicate(FalsePredicate{}, pred_count), 0, counting_projection(proj_count)); in test() 231 counting_predicate(FalsePredicate{}, pred_count), 0, counting_projection(proj_count)); in test()
|
| /llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/ |
| H A D | ranges_unique.pass.cpp | 218 counting_predicate{std::ranges::equal_to{}, numberOfComp}, in test() 231 … in, counting_predicate{std::ranges::equal_to{}, numberOfComp}, counting_projection{numberOfProj}); in test()
|
| H A D | ranges_unique_copy.pass.cpp | 416 counting_predicate{std::ranges::equal_to{}, numberOfComp}, in test() 432 counting_predicate{std::ranges::equal_to{}, numberOfComp}, in test()
|
| /llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/ |
| H A D | ranges_remove_copy_if.pass.cpp | 268 …in.begin(), in.end(), out.begin(), counting_predicate(pred, numberOfPred), counting_projection(num… in test() 282 … in, out.begin(), counting_predicate(pred, numberOfPred), counting_projection(numberOfProj)); in test()
|
| /llvm-project/libcxx/test/std/algorithms/alg.sorting/alg.merge/ |
| H A D | ranges_inplace_merge.pass.cpp | 306 counting_predicate{std::ranges::less{}, numberOfComp}, in test() 324 counting_predicate{std::ranges::less{}, numberOfComp}, in test()
|
| /llvm-project/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/ |
| H A D | ranges.is_permutation.pass.cpp | 204 counting_predicate pred(std::ranges::equal_to{}, predCount); in test()
|
| /llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ |
| H A D | ranges_partition_copy.pass.cpp | 277 counting_predicate pred(is_negative, pred_count); in test()
|