Home
last modified time | relevance | path

Searched refs:LessAndEqComp (Results 1 – 10 of 10) sorted by relevance

/llvm-project/libcxx/test/std/containers/sequences/vector/
H A Dcompare.pass.cpp65 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 Dcompare.pass.cpp79 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 Dcompare.pass.cpp78 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 Dcompare.pass.cpp51 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 Dcompare.three_way.pass.cpp78 test_sequence_container_array_spaceship_with_type<LessAndEqComp, std::weak_ordering>(); in test_sequence_container_array_spaceship()
/llvm-project/libcxx/test/support/
H A Dtest_comparisons.h228 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 Dtest_container_comparisons.h78 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 Dcompare.three_way.refwrap.const_ref.pass.cpp79 test<LessAndEqComp, std::weak_ordering>(); in test()
H A Dcompare.three_way.refwrap.refwrap.pass.cpp83 test<LessAndEqComp, std::weak_ordering>(); in test()
H A Dcompare.three_way.refwrap.refwrap_const.pass.cpp85 test<LessAndEqComp, std::weak_ordering>(); in test()