Home
last modified time | relevance | path

Searched refs:proj1Count (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.cpp199 int proj1Count = 0; in test() local
202 predCount = proj1Count = proj2Count = 0; in test()
206 counting_projection<> proj1(proj1Count); in test()
223 assert(proj1Count == 0); in test()
233 assert(proj1Count == 0); in test()
251 assert(proj1Count == expected); in test()
261 assert(proj1Count == expected); in test()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.lex.comparison/
H A Dranges.lexicographical_compare.pass.cpp208 auto proj1Count = 0; in test() local
209 auto proj1 = [&](int i) { ++proj1Count; return i; }; in test()
216 assert(proj1Count == 10); in test()
222 auto proj1Count = 0; in test() local
223 auto proj1 = [&](int i) { ++proj1Count; return i; }; in test()
230 assert(proj1Count == 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.cpp217 int proj1Count = 0; in test() local
218 auto proj1Counter = [&](int i) { ++proj1Count; return i; }; in test()
225 assert(proj1Count <= 8); in test()
231 int proj1Count = 0; in test() local
232 auto proj1Counter = [&](int i) { ++proj1Count; return i; }; in test()
238 assert(proj1Count == 8); in test()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/
H A Dranges.transform.pass.cpp408 int proj1Count = 0; in test_iterators() local
411 auto proj1 = [&](int) { ++proj1Count; return 0; }; in test_iterators()
418 assert(proj1Count == 4); in test_iterators()
424 int proj1Count = 0; in test_iterators() local
427 auto proj1 = [&](int) { ++proj1Count; return 0; }; in test_iterators()
436 assert(proj1Count == 4); in test_iterators()