Searched refs:is_odd (Results 1 – 5 of 5) sorted by relevance
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.partitions/ |
D | partition.pass.cpp | 26 struct is_odd struct 38 Iter r = std::partition(Iter(ia), Iter(ia + sa), is_odd()); in test() argument 41 assert(is_odd()(*i)); in test() 43 assert(!is_odd()(*i)); in test() 45 r = std::partition(Iter(ia), Iter(ia), is_odd()); in test() 50 r = std::partition(Iter(ia), Iter(ia+sa), is_odd()); in test() 55 r = std::partition(Iter(ia), Iter(ia+sa), is_odd()); in test() 61 r = std::partition(Iter(ia), Iter(ia+sa), is_odd()); in test() 64 assert(is_odd()(*i)); in test() 66 assert(!is_odd()(*i)); in test() [all …]
|
D | partition_point.pass.cpp | 21 struct is_odd struct 32 is_odd()) == forward_iterator<const int*>(ia)); in main() argument 38 is_odd()) == forward_iterator<const int*>(ia + 1)); in main() 44 is_odd()) == forward_iterator<const int*>(ia + 2)); in main() 50 is_odd()) == forward_iterator<const int*>(ia + 3)); in main() 56 is_odd()) == forward_iterator<const int*>(ia + 4)); in main() 62 is_odd()) == forward_iterator<const int*>(ia + 5)); in main() 68 is_odd()) == forward_iterator<const int*>(ia + 6)); in main() 74 is_odd()) == forward_iterator<const int*>(ia)); in main()
|
D | is_partitioned.pass.cpp | 21 struct is_odd struct 32 is_odd())); in main() argument 38 is_odd())); in main() 44 is_odd())); in main() 50 is_odd())); in main() 56 is_odd())); in main()
|
D | partition_copy.pass.cpp | 24 struct is_odd struct 38 output_iterator<int*>(r1), r2, is_odd()); in main() argument
|
D | stable_partition.pass.cpp | 26 struct is_odd struct
|