Home
last modified time | relevance | path

Searched refs:z (Results 1 – 25 of 105) sorted by relevance

12345

/ndk/sources/cxx-stl/stlport/src/
Dcomplex_trig.cpp68 static complex<_Tp> sinT(const complex<_Tp>& z) { in sinT() argument
69 return complex<_Tp>(::sin(z._M_re) * ::cosh(z._M_im), in sinT()
70 ::cos(z._M_re) * ::sinh(z._M_im)); in sinT()
73 _STLP_DECLSPEC complex<float> _STLP_CALL sin(const complex<float>& z) in sin() argument
74 { return sinT(z); } in sin()
76 _STLP_DECLSPEC complex<double> _STLP_CALL sin(const complex<double>& z) in sin() argument
77 { return sinT(z); } in sin()
80 _STLP_DECLSPEC complex<long double> _STLP_CALL sin(const complex<long double>& z) in sin() argument
81 { return sinT(z); } in sin()
87 static complex<_Tp> cosT(const complex<_Tp>& z) { in cosT() argument
[all …]
Dcomplex.cpp167 static complex<_Tp> sqrtT(const complex<_Tp>& z) { in sqrtT() argument
168 _Tp re = z._M_re; in sqrtT()
169 _Tp im = z._M_im; in sqrtT()
188 sqrt(const complex<float>& z) { return sqrtT(z); } in sqrt() argument
191 sqrt(const complex<double>& z) { return sqrtT(z); } in sqrt() argument
195 sqrt(const complex<long double>& z) { return sqrtT(z); } in sqrt() argument
202 static complex<_Tp> expT(const complex<_Tp>& z) { in expT() argument
203 _Tp expx = ::exp(z._M_re); in expT()
204 return complex<_Tp>(expx * ::cos(z._M_im), in expT()
205 expx * ::sin(z._M_im)); in expT()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/complex.number/
Dlayout.pass.cpp19 std::complex<T> z; in test() local
20 T* a = (T*)&z; in test()
21 assert(0 == z.real()); in test()
22 assert(0 == z.imag()); in test()
23 assert(a[0] == z.real()); in test()
24 assert(a[1] == z.imag()); in test()
27 assert(a[0] == z.real()); in test()
28 assert(a[1] == z.imag()); in test()
/ndk/sources/host-tools/make-3.81/tests/scripts/variables/
Dautomatic16 .SUFFIXES: .x .y .z
17 $(dir)/foo.x : baz.z $(dir)/bar.y baz.z
26 $(dir)/bar.y baz.z : ; touch $@
34 &utouch(-10, qw(foo.x baz.z));
40 \$< = baz.z, \$(<D) = ., \$(<F) = baz.z
41 \$^ = baz.z $dir/bar.y, \$(^D) = . $dir, \$(^F) = baz.z bar.y
42 \$+ = baz.z $dir/bar.y baz.z, \$(+D) = . $dir ., \$(+F) = baz.z bar.y baz.z
47 unlink(qw(foo.x bar.y baz.z));
63 $(dir)/x.z $(dir)/y.z: $(dir)/%.z : $@.% $$@.% $$$@.% $$$$@.% $$(@D).% $$(@F).%
74 &run_make_with_options($makefile2, "$dir/x.z $dir/y.z", &get_logfile);
[all …]
/ndk/sources/host-tools/sed-4.2.1/lib/
Dunlocked-io.h66 # define fgets(x,y,z) fgets_unlocked (x,y,z) argument
68 # define fgets_unlocked(x,y,z) fgets (x,y,z) argument
87 # define fread(w,x,y,z) fread_unlocked (w,x,y,z) argument
89 # define fread_unlocked(w,x,y,z) fread (w,x,y,z) argument
94 # define fwrite(w,x,y,z) fwrite_unlocked (w,x,y,z) argument
96 # define fwrite_unlocked(w,x,y,z) fwrite (w,x,y,z) argument
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/complex.number/complex.value.ops/
Dpolar.pass.cpp54 std::complex<double> z = std::polar(r, theta); in test_edges() local
60 int c = classify(z); in test_edges()
65 assert(z == std::complex<double>()); in test_edges()
71 int c = classify(z); in test_edges()
76 is_about(std::abs(z), r); in test_edges()
82 int c = classify(z); in test_edges()
87 assert(classify(z) == inf); in test_edges()
90 assert(classify(real(z)) != NaN); in test_edges()
91 assert(classify(imag(z)) != NaN); in test_edges()
98 int c = classify(z); in test_edges()
Dimag.pass.cpp23 std::complex<T> z(1.5, 2.5); in test() local
24 assert(imag(z) == 2.5); in test()
Dreal.pass.cpp23 std::complex<T> z(1.5, 2.5); in test() local
24 assert(real(z) == 1.5); in test()
Dconj.pass.cpp21 test(const std::complex<T>& z, std::complex<T> x) in test() argument
23 assert(conj(z) == x); in test()
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/complex.number/complex.transcendentals/
Dlog10.pass.cpp42 std::complex<double> z = log(x[i])/std::log(10); in test_edges() local
44 assert(std::isnan(real(z))); in test_edges()
47 assert(real(r) == real(z)); in test_edges()
48 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
51 assert(std::isnan(imag(z))); in test_edges()
54 assert(imag(r) == imag(z)); in test_edges()
55 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
Dcos.pass.cpp44 std::complex<double> z = cosh(t1); in test_edges() local
46 assert(std::isnan(real(z))); in test_edges()
49 assert(real(r) == real(z)); in test_edges()
50 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
53 assert(std::isnan(imag(z))); in test_edges()
56 assert(imag(r) == imag(z)); in test_edges()
57 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
Dsin.pass.cpp45 std::complex<double> z(imag(t2), -real(t2)); in test_edges() local
47 assert(std::isnan(real(z))); in test_edges()
50 assert(real(r) == real(z)); in test_edges()
51 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
54 assert(std::isnan(imag(z))); in test_edges()
57 assert(imag(r) == imag(z)); in test_edges()
58 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
Datan.pass.cpp44 std::complex<double> z(imag(t2), -real(t2)); in test_edges() local
46 assert(std::isnan(real(z))); in test_edges()
49 assert(real(r) == real(z)); in test_edges()
50 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
53 assert(std::isnan(imag(z))); in test_edges()
56 assert(imag(r) == imag(z)); in test_edges()
57 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
Dpow_complex_complex.pass.cpp46 std::complex<double> z = exp(x[j] * log(x[i])); in test_edges() local
48 assert(std::isnan(real(z))); in test_edges()
51 assert(real(r) == real(z)); in test_edges()
52 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
55 assert(std::isnan(imag(z))); in test_edges()
58 assert(imag(r) == imag(z)); in test_edges()
59 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
Dtan.pass.cpp46 std::complex<double> z(imag(t2), -real(t2)); in test_edges() local
48 assert(std::isnan(real(z))); in test_edges()
51 assert(real(r) == real(z)); in test_edges()
52 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
55 assert(std::isnan(imag(z))); in test_edges()
58 assert(imag(r) == imag(z)); in test_edges()
59 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
Dpow_complex_scalar.pass.cpp46 std::complex<double> z = exp(std::complex<double>(real(x[j])) * log(x[i])); in test_edges() local
48 assert(std::isnan(real(z))); in test_edges()
51 assert(real(r) == real(z)); in test_edges()
54 assert(std::isnan(imag(z))); in test_edges()
57 assert(imag(r) == imag(z)); in test_edges()
Dpow_scalar_complex.pass.cpp46 std::complex<double> z = exp(x[j] * log(std::complex<double>(real(x[i])))); in test_edges() local
48 assert(std::isnan(real(z))); in test_edges()
51 assert(real(r) == real(z)); in test_edges()
54 assert(std::isnan(imag(z))); in test_edges()
57 assert(imag(r) == imag(z)); in test_edges()
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/complex.number/complex.ops/
Dunary_minus.pass.cpp23 std::complex<T> z(1.5, 2.5); in test() local
24 assert(z.real() == 1.5); in test()
25 assert(z.imag() == 2.5); in test()
26 std::complex<T> c = -z; in test()
Dunary_plus.pass.cpp23 std::complex<T> z(1.5, 2.5); in test() local
24 assert(z.real() == 1.5); in test()
25 assert(z.imag() == 2.5); in test()
26 std::complex<T> c = +z; in test()
/ndk/tests/device/test-stlport_static-exception/jni/
Dreg-stack.cpp26 double z = x*x+y*y; in bar() local
27 if (z != 25.0) in bar()
29 return z; in bar()
/ndk/tests/device/test-stlport_shared-exception/jni/
Dreg-stack.cpp26 double z = x*x+y*y; in bar() local
27 if (z != 25.0) in bar()
29 return z; in bar()
/ndk/sources/host-tools/make-3.81/tests/scripts/functions/
Dandor18 @echo 4 $(and z,true,$f,false)
22 @echo 8 $(and z,true,fal,se) hi
39 @echo 4 $(or z,true,$f,false)
44 @echo 9 $(or z,true,fal,se) hi
48 … "short-circuit\n1\n2 true\n3 true\n4 z\n5 true\n6 true\n7 b\n8 true\n9 z hi\n10 truethere\n11\n");
Dbasename16 …nt MAKEFILE "string := \$(basename src${pathsep}a.b.z.foo.c src${pathsep}hacks src.bar${pathsep}a.…
27 $answer = "src${pathsep}a.b.z.foo src${pathsep}hacks src.bar${pathsep}a.b.z.foo src.bar${pathsep}ha…
Dif17 \t\@echo 4 \$(if z,true,false)
18 \t\@echo 5 \$(if z,true,\$(shell echo hi))
22 \t\@echo 9 \$(if z,true,fal,se) hi
/ndk/sources/host-tools/sed-4.2.1/testsuite/
Dflipcase.sed1 s,\([^A-Za-z]*\)\([A-Za-z]*\),\1\L\u\2,g

12345