/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _cmath.h | 231 # define _STLP_DEF_MATH_INLINE(func,cf) \ argument 232 _STLP_MATH_INLINE(float,func,cf##f) \ 233 _STLP_MATH_INLINE_D(double,func,cf) \ 234 _STLP_MATH_INLINE(long double,func,cf##l) 235 # define _STLP_DEF_MATH_INLINE2(func,cf) \ argument 236 _STLP_MATH_INLINE2(float,float,func,cf##f) \ 237 _STLP_MATH_INLINE2_D(double,double,func,cf) \ 238 _STLP_MATH_INLINE2(long double,long double,func,cf##l) 239 # define _STLP_DEF_MATH_INLINE2P(func,cf) \ argument 240 _STLP_MATH_INLINE2(float,float *,func,cf##f) \ [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.special/ |
D | long_double_float_explicit.pass.cpp | 25 std::complex<long double> cf(cd); in main() local 26 assert(cf.real() == cd.real()); in main() 27 assert(cf.imag() == cd.imag()); in main() 32 constexpr std::complex<long double> cf(cd); in main() local 33 static_assert(cf.real() == cd.real(), ""); in main() 34 static_assert(cf.imag() == cd.imag(), ""); in main()
|
D | long_double_double_explicit.pass.cpp | 25 std::complex<long double> cf(cd); in main() local 26 assert(cf.real() == cd.real()); in main() 27 assert(cf.imag() == cd.imag()); in main() 32 constexpr std::complex<long double> cf(cd); in main() local 33 static_assert(cf.real() == cd.real(), ""); in main() 34 static_assert(cf.imag() == cd.imag(), ""); in main()
|
D | double_float_implicit.pass.cpp | 25 std::complex<double> cf = cd; in main() local 26 assert(cf.real() == cd.real()); in main() 27 assert(cf.imag() == cd.imag()); in main() 32 constexpr std::complex<double> cf = cd; in main() local 33 static_assert(cf.real() == cd.real(), ""); in main() 34 static_assert(cf.imag() == cd.imag(), ""); in main()
|
D | long_double_double_implicit.pass.cpp | 25 std::complex<long double> cf = cd; in main() local 26 assert(cf.real() == cd.real()); in main() 27 assert(cf.imag() == cd.imag()); in main() 32 constexpr std::complex<long double> cf = cd; in main() local 33 static_assert(cf.real() == cd.real(), ""); in main() 34 static_assert(cf.imag() == cd.imag(), ""); in main()
|
D | float_double_explicit.pass.cpp | 25 std::complex<float> cf(cd); in main() local 26 assert(cf.real() == cd.real()); in main() 27 assert(cf.imag() == cd.imag()); in main() 32 constexpr std::complex<float> cf(cd); in main() local 33 static_assert(cf.real() == cd.real(), ""); in main() 34 static_assert(cf.imag() == cd.imag(), ""); in main()
|
D | double_long_double_explicit.pass.cpp | 25 std::complex<double> cf(cd); in main() local 26 assert(cf.real() == cd.real()); in main() 27 assert(cf.imag() == cd.imag()); in main() 32 constexpr std::complex<double> cf(cd); in main() local 33 static_assert(cf.real() == cd.real(), ""); in main() 34 static_assert(cf.imag() == cd.imag(), ""); in main()
|
D | double_float_explicit.pass.cpp | 25 std::complex<double> cf(cd); in main() local 26 assert(cf.real() == cd.real()); in main() 27 assert(cf.imag() == cd.imag()); in main() 32 constexpr std::complex<double> cf(cd); in main() local 33 static_assert(cf.real() == cd.real(), ""); in main() 34 static_assert(cf.imag() == cd.imag(), ""); in main()
|
D | float_long_double_explicit.pass.cpp | 25 std::complex<float> cf(cd); in main() local 26 assert(cf.real() == cd.real()); in main() 27 assert(cf.imag() == cd.imag()); in main() 32 constexpr std::complex<float> cf(cd); in main() local 33 static_assert(cf.real() == cd.real(), ""); in main() 34 static_assert(cf.imag() == cd.imag(), ""); in main()
|
D | long_double_float_implicit.pass.cpp | 25 std::complex<long double> cf = cd; in main() local 26 assert(cf.real() == cd.real()); in main() 27 assert(cf.imag() == cd.imag()); in main() 32 constexpr std::complex<long double> cf = cd; in main() local 33 static_assert(cf.real() == cd.real(), ""); in main() 34 static_assert(cf.imag() == cd.imag(), ""); in main()
|
D | float_double_implicit.fail.cpp | 24 std::complex<float> cf = cd; in main() local 25 assert(cf.real() == cd.real()); in main() 26 assert(cf.imag() == cd.imag()); in main()
|
D | float_long_double_implicit.fail.cpp | 24 std::complex<float> cf = cd; in main() local 25 assert(cf.real() == cd.real()); in main() 26 assert(cf.imag() == cd.imag()); in main()
|
D | double_long_double_implicit.fail.cpp | 24 std::complex<double> cf = cd; in main() local 25 assert(cf.real() == cd.real()); in main() 26 assert(cf.imag() == cd.imag()); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.elem/ |
D | tuple.by.type.pass.cpp | 19 typedef std::complex<float> cf; in main() typedef 21 auto t1 = std::tuple<int, std::string, cf> { 42, "Hi", { 1,2 }}; in main() 24 assert ( std::get<cf>(t1).real() == 1 ); // find at the end in main() 25 assert ( std::get<cf>(t1).imag() == 2 ); in main() 29 auto t2 = std::tuple<int, std::string, int, cf> { 42, "Hi", 23, { 1,2 }}; in main() 32 assert (( std::get<cf>(t2) == cf{ 1,2 } )); in main()
|
D | tuple.by.type1.fail.cpp | 19 typedef std::complex<float> cf; in main() typedef 21 assert ( std::get<cf>(t1) == cf {1,2} ); // no such type in main()
|
D | tuple.by.type3.fail.cpp | 19 typedef std::complex<float> cf; in main() typedef 20 auto t1 = std::make_tuple<double, int, std::string, cf, int> ( 42, 21, "Hi", { 1,2 } ); in main()
|
D | tuple.by.type2.fail.cpp | 19 typedef std::complex<float> cf; in main() typedef 20 auto t1 = std::make_tuple<int, int, std::string, cf> ( 42, 21, "Hi", { 1,2 } ); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.memfn/ |
D | member_function.pass.cpp | 34 const F& cf = f; in test0() local 35 assert(cf(ap) == 'a'); in test0() 48 const F& cf = f; in test1() local 49 assert(cf(ap, 2) == 'b'); in test1() 62 const F& cf = f; in test2() local 63 assert(cf(ap, 2, 3.5) == 'c'); in test2()
|
D | member_function_const_volatile.pass.cpp | 36 const F& cf = f; in test0() local 37 assert(cf(ap) == 'a'); in test0() 52 const F& cf = f; in test1() local 53 assert(cf(ap, 2) == 'b'); in test1() 68 const F& cf = f; in test2() local 69 assert(cf(ap, 2, 3.5) == 'c'); in test2()
|
D | member_function_volatile.pass.cpp | 36 const F& cf = f; in test0() local 37 assert(cf(ap) == 'a'); in test0() 52 const F& cf = f; in test1() local 53 assert(cf(ap, 2) == 'b'); in test1() 68 const F& cf = f; in test2() local 69 assert(cf(ap, 2, 3.5) == 'c'); in test2()
|
D | member_function_const.pass.cpp | 36 const F& cf = f; in test0() local 37 assert(cf(ap) == 'a'); in test0() 52 const F& cf = f; in test1() local 53 assert(cf(ap, 2) == 'b'); in test1() 68 const F& cf = f; in test2() local 69 assert(cf(ap, 2, 3.5) == 'c'); in test2()
|
D | member_data.pass.cpp | 35 const F& cf = f; in test() local 36 assert(cf(ap) == f(ap)); in test()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/pairs/pair.astuple/ |
D | pairs.by.type1.fail.cpp | 18 typedef std::complex<float> cf; in main() typedef 20 assert ( std::get<cf>(t1) == cf {1,2} ); // no such type in main()
|
D | pairs.by.type.pass.cpp | 19 typedef std::complex<float> cf; in main() typedef 21 auto t1 = std::make_pair<int, cf> ( 42, { 1,2 } ); in main() 23 assert ( std::get<cf>(t1).real() == 1 ); in main() 24 assert ( std::get<cf>(t1).imag() == 2 ); in main()
|
D | pairs.by.type2.fail.cpp | 18 typedef std::complex<float> cf; in main() typedef
|