Home
last modified time | relevance | path

Searched refs:counting_predicate (Results 1 – 8 of 8) sorted by relevance

/llvm-project/libcxx/test/support/
H A Dcounting_predicates.h59 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 Dranges_replace_copy_if.pass.cpp219 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 Dranges_unique.pass.cpp218 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 Dranges_unique_copy.pass.cpp416 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 Dranges_remove_copy_if.pass.cpp268 …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 Dranges_inplace_merge.pass.cpp306 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 Dranges.is_permutation.pass.cpp204 counting_predicate pred(std::ranges::equal_to{}, predCount); in test()
/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/
H A Dranges_partition_copy.pass.cpp277 counting_predicate pred(is_negative, pred_count); in test()