Home
last modified time | relevance | path

Searched refs:predicate_count (Results 1 – 3 of 3) sorted by relevance

/llvm-project/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/
H A Dranges.find_if.pass.cpp174 int predicate_count = 0; in test() local
177 [&](int i) { ++predicate_count; return i == 2; }, in test()
181 assert(predicate_count == 2); in test()
186 int predicate_count = 0; in test() local
189 [&](int i) { ++predicate_count; return i == 2; }, in test()
193 assert(predicate_count == 2); in test()
H A Dranges.find_if_not.pass.cpp169 int predicate_count = 0; in test() local
172 [&](int i) { ++predicate_count; return i != 2; }, in test()
176 assert(predicate_count == 2); in test()
181 int predicate_count = 0; in test() local
184 [&](int i) { ++predicate_count; return i != 2; }, in test()
188 assert(predicate_count == 2); in test()
/llvm-project/libcxx/test/std/algorithms/alg.nonmodifying/alg.count/
H A Dranges.count_if.pass.cpp206 int predicate_count = 0; in test() local
209 [&](int i) { ++predicate_count; return i == 2; }, in test()
212 assert(predicate_count == 4); in test()
217 int predicate_count = 0; in test() local
220 [&](int i) { ++predicate_count; return i == 2; }, in test()
223 assert(predicate_count == 4); in test()