| /llvm-project/libcxx/test/std/containers/sequences/vector/ |
| H A D | compare.pass.cpp | 65 const std::vector<LessAndEqComp> c1, c2; in test() 69 const std::vector<LessAndEqComp> c1(1, LessAndEqComp(1)); in test() 70 const std::vector<LessAndEqComp> c2(1, LessAndEqComp(1)); in test() 74 const std::vector<LessAndEqComp> c1(1, LessAndEqComp(1)); in test() 75 const std::vector<LessAndEqComp> c2(1, LessAndEqComp(2)); in test() 79 const std::vector<LessAndEqComp> c1; in test() 80 const std::vector<LessAndEqComp> c2(1, LessAndEqComp(2)); in test() 84 LessAndEqComp items1[3] = {LessAndEqComp(1), LessAndEqComp(2), LessAndEqComp(2)}; in test() 85 LessAndEqComp items2[3] = {LessAndEqComp(1), LessAndEqComp(2), LessAndEqComp(1)}; in test() 86 const std::vector<LessAndEqComp> c1(items1, items1 + 3); in test() [all …]
|
| /llvm-project/libcxx/test/std/containers/sequences/deque/ |
| H A D | compare.pass.cpp | 79 const std::deque<LessAndEqComp> d1, d2; in main() 83 const std::deque<LessAndEqComp> d1(1, LessAndEqComp(1)); in main() 84 const std::deque<LessAndEqComp> d2(1, LessAndEqComp(1)); in main() 88 LessAndEqComp items[3] = {LessAndEqComp(1), LessAndEqComp(2), LessAndEqComp(3)}; in main() 89 const std::deque<LessAndEqComp> d1(items, items + 3); in main() 90 const std::deque<LessAndEqComp> d2(items, items + 3); in main() 94 const std::deque<LessAndEqComp> d1(1, LessAndEqComp(1)); in main() 95 const std::deque<LessAndEqComp> d2; in main() 99 const std::deque<LessAndEqComp> d1(1, LessAndEqComp(1)); in main() 100 const std::deque<LessAndEqComp> d2(1, LessAndEqComp(2)); in main() [all …]
|
| /llvm-project/libcxx/test/std/containers/sequences/list/ |
| H A D | compare.pass.cpp | 78 const std::list<LessAndEqComp> l1, l2; in main() 82 const std::list<LessAndEqComp> l1(1, LessAndEqComp(1)); in main() 83 const std::list<LessAndEqComp> l2(1, LessAndEqComp(1)); in main() 87 LessAndEqComp items[3] = {LessAndEqComp(1), LessAndEqComp(2), LessAndEqComp(3)}; in main() 88 const std::list<LessAndEqComp> l1(items, items + 3); in main() 89 const std::list<LessAndEqComp> l2(items, items + 3); in main() 93 const std::list<LessAndEqComp> l1(1, LessAndEqComp(1)); in main() 94 const std::list<LessAndEqComp> l2; in main() 98 const std::list<LessAndEqComp> l1(1, LessAndEqComp(1)); in main() 99 const std::list<LessAndEqComp> l2(1, LessAndEqComp(2)); in main() [all …]
|
| /llvm-project/libcxx/test/std/containers/sequences/array/ |
| H A D | compare.pass.cpp | 51 AssertComparisonsReturnBool<std::array<LessAndEqComp, 3> >(); in tests() 53 typedef std::array<LessAndEqComp, 3> C; in tests() 54 const C c1 = {LessAndEqComp(1), LessAndEqComp(2), LessAndEqComp(3)}; in tests() 55 const C c2 = {LessAndEqComp(1), LessAndEqComp(2), LessAndEqComp(3)}; in tests() 56 const C c3 = {LessAndEqComp(3), LessAndEqComp(2), LessAndEqComp(1)}; in tests() 57 const C c4 = {LessAndEqComp(1), LessAndEqComp(2), LessAndEqComp(1)}; in tests() 64 typedef std::array<LessAndEqComp, 0> C; in tests()
|
| H A D | compare.three_way.pass.cpp | 78 test_sequence_container_array_spaceship_with_type<LessAndEqComp, std::weak_ordering>(); in test_sequence_container_array_spaceship()
|
| /llvm-project/libcxx/test/support/ |
| H A D | test_comparisons.h | 228 struct LessAndEqComp { struct 231 TEST_CONSTEXPR_CXX14 LessAndEqComp(int v) : value(v) {} in LessAndEqComp() argument 233 friend TEST_CONSTEXPR_CXX14 bool operator<(const LessAndEqComp& lhs, const LessAndEqComp& rhs) { 237 friend TEST_CONSTEXPR_CXX14 bool operator==(const LessAndEqComp& lhs, const LessAndEqComp& rhs) {
|
| H A D | test_container_comparisons.h | 78 test_sequence_container_spaceship_with_type<Container, LessAndEqComp, std::weak_ordering>(); in test_sequence_container_spaceship() 172 …test_sequence_container_adaptor_spaceship_with_type<ContainerAdaptor, Container, LessAndEqComp, st… in test_sequence_container_adaptor_spaceship() 306 …test_ordered_map_container_spaceship_with_type<Container, int, LessAndEqComp, std::weak_ordering>(… in test_ordered_map_container_spaceship() 409 test_ordered_set_spaceship_with_type<Container, LessAndEqComp, std::weak_ordering>(std::less{}); in test_ordered_set_container_spaceship()
|
| /llvm-project/libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/ |
| H A D | compare.three_way.refwrap.const_ref.pass.cpp | 79 test<LessAndEqComp, std::weak_ordering>(); in test()
|
| H A D | compare.three_way.refwrap.refwrap.pass.cpp | 83 test<LessAndEqComp, std::weak_ordering>(); in test()
|
| H A D | compare.three_way.refwrap.refwrap_const.pass.cpp | 85 test<LessAndEqComp, std::weak_ordering>(); in test()
|