Searched defs:rhs (Results 76 - 100 of 610) sorted by relevance

1234567891011>>

/external/libcxx/test/std/experimental/string.view/string.view.comparison/
H A Dopgt.string_view.pointer.pass.cpp13 // bool operator>(const charT* lhs, basic_string_wiew<charT,traits> rhs);
15 // bool operator>(basic_string_wiew<charT,traits> lhs, const charT* rhs);
25 test(const typename S::value_type* lhs, const S& rhs, bool x, bool y) argument
27 assert((lhs > rhs) == x);
28 assert((rhs > lhs) == y);
H A Dopgt.string_view.string_view.pass.cpp14 // basic_string_view<charT,traits> rhs);
24 test(const S& lhs, const S& rhs, bool x, bool y) argument
26 assert((lhs > rhs) == x);
27 assert((rhs > lhs) == y);
H A Dople.string_view.pointer.pass.cpp13 // constexpr bool operator<=(const charT* lhs, basic_string_wiew<charT,traits> rhs);
15 // constexpr bool operator<=(basic_string_wiew<charT,traits> lhs, const charT* rhs);
25 test(const typename S::value_type* lhs, const S& rhs, bool x, bool y) argument
27 assert((lhs <= rhs) == x);
28 assert((rhs <= lhs) == y);
H A Dople.string_view.string_view.pass.cpp14 // basic_string_view<charT,traits> rhs);
24 test(const S& lhs, const S& rhs, bool x, bool y) argument
26 assert((lhs <= rhs) == x);
27 assert((rhs <= lhs) == y);
H A Doplt.string_view.pointer.pass.cpp13 // constexpr bool operator<(const charT* lhs, basic_string_wiew<charT,traits> rhs);
15 // constexpr bool operator<(basic_string_wiew<charT,traits> lhs, const charT* rhs);
25 test(const typename S::value_type* lhs, const S& rhs, bool x, bool y) argument
27 assert((lhs < rhs) == x);
28 assert((rhs < lhs) == y);
H A Doplt.string_view.string_view.pass.cpp14 // basic_string_view<charT,traits> rhs);
24 test(const S& lhs, const S& rhs, bool x, bool y) argument
26 assert((lhs < rhs) == x);
27 assert((rhs < lhs) == y);
H A Dopne.string_view.pointer.pass.cpp13 // constexpr bool operator!=(basic_string_view<charT,traits> lhs, const charT* rhs);
15 // constexpr bool operator!=(const charT* lhs, basic_string_view<charT,traits> rhs);
25 test(S lhs, const typename S::value_type* rhs, bool x) argument
27 assert((lhs != rhs) == x);
28 assert((rhs != lhs) == x);
H A Dopne.string_view.string_view.pass.cpp14 // const basic_string_view<charT,traits> rhs);
24 test(S lhs, S rhs, bool x) argument
26 assert((lhs != rhs) == x);
27 assert((rhs != lhs) == x);
/external/libcxx/test/std/numerics/complex.number/complex.ops/
H A Dcomplex_divide_complex.pass.cpp14 // operator/(const complex<T>& lhs, const complex<T>& rhs);
23 test(const std::complex<T>& lhs, const std::complex<T>& rhs, std::complex<T> x) argument
25 assert(lhs / rhs == x);
33 std::complex<T> rhs(1.5, 2.5);
35 test(lhs, rhs, x);
H A Dcomplex_times_complex.pass.cpp14 // operator*(const complex<T>& lhs, const complex<T>& rhs);
23 test(const std::complex<T>& lhs, const std::complex<T>& rhs, std::complex<T> x) argument
25 assert(lhs * rhs == x);
33 std::complex<T> rhs(1.5, 2.5);
35 test(lhs, rhs, x);
/external/libcxx/test/std/strings/basic.string/string.nonmembers/string_op+/
H A Dstring_string.pass.cpp15 // const basic_string<charT,traits,Allocator>& rhs);
20 // const basic_string<charT,traits,Allocator>& rhs);
25 // const basic_string<charT,traits,Allocator>&& rhs);
30 // const basic_string<charT,traits,Allocator>&& rhs);
40 test0(const S& lhs, const S& rhs, const S& x) argument
42 assert(lhs + rhs == x);
49 test1(S&& lhs, const S& rhs, const S& x) argument
51 assert(move(lhs) + rhs == x);
56 test2(const S& lhs, S&& rhs, const S& x) argument
58 assert(lhs + move(rhs)
63 test3(S&& lhs, S&& rhs, const S& x) argument
[all...]
/external/libcxx/test/std/strings/string.view/string.view.comparison/
H A Dopeq.string_view.pointer.pass.cpp13 // constexpr bool operator==(basic_string_view<charT,traits> lhs, const charT* rhs);
15 // constexpr bool operator==(const charT* lhs, basic_string_view<charT,traits> rhs);
25 test(S lhs, const typename S::value_type* rhs, bool x) argument
27 assert((lhs == rhs) == x);
28 assert((rhs == lhs) == x);
H A Dopeq.string_view.string_view.pass.cpp14 // const basic_string_view<charT,traits> rhs);
24 test(S lhs, S rhs, bool x) argument
26 assert((lhs == rhs) == x);
27 assert((rhs == lhs) == x);
H A Dopge.string_view.pointer.pass.cpp13 // constexpr bool operator>=(const charT* lhs, basic_string_wiew<charT,traits> rhs);
15 // constexpr bool operator>=(basic_string_wiew<charT,traits> lhs, const charT* rhs);
25 test(const typename S::value_type* lhs, const S& rhs, bool x, bool y) argument
27 assert((lhs >= rhs) == x);
28 assert((rhs >= lhs) == y);
H A Dopge.string_view.string_view.pass.cpp14 // basic_string_view<charT,traits> rhs);
24 test(const S& lhs, const S& rhs, bool x, bool y) argument
26 assert((lhs >= rhs) == x);
27 assert((rhs >= lhs) == y);
H A Dopgt.string_view.pointer.pass.cpp13 // bool operator>(const charT* lhs, basic_string_wiew<charT,traits> rhs);
15 // bool operator>(basic_string_wiew<charT,traits> lhs, const charT* rhs);
25 test(const typename S::value_type* lhs, const S& rhs, bool x, bool y) argument
27 assert((lhs > rhs) == x);
28 assert((rhs > lhs) == y);
H A Dopgt.string_view.string_view.pass.cpp14 // basic_string_view<charT,traits> rhs);
24 test(const S& lhs, const S& rhs, bool x, bool y) argument
26 assert((lhs > rhs) == x);
27 assert((rhs > lhs) == y);
H A Dople.string_view.pointer.pass.cpp13 // constexpr bool operator<=(const charT* lhs, basic_string_wiew<charT,traits> rhs);
15 // constexpr bool operator<=(basic_string_wiew<charT,traits> lhs, const charT* rhs);
25 test(const typename S::value_type* lhs, const S& rhs, bool x, bool y) argument
27 assert((lhs <= rhs) == x);
28 assert((rhs <= lhs) == y);
H A Dople.string_view.string_view.pass.cpp14 // basic_string_view<charT,traits> rhs);
24 test(const S& lhs, const S& rhs, bool x, bool y) argument
26 assert((lhs <= rhs) == x);
27 assert((rhs <= lhs) == y);
H A Doplt.string_view.pointer.pass.cpp13 // constexpr bool operator<(const charT* lhs, basic_string_wiew<charT,traits> rhs);
15 // constexpr bool operator<(basic_string_wiew<charT,traits> lhs, const charT* rhs);
25 test(const typename S::value_type* lhs, const S& rhs, bool x, bool y) argument
27 assert((lhs < rhs) == x);
28 assert((rhs < lhs) == y);
H A Doplt.string_view.string_view.pass.cpp14 // basic_string_view<charT,traits> rhs);
24 test(const S& lhs, const S& rhs, bool x, bool y) argument
26 assert((lhs < rhs) == x);
27 assert((rhs < lhs) == y);
H A Dopne.string_view.pointer.pass.cpp13 // constexpr bool operator!=(basic_string_view<charT,traits> lhs, const charT* rhs);
15 // constexpr bool operator!=(const charT* lhs, basic_string_view<charT,traits> rhs);
25 test(S lhs, const typename S::value_type* rhs, bool x) argument
27 assert((lhs != rhs) == x);
28 assert((rhs != lhs) == x);
H A Dopne.string_view.string_view.pass.cpp14 // const basic_string_view<charT,traits> rhs);
24 test(S lhs, S rhs, bool x) argument
26 assert((lhs != rhs) == x);
27 assert((rhs != lhs) == x);
/external/libcxx/test/std/utilities/any/any.class/any.assign/
H A Dcopy.pass.cpp36 any const rhs(RHS(2));
42 lhs = rhs;
49 assertContains<RHS>(rhs, 2);
61 any const rhs(LHS(42));
66 lhs = rhs;
72 assertContains<LHS>(rhs, 42);
78 any const rhs; local
83 lhs = rhs;
89 assertEmpty(rhs);
136 [](any& lhs, any const& rhs) {
[all...]
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
H A Dcopy.pass.cpp13 // optional<T>& operator=(const optional<T>& rhs);
40 const optional<Tp> rhs; local
41 lhs = rhs;
42 return !lhs.has_value() && !rhs.has_value();
47 const optional<Tp> rhs(101);
48 lhs = rhs;
49 return lhs.has_value() && rhs.has_value() && *lhs == *rhs;

Completed in 1556 milliseconds

1234567891011>>