Home
last modified time | relevance | path

Searched refs:projectionCount (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.adjacent.find/
H A Dranges.adjacent_find.pass.cpp111 auto projectionCount = 0; in test() local
112 auto proj = [&](int i) { ++projectionCount; return i; }; in test()
117 assert(projectionCount == 8); in test()
122 auto projectionCount = 0; in test() local
123 auto proj = [&](int i) { ++projectionCount; return i; }; in test()
128 assert(projectionCount == 8); in test()
136 auto projectionCount = 0; in test() local
137 auto proj = [&](int i) { ++projectionCount; return i; }; in test()
142 assert(projectionCount == 6); in test()
147 auto projectionCount = 0; in test() local
[all …]
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/
H A Dranges.replace_if.pass.cpp159 auto projectionCount = 0; in test() local
160 auto proj = [&](int i) { ++projectionCount; return i; }; in test()
165 assert(projectionCount == 5); in test()
170 auto projectionCount = 0; in test() local
171 auto proj = [&](int i) { ++projectionCount; return i; }; in test()
176 assert(projectionCount == 5); in test()
H A Dranges.replace.pass.cpp175 auto projectionCount = 0; in test() local
176 auto proj = [&](int i) { ++projectionCount; return i; }; in test()
180 assert(projectionCount == 5); in test()
183 auto projectionCount = 0; in test() local
184 auto proj = [&](int i) { ++projectionCount; return i; }; in test()
188 assert(projectionCount == 5); in test()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.all_of/
H A Dranges.all_of.pass.cpp93 int projectionCount = 0; in test_iterators() local
95 auto proj = [&](int i) { ++projectionCount; return i; }; in test_iterators()
99 assert(projectionCount == 4); in test_iterators()
103 int projectionCount = 0; in test_iterators() local
105 auto proj = [&](int i) { ++projectionCount; return i; }; in test_iterators()
110 assert(projectionCount == 4); in test_iterators()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/
H A Dranges.none_of.pass.cpp93 int projectionCount = 0; in test_iterators() local
95 auto proj = [&](int i) { ++projectionCount; return i; }; in test_iterators()
99 assert(projectionCount == 4); in test_iterators()
103 int projectionCount = 0; in test_iterators() local
105 auto proj = [&](int i) { ++projectionCount; return i; }; in test_iterators()
110 assert(projectionCount == 4); in test_iterators()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.any_of/
H A Dranges.any_of.pass.cpp93 int projectionCount = 0; in test_iterators() local
95 auto proj = [&](int i) { ++projectionCount; return i; }; in test_iterators()
99 assert(projectionCount == 4); in test_iterators()
103 int projectionCount = 0; in test_iterators() local
105 auto proj = [&](int i) { ++projectionCount; return i; }; in test_iterators()
110 assert(projectionCount == 4); in test_iterators()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/
H A Dranges.copy_if.pass.cpp188 int projectionCount = 0; in test() local
190 auto proj = [&](int i) { ++projectionCount; return i; }; in test()
196 assert(projectionCount == 5); in test()
200 int projectionCount = 0; in test() local
202 auto proj = [&](int i) { ++projectionCount; return i; }; in test()
208 assert(projectionCount == 5); in test()