Searched defs:lhs (Results 1 - 25 of 69) sorted by relevance

123

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.ops/
H A Dcomplex_divide_scalar.pass.cpp14 // operator/(const complex<T>& lhs, const T& rhs);
21 test(const std::complex<T>& lhs, const T& rhs, std::complex<T> x) argument
23 assert(lhs / rhs == x);
30 std::complex<T> lhs(-4.0, 7.5);
33 test(lhs, rhs, x);
H A Dcomplex_minus_complex.pass.cpp14 // operator-(const complex<T>& lhs, const complex<T>& rhs);
21 test(const std::complex<T>& lhs, const std::complex<T>& rhs, std::complex<T> x) argument
23 assert(lhs - rhs == x);
31 std::complex<T> lhs(1.5, 2.5);
34 test(lhs, rhs, x);
37 std::complex<T> lhs(1.5, -2.5);
40 test(lhs, rhs, x);
H A Dcomplex_minus_scalar.pass.cpp14 // operator-(const complex<T>& lhs, const T& rhs);
21 test(const std::complex<T>& lhs, const T& rhs, std::complex<T> x) argument
23 assert(lhs - rhs == x);
31 std::complex<T> lhs(1.5, 2.5);
34 test(lhs, rhs, x);
37 std::complex<T> lhs(1.5, -2.5);
40 test(lhs, rhs, x);
H A Dcomplex_plus_complex.pass.cpp14 // operator+(const complex<T>& lhs, const complex<T>& rhs);
21 test(const std::complex<T>& lhs, const std::complex<T>& rhs, std::complex<T> x) argument
23 assert(lhs + rhs == x);
31 std::complex<T> lhs(1.5, 2.5);
34 test(lhs, rhs, x);
37 std::complex<T> lhs(1.5, -2.5);
40 test(lhs, rhs, x);
H A Dcomplex_plus_scalar.pass.cpp14 // operator+(const complex<T>& lhs, const T& rhs);
21 test(const std::complex<T>& lhs, const T& rhs, std::complex<T> x) argument
23 assert(lhs + rhs == x);
31 std::complex<T> lhs(1.5, 2.5);
34 test(lhs, rhs, x);
37 std::complex<T> lhs(1.5, -2.5);
40 test(lhs, rhs, x);
H A Dcomplex_times_scalar.pass.cpp14 // operator*(const complex<T>& lhs, const T& rhs);
21 test(const std::complex<T>& lhs, const T& rhs, std::complex<T> x) argument
23 assert(lhs * rhs == x);
30 std::complex<T> lhs(1.5, 2.5);
33 test(lhs, rhs, x);
H A Dscalar_divide_complex.pass.cpp14 // operator/(const T& lhs, const complex<T>& rhs);
21 test(const T& lhs, const std::complex<T>& rhs, std::complex<T> x) argument
23 assert(lhs / rhs == x);
30 T lhs(-8.5);
33 test(lhs, rhs, x);
H A Dscalar_minus_complex.pass.cpp14 // operator-(const T& lhs, const complex<T>& rhs);
21 test(const T& lhs, const std::complex<T>& rhs, std::complex<T> x) argument
23 assert(lhs - rhs == x);
31 T lhs(1.5);
34 test(lhs, rhs, x);
37 T lhs(1.5);
40 test(lhs, rhs, x);
H A Dscalar_plus_complex.pass.cpp14 // operator+(const T& lhs, const complex<T>& rhs);
21 test(const T& lhs, const std::complex<T>& rhs, std::complex<T> x) argument
23 assert(lhs + rhs == x);
31 T lhs(1.5);
34 test(lhs, rhs, x);
37 T lhs(1.5);
40 test(lhs, rhs, x);
H A Dscalar_times_complex.pass.cpp14 // operator*(const T& lhs, const complex<T>& rhs);
21 test(const T& lhs, const std::complex<T>& rhs, std::complex<T> x) argument
23 assert(lhs * rhs == x);
30 T lhs(1.5);
33 test(lhs, rhs, x);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.nonmembers/string_op!=/
H A Dpointer_string.pass.cpp13 // bool operator!=(const charT* lhs, const basic_string<charT,traits,Allocator>& rhs);
22 test(const typename S::value_type* lhs, const S& rhs, bool x) argument
24 assert((lhs != rhs) == x);
H A Dstring_pointer.pass.cpp13 // bool operator!=(const basic_string<charT,traits,Allocator>& lhs, const charT* rhs);
22 test(const S& lhs, const typename S::value_type* rhs, bool x) argument
24 assert((lhs != rhs) == x);
H A Dstring_string.pass.cpp13 // bool operator!=(const basic_string<charT,traits,Allocator>& lhs,
23 test(const S& lhs, const S& rhs, bool x) argument
25 assert((lhs != rhs) == x);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.nonmembers/string_op!EQ/
H A Dpointer_string.pass.cpp13 // bool operator!=(const charT* lhs, const basic_string<charT,traits,Allocator>& rhs);
22 test(const typename S::value_type* lhs, const S& rhs, bool x) argument
24 assert((lhs != rhs) == x);
H A Dstring_pointer.pass.cpp13 // bool operator!=(const basic_string<charT,traits,Allocator>& lhs, const charT* rhs);
22 test(const S& lhs, const typename S::value_type* rhs, bool x) argument
24 assert((lhs != rhs) == x);
H A Dstring_string.pass.cpp13 // bool operator!=(const basic_string<charT,traits,Allocator>& lhs,
23 test(const S& lhs, const S& rhs, bool x) argument
25 assert((lhs != rhs) == x);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.nonmembers/string_op+/
H A Dchar_string.pass.cpp14 // operator+(charT lhs, const basic_string<charT,traits,Allocator>& rhs);
18 // operator+(charT lhs, basic_string<charT,traits,Allocator>&& rhs);
27 test0(typename S::value_type lhs, const S& rhs, const S& x) argument
29 assert(lhs + rhs == x);
36 test1(typename S::value_type lhs, S&& rhs, const S& x) argument
38 assert(lhs + move(rhs) == x);
H A Dpointer_string.pass.cpp14 // operator+(const charT* lhs, const basic_string<charT,traits,Allocator>& rhs);
18 // operator+(const charT* lhs, basic_string<charT,traits,Allocator>&& rhs);
27 test0(const typename S::value_type* lhs, const S& rhs, const S& x) argument
29 assert(lhs + rhs == x);
36 test1(const typename S::value_type* lhs, S&& rhs, const S& x) argument
38 assert(lhs + move(rhs) == x);
H A Dstring_char.pass.cpp14 // operator+(const basic_string<charT,traits,Allocator>& lhs, charT rhs);
18 // operator+(basic_string<charT,traits,Allocator>&& lhs, charT rhs);
27 test0(const S& lhs, typename S::value_type rhs, const S& x) argument
29 assert(lhs + rhs == x);
36 test1(S&& lhs, typename S::value_type rhs, const S& x) argument
38 assert(move(lhs) + rhs == x);
H A Dstring_pointer.pass.cpp14 // operator+(const basic_string<charT,traits,Allocator>& lhs, const charT* rhs);
18 // operator+(basic_string<charT,traits,Allocator>&& lhs, const charT* rhs);
27 test0(const S& lhs, const typename S::value_type* rhs, const S& x) argument
29 assert(lhs + rhs == x);
36 test1(S&& lhs, const typename S::value_type* rhs, const S& x) argument
38 assert(move(lhs) + rhs == x);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.nonmembers/string_operator==/
H A Dpointer_string.pass.cpp13 // bool operator==(const charT* lhs, const basic_string<charT,traits,Allocator>& rhs);
22 test(const typename S::value_type* lhs, const S& rhs, bool x) argument
24 assert((lhs == rhs) == x);
H A Dstring_pointer.pass.cpp13 // bool operator==(const basic_string<charT,traits,Allocator>& lhs, const charT* rhs);
22 test(const S& lhs, const typename S::value_type* rhs, bool x) argument
24 assert((lhs == rhs) == x);
H A Dstring_string.pass.cpp13 // bool operator==(const basic_string<charT,traits,Allocator>& lhs,
23 test(const S& lhs, const S& rhs, bool x) argument
25 assert((lhs == rhs) == x);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.nonmembers/string_operatorEQEQ/
H A Dpointer_string.pass.cpp13 // bool operator==(const charT* lhs, const basic_string<charT,traits,Allocator>& rhs);
22 test(const typename S::value_type* lhs, const S& rhs, bool x) argument
24 assert((lhs == rhs) == x);
H A Dstring_pointer.pass.cpp13 // bool operator==(const basic_string<charT,traits,Allocator>& lhs, const charT* rhs);
22 test(const S& lhs, const typename S::value_type* rhs, bool x) argument
24 assert((lhs == rhs) == x);

Completed in 157 milliseconds

123