Home
last modified time | relevance | path

Searched refs:rhs (Results 1 – 25 of 109) sorted by relevance

12345

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.ops/
Dcomplex_not_equals_scalar.pass.cpp26 constexpr T rhs(-2.5); in test_constexpr() local
27 static_assert(lhs != rhs, ""); in test_constexpr()
31 constexpr T rhs(-2.5); in test_constexpr() local
32 static_assert(lhs != rhs, ""); in test_constexpr()
36 constexpr T rhs(1.5); in test_constexpr() local
37 static_assert(lhs != rhs, ""); in test_constexpr()
41 constexpr T rhs(1.5); in test_constexpr() local
42 static_assert( !(lhs != rhs), ""); in test_constexpr()
53 T rhs(-2.5); in test() local
54 assert(lhs != rhs); in test()
[all …]
Dcomplex_equals_scalar.pass.cpp26 constexpr T rhs(-2.5); in test_constexpr() local
27 static_assert(!(lhs == rhs), ""); in test_constexpr()
31 constexpr T rhs(-2.5); in test_constexpr() local
32 static_assert(!(lhs == rhs), ""); in test_constexpr()
36 constexpr T rhs(1.5); in test_constexpr() local
37 static_assert(!(lhs == rhs), ""); in test_constexpr()
41 constexpr T rhs(1.5); in test_constexpr() local
42 static_assert( (lhs == rhs), ""); in test_constexpr()
53 T rhs(-2.5); in test() local
54 assert(!(lhs == rhs)); in test()
[all …]
Dscalar_not_equals_complex.pass.cpp26 constexpr std::complex<T> rhs(1.5, 2.5); in test_constexpr() local
27 static_assert (lhs != rhs, ""); in test_constexpr()
31 constexpr std::complex<T> rhs(1.5, 0); in test_constexpr() local
32 static_assert (lhs != rhs, ""); in test_constexpr()
36 constexpr std::complex<T> rhs(1.5, 2.5); in test_constexpr() local
37 static_assert (lhs != rhs, ""); in test_constexpr()
41 constexpr std::complex<T> rhs(1.5, 0); in test_constexpr() local
42 static_assert (!(lhs != rhs), ""); in test_constexpr()
53 std::complex<T> rhs(1.5, 2.5); in test() local
54 assert (lhs != rhs); in test()
[all …]
Dscalar_equals_complex.pass.cpp26 constexpr std::complex<T> rhs(1.5, 2.5); in test_constexpr() local
27 static_assert(!(lhs == rhs), ""); in test_constexpr()
31 constexpr std::complex<T> rhs(1.5, 0); in test_constexpr() local
32 static_assert(!(lhs == rhs), ""); in test_constexpr()
36 constexpr std::complex<T> rhs(1.5, 2.5); in test_constexpr() local
37 static_assert(!(lhs == rhs), ""); in test_constexpr()
41 constexpr std::complex<T> rhs(1.5, 0); in test_constexpr() local
42 static_assert(lhs == rhs, ""); in test_constexpr()
53 std::complex<T> rhs(1.5, 2.5); in test() local
54 assert(!(lhs == rhs)); in test()
[all …]
Dcomplex_equals_complex.pass.cpp26 constexpr std::complex<T> rhs(1.5, -2.5); in test_constexpr() local
27 static_assert( !(lhs == rhs), ""); in test_constexpr()
31 constexpr std::complex<T> rhs(1.5, 2.5); in test_constexpr() local
32 static_assert(lhs == rhs, ""); in test_constexpr()
43 std::complex<T> rhs(1.5, -2.5); in test() local
44 assert( !(lhs == rhs)); in test()
48 std::complex<T> rhs(1.5, 2.5); in test() local
49 assert(lhs == rhs); in test()
Dcomplex_not_equals_complex.pass.cpp26 constexpr std::complex<T> rhs(1.5, -2.5); in test_constexpr() local
27 static_assert(lhs != rhs, ""); in test_constexpr()
31 constexpr std::complex<T> rhs(1.5, 2.5); in test_constexpr() local
32 static_assert(!(lhs != rhs), "" ); in test_constexpr()
44 std::complex<T> rhs(1.5, -2.5); in test() local
45 assert(lhs != rhs); in test()
49 std::complex<T> rhs(1.5, 2.5); in test() local
50 assert(!(lhs != rhs)); in test()
Dcomplex_minus_scalar.pass.cpp21 test(const std::complex<T>& lhs, const T& rhs, std::complex<T> x) in test() argument
23 assert(lhs - rhs == x); in test()
32 T rhs(3.5); in test() local
34 test(lhs, rhs, x); in test()
38 T rhs(-3.5); in test() local
40 test(lhs, rhs, x); in test()
Dscalar_plus_complex.pass.cpp21 test(const T& lhs, const std::complex<T>& rhs, std::complex<T> x) in test() argument
23 assert(lhs + rhs == x); in test()
32 std::complex<T> rhs(3.5, 4.5); in test() local
34 test(lhs, rhs, x); in test()
38 std::complex<T> rhs(-3.5, 4.5); in test() local
40 test(lhs, rhs, x); in test()
Dscalar_minus_complex.pass.cpp21 test(const T& lhs, const std::complex<T>& rhs, std::complex<T> x) in test() argument
23 assert(lhs - rhs == x); in test()
32 std::complex<T> rhs(3.5, 4.5); in test() local
34 test(lhs, rhs, x); in test()
38 std::complex<T> rhs(-3.5, 4.5); in test() local
40 test(lhs, rhs, x); in test()
Dcomplex_plus_scalar.pass.cpp21 test(const std::complex<T>& lhs, const T& rhs, std::complex<T> x) in test() argument
23 assert(lhs + rhs == x); in test()
32 T rhs(3.5); in test() local
34 test(lhs, rhs, x); in test()
38 T rhs(-3.5); in test() local
40 test(lhs, rhs, x); in test()
Dcomplex_plus_complex.pass.cpp21 test(const std::complex<T>& lhs, const std::complex<T>& rhs, std::complex<T> x) in test() argument
23 assert(lhs + rhs == x); in test()
32 std::complex<T> rhs(3.5, 4.5); in test() local
34 test(lhs, rhs, x); in test()
38 std::complex<T> rhs(-3.5, 4.5); in test() local
40 test(lhs, rhs, x); in test()
Dcomplex_minus_complex.pass.cpp21 test(const std::complex<T>& lhs, const std::complex<T>& rhs, std::complex<T> x) in test() argument
23 assert(lhs - rhs == x); in test()
32 std::complex<T> rhs(3.5, 4.5); in test() local
34 test(lhs, rhs, x); in test()
38 std::complex<T> rhs(-3.5, 4.5); in test() local
40 test(lhs, rhs, x); in test()
Dcomplex_times_scalar.pass.cpp21 test(const std::complex<T>& lhs, const T& rhs, std::complex<T> x) in test() argument
23 assert(lhs * rhs == x); in test()
31 T rhs(1.5); in test() local
33 test(lhs, rhs, x); in test()
Dcomplex_divide_scalar.pass.cpp21 test(const std::complex<T>& lhs, const T& rhs, std::complex<T> x) in test() argument
23 assert(lhs / rhs == x); in test()
31 T rhs(2); in test() local
33 test(lhs, rhs, x); in test()
Dscalar_times_complex.pass.cpp21 test(const T& lhs, const std::complex<T>& rhs, std::complex<T> x) in test() argument
23 assert(lhs * rhs == x); in test()
31 std::complex<T> rhs(1.5, 2.5); in test() local
33 test(lhs, rhs, x); in test()
Dscalar_divide_complex.pass.cpp21 test(const T& lhs, const std::complex<T>& rhs, std::complex<T> x) in test() argument
23 assert(lhs / rhs == x); in test()
31 std::complex<T> rhs(1.5, 2.5); in test() local
33 test(lhs, rhs, x); in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.ctor/
Dcopy.pass.cpp24 test(const optional<T>& rhs, bool is_going_to_throw = false) in test() argument
26 bool rhs_engaged = static_cast<bool>(rhs); in test()
29 optional<T> lhs = rhs; in test()
33 assert(*lhs == *rhs); in test()
85 optional<T> rhs; in main() local
86 test(rhs); in main()
90 optional<T> rhs(3); in main() local
91 test(rhs); in main()
95 optional<T> rhs; in main() local
96 test(rhs); in main()
[all …]
Dmove.pass.cpp24 test(optional<T>& rhs, bool is_going_to_throw = false) in test() argument
28 bool rhs_engaged = static_cast<bool>(rhs); in test()
31 optional<T> lhs = std::move(rhs); in test()
85 optional<T> rhs; in main() local
86 test(rhs); in main()
90 optional<T> rhs(3); in main() local
91 test(rhs); in main()
95 optional<T> rhs; in main() local
96 test(rhs); in main()
100 optional<T> rhs(X(3)); in main() local
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dios.cpp305 ios_base::copyfmt(const ios_base& rhs) in copyfmt() argument
313 if (__event_cap_ < rhs.__event_size_) in copyfmt()
315 size_t newesize = sizeof(event_callback) * rhs.__event_size_; in copyfmt()
322 size_t newisize = sizeof(int) * rhs.__event_size_; in copyfmt()
329 if (__iarray_cap_ < rhs.__iarray_size_) in copyfmt()
331 size_t newsize = sizeof(long) * rhs.__iarray_size_; in copyfmt()
338 if (__parray_cap_ < rhs.__parray_size_) in copyfmt()
340 size_t newsize = sizeof(void*) * rhs.__parray_size_; in copyfmt()
348 __fmtflags_ = rhs.__fmtflags_; in copyfmt()
349 __precision_ = rhs.__precision_; in copyfmt()
[all …]
/ndk/sources/cxx-stl/gabi++/src/
Dtype_info.cc48 type_info::operator==(const type_info& rhs) const in operator ==()
53 return strcmp(this->__type_name, rhs.__type_name) == 0; in operator ==()
55 return this == &rhs; in operator ==()
60 type_info::operator!=(const type_info& rhs) const in operator !=()
62 return !this->operator==(rhs); in operator !=()
66 type_info::before(const type_info& rhs) const in before()
71 return strcmp(this->__type_name, rhs.__type_name) < 0; in before()
73 return this < &rhs; in before()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/support/
Dprivate_constructor.hpp24 …< ( const PrivateConstructor &lhs, const PrivateConstructor &rhs ) { return lhs.get() < rhs.get();… in operator <() argument
26 bool operator < ( const PrivateConstructor &lhs, int rhs ) { return lhs.get() < rhs; } in operator <() argument
27 bool operator < ( int lhs, const PrivateConstructor &rhs ) { return lhs < rhs.get(); } in operator <() argument
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/detail/
Dsp_typeinfo.hpp46 bool operator==( sp_typeinfo const& rhs ) const in operator ==()
48 return this == &rhs; in operator ==()
51 bool operator!=( sp_typeinfo const& rhs ) const in operator !=()
53 return this != &rhs; in operator !=()
56 bool before( sp_typeinfo const& rhs ) const in before()
58 return std::less< sp_typeinfo const* >()( this, &rhs ); in before()
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
Dgtest-filepath.h62 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } in FilePath() argument
68 FilePath& operator=(const FilePath& rhs) {
69 Set(rhs);
73 void Set(const FilePath& rhs) { in Set() argument
74 pathname_ = rhs.pathname_; in Set()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/
Dcallback.hpp106 callback0( callback0 const& rhs ) : m_impl( rhs.m_impl ) {} in callback0() argument
113 void operator=( callback0 const& rhs ) { m_impl = rhs.m_impl; } in operator =() argument
164 callback1( callback1 const& rhs ) : m_impl( rhs.m_impl ) {} in callback1() argument
171 void operator=( callback1 const& rhs ) { m_impl = rhs.m_impl; } in operator =() argument
222 callback2( callback2 const& rhs ) : m_impl( rhs.m_impl ) {} in callback2() argument
228 void operator=( callback2 const& rhs ) { m_impl = rhs.m_impl; } in operator =() argument
279 callback3( callback3 const& rhs ) : m_impl( rhs.m_impl ) {} in callback3() argument
286 void operator=( callback3 const& rhs ) { m_impl = rhs.m_impl; } in operator =() argument
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.modifiers/
Dpush_front_exception_safety.pass.cpp26 bool equal(const CMyClass &rhs) const in equal()
27 { return fTag == rhs.fTag && fMagicValue == rhs.fMagicValue; } in equal()
64 bool operator==(const CMyClass &lhs, const CMyClass &rhs) { return lhs.equal(rhs); } in operator ==() argument

12345