/external/webkit/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8.2.7.js | 24 ECMA Section: 15.8.2.7 cos( x ) 35 var TITLE = "Math.cos(x)"; 46 array[item++] = new TestCase( SECTION, "Math.cos.length", 1, Math.cos.length ); 48 array[item++] = new TestCase( SECTION, "Math.cos()", Number.NaN, Math.cos() ); 49 array[item++] = new TestCase( SECTION, "Math.cos(void 0)", Number.NaN, Math.cos(void 0) ); 50 array[item++] = new TestCase( SECTION, "Math.cos(false)", 1, Math.cos(false) ) [all...] |
/frameworks/base/core/java/android/util/ |
FloatMath.java | 64 public static native float cos(float angle); method in class:FloatMath
|
/bionic/libm/ |
sincos.c | 33 *pcos = cos(x); 45 *pcos = cos(x);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
Layer.java | 53 float cos = (float)Math.cos(angle); local 58 m[1][1] = cos; 61 m[2][2] = cos; 66 m[0][0] = cos; 69 m[2][2] = cos; 74 m[0][0] = cos; 77 m[1][1] = cos;
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherOutputStream1Test.java | 80 CipherOutputStream cos = new CipherOutputStream(tos){}; local 81 cos.write(data); 82 cos.flush(); 102 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()); local 104 cos.write(data[i]); 106 cos.flush(); 126 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()); local 127 cos.write(data); 128 cos.flush(); 135 cos.write(null) 154 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()); local 215 CipherOutputStream cos = new CipherOutputStream(tos){}; local 237 CipherOutputStream cos = new CipherOutputStream(tos){}; local 265 CipherOutputStream cos = new CipherOutputStream(baos, c); local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
FloatMath_Delegate.java | 79 /*package*/ static float cos(float angle) { method in class:FloatMath_Delegate 80 return (float)Math.cos(angle);
|
/external/webkit/JavaScriptCore/wtf/ |
Complex.h | 41 return Complex(magnitude * cos(phase), magnitude * sin(phase));
|
/frameworks/base/core/java/android/view/animation/ |
AccelerateDecelerateInterpolator.java | 36 return (float)(Math.cos((input + 1) * Math.PI) / 2.0f) + 0.5f;
|
/cts/apps/CtsVerifier/jni/audioquality/ |
GenerateSinusoid.cpp | 57 float gain = (0.5 - (0.5 * cos((0.5 + i) * M_PI / numRamp))); 61 float gain = (0.5 - (0.5 * cos((0.5 + (numSamples - i - 1))
|
/frameworks/base/core/tests/coretests/src/android/util/ |
FloatMathTest.java | 52 assertEquals(1.0f, FloatMath.cos(0), 0); 53 assertEquals(0.5403023058681398f, FloatMath.cos(1), 0);
|
/bionic/libm/i387/ |
s_cos.S | 40 ENTRY(cos) function
|
/system/extras/tests/bionic/libstdc++/ |
test_cmath.cpp | 43 using ::cos;
|
/cts/tests/tests/util/src/android/util/cts/ |
FloatMathTest.java | 43 method = "cos", 73 // cos 74 assertEquals(0.964966f, FloatMath.cos(50)); 75 assertEquals(0.69925081f, FloatMath.cos(150)); 76 assertEquals(0.964966f, FloatMath.cos(-50));
|
/bionic/libm/src/ |
s_cos.c | 17 /* cos(x) 26 * Let S,C and T denote the sin, cos and tan respectively on 31 * n sin(x) cos(x) tan(x) 40 * Let trig be any of sin, cos, or tan. 52 cos(double x) function 68 /* cos(Inf or NaN) is NaN */
|
e_jn.c | 83 * Jn(x) = cos(x-(2n+1)*pi/4)*sqrt(2/x*pi) 85 * Let s=sin(x), c=cos(x), 88 * n sin(xn)*sqt2 cos(xn)*sqt2 96 case 0: temp = cos(x)+sin(x); break; 97 case 1: temp = -cos(x)+sin(x); break; 98 case 2: temp = -cos(x)-sin(x); break; 99 case 3: temp = cos(x)-sin(x); break; 233 * Jn(x) = cos(x-(2n+1)*pi/4)*sqrt(2/x*pi) 235 * Let s=sin(x), c=cos(x), 238 * n sin(xn)*sqt2 cos(xn)*sqt [all...] |
/external/stlport/stlport/stl/config/ |
_como.h | 87 # define cosl cos 115 # define cosf cos 116 # define cosl cos 161 # define cosl cos
|
/ndk/sources/cxx-stl/stlport/stlport/stl/config/ |
_como.h | 87 # define cosl cos 115 # define cosf cos 116 # define cosl cos 161 # define cosl cos
|
/external/stlport/src/ |
complex_trig.cpp | 70 ::cos(z._M_re) * ::sinh(z._M_im)); 85 // cos 88 return complex<_Tp>(::cos(z._M_re) * ::cosh(z._M_im), 92 _STLP_DECLSPEC complex<float> _STLP_CALL cos(const complex<float>& z) function 95 _STLP_DECLSPEC complex<double> _STLP_CALL cos(const complex<double>& z) function 99 _STLP_DECLSPEC complex<long double> _STLP_CALL cos(const complex<long double>& z) function 113 _Tp den = ::cos(re2) + ::cosh(im2); 133 return complex<_Tp>(::sinh(z._M_re) * ::cos(z._M_im), 152 return complex<_Tp>(::cosh(z._M_re) * ::cos(z._M_im), 176 _Tp den = ::cosh(re2) + ::cos(im2) [all...] |
/ndk/sources/cxx-stl/stlport/src/ |
complex_trig.cpp | 70 ::cos(z._M_re) * ::sinh(z._M_im)); 85 // cos 88 return complex<_Tp>(::cos(z._M_re) * ::cosh(z._M_im), 92 _STLP_DECLSPEC complex<float> _STLP_CALL cos(const complex<float>& z) function 95 _STLP_DECLSPEC complex<double> _STLP_CALL cos(const complex<double>& z) function 99 _STLP_DECLSPEC complex<long double> _STLP_CALL cos(const complex<long double>& z) function 113 _Tp den = ::cos(re2) + ::cosh(im2); 133 return complex<_Tp>(::sinh(z._M_re) * ::cos(z._M_im), 152 return complex<_Tp>(::cosh(z._M_re) * ::cos(z._M_im), 176 _Tp den = ::cosh(re2) + ::cos(im2) [all...] |
/bionic/libstdc++/include/ |
cmath | 45 using ::cos;
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/ |
CubeWallpaper1.java | 211 float newy1 = (float)(Math.sin(xrot) * z1 + Math.cos(xrot) * y1); 212 float newy2 = (float)(Math.sin(xrot) * z2 + Math.cos(xrot) * y2); 213 float newz1 = (float)(Math.cos(xrot) * z1 - Math.sin(xrot) * y1); 214 float newz2 = (float)(Math.cos(xrot) * z2 - Math.sin(xrot) * y2); 217 float newx1 = (float)(Math.sin(yrot) * newz1 + Math.cos(yrot) * x1); 218 float newx2 = (float)(Math.sin(yrot) * newz2 + Math.cos(yrot) * x2); 219 newz1 = (float)(Math.cos(yrot) * newz1 - Math.sin(yrot) * x1); 220 newz2 = (float)(Math.cos(yrot) * newz2 - Math.sin(yrot) * x2);
|
/ndk/sources/cxx-stl/system/include/ |
cmath | 45 using ::cos;
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/ |
cmath | 43 using ::cos;
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/ |
cmath | 43 using ::cos;
|
/frameworks/base/core/java/android/hardware/ |
GeomagneticField.java | 152 // cos(theta). We want the associated Legendre functions for 153 // sin(latitude), which is the same as cos(PI/2 - latitude), except the 169 // Compute tables of sin(lon * m) and cos(lon * m) for m = 0..MAX_N -- 176 cosMLon[1] = (float) Math.cos(mGcLongitudeRad); 180 // cos((m-x)*theta + x*theta). 186 float inverseCosLatitude = 1.0f / (float) Math.cos(mGcLatitudeRad); 207 // P_n^m(sin(theta)) and we use P_n^m(cos(90 - theta)), so the 234 mX = (float) (gcX * Math.cos(latDiffRad) 238 + gcZ * Math.cos(latDiffRad)); 311 float clat = (float) Math.cos(gdLatRad) 356 float cos = (float) Math.cos(thetaRad); local [all...] |