Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/support/
H A Dcounting_predicates.h57 class counting_predicate {
62 constexpr counting_predicate() = default;
63 …constexpr counting_predicate(Predicate pred, int& count) : pred_(std::move(pred)), count_(&count) … in counting_predicate() function
79 counting_predicate(Predicate pred, int& count) -> counting_predicate<Predicate>;
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/
H A Dranges_replace_copy_if.pass.cpp220 counting_predicate(FalsePredicate{}, pred_count), 0, counting_projection(proj_count)); in test()
232 counting_predicate(FalsePredicate{}, pred_count), 0, counting_projection(proj_count)); in test()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/
H A Dranges_unique.pass.cpp219 counting_predicate{std::ranges::equal_to{}, numberOfComp}, in test()
232 … in, counting_predicate{std::ranges::equal_to{}, numberOfComp}, counting_projection{numberOfProj}); in test()
H A Dranges_unique_copy.pass.cpp417 counting_predicate{std::ranges::equal_to{}, numberOfComp}, in test()
433 counting_predicate{std::ranges::equal_to{}, numberOfComp}, in test()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/
H A Dranges_remove_copy_if.pass.cpp269 …in.begin(), in.end(), out.begin(), counting_predicate(pred, numberOfPred), counting_projection(num… in test()
283 … in, out.begin(), counting_predicate(pred, numberOfPred), counting_projection(numberOfProj)); in test()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.merge/
H A Dranges_inplace_merge.pass.cpp307 counting_predicate{std::ranges::less{}, numberOfComp}, in test()
325 counting_predicate{std::ranges::less{}, numberOfComp}, in test()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/
H A Dranges.is_permutation.pass.cpp205 counting_predicate pred(std::ranges::equal_to{}, predCount); in test()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/
H A Dranges_partition_copy.pass.cpp278 counting_predicate pred(is_negative, pred_count); in test()