Home
last modified time | relevance | path

Searched refs:proj2Count (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/
H A Dranges.is_permutation.pass.cpp200 int proj2Count = 0; in test() local
202 predCount = proj1Count = proj2Count = 0; in test()
207 counting_projection<> proj2(proj2Count); in test()
224 assert(proj2Count == 0); in test()
234 assert(proj2Count == 0); in test()
252 assert(proj2Count == expected); in test()
262 assert(proj2Count == expected); in test()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.lex.comparison/
H A Dranges.lexicographical_compare.pass.cpp210 auto proj2Count = 0; in test() local
211 auto proj2 = [&](int i) { ++proj2Count; return i; }; in test()
217 assert(proj2Count == 10); in test()
224 auto proj2Count = 0; in test() local
225 auto proj2 = [&](int i) { ++proj2Count; return i; }; in test()
231 assert(proj2Count == 10); in test()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/
H A Dranges.find_first_of.pass.cpp219 int proj2Count = 0; in test() local
220 auto proj2Counter = [&](int i) { ++proj2Count; return i; }; in test()
226 assert(proj2Count <= 8); in test()
233 int proj2Count = 0; in test() local
234 auto proj2Counter = [&](int i) { ++proj2Count; return i; }; in test()
239 assert(proj2Count == 8); in test()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/
H A Dranges.transform.pass.cpp409 int proj2Count = 0; in test_iterators() local
412 auto proj2 = [&](int) { ++proj2Count; return 0; }; in test_iterators()
419 assert(proj2Count == 4); in test_iterators()
425 int proj2Count = 0; in test_iterators() local
428 auto proj2 = [&](int) { ++proj2Count; return 0; }; in test_iterators()
437 assert(proj2Count == 4); in test_iterators()