/external/webkit/SunSpider/tests/sunspider-0.9/ |
math-partial-sums.js | 14 sk = Math.sin(k);
|
/external/webkit/SunSpider/tests/sunspider-0.9.1/ |
math-partial-sums.js | 14 sk = Math.sin(k);
|
/frameworks/base/core/java/android/hardware/ |
GeomagneticField.java | 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 -- 170 // this is much faster than calling Math.sin and Math.com MAX_N+1 times. 175 sinMLon[1] = (float) Math.sin(mGcLongitudeRad); 179 // Standard expansions for sin((m-x)*theta + x*theta) and 207 // P_n^m(sin(theta)) and we use P_n^m(cos(90 - theta)), so the 235 + gcZ * Math.sin(latDiffRad)); 237 mZ = (float) (- gcX * Math.sin(latDiffRad) 312 float slat = (float) Math.sin(gdLatRad); 357 float sin = (float) Math.sin(thetaRad) local [all...] |
/external/skia/src/core/ |
SkCordic.cpp | 65 SkFixed sin = 0; local 67 SkCircularRotation(&cos, &sin, &scaledRadians); 69 scaled.setMul(sin, 0x6488d); 70 sin = scaled.fHi; 75 return sin; 81 int32_t sin = SkCordicSinCos(a, &cos); local 82 return SkFixedDiv(sin, cos); 228 SkDebugf("sin error : angle = %g ; sin = %g ; cordic = %g\n", angle, sine, sine2);
|
/external/ipsec-tools/src/racoon/ |
sockmisc.c | 394 struct sockaddr_in *sin; local 462 && otolen >= sizeof(sin)) { 464 *tolen = sizeof(*sin); 465 sin = (struct sockaddr_in *)to; 466 memset(sin, 0, sizeof(*sin)); 467 sin->sin_family = AF_INET; 468 memcpy(&sin->sin_addr, &pi->ipi_addr, 469 sizeof(sin->sin_addr)); 470 sin->sin_port [all...] |
sockmisc.h | 40 struct sockaddr_in sin; member in union:netaddr::__anon4358
|
/external/stlport/test/unit/ |
valarray_test.cpp | 47 tmp = sin(darray); 73 tmp = sin(farray); 100 tmp = sin(ldarray);
|
/external/webkit/LayoutTests/fast/js/resources/ |
getOwnPropertyDescriptor.js | 31 descriptorShouldBe("Math", "'sin'", {writable: true, enumerable: false, configurable: true, value:"Math.sin"}); 38 descriptorShouldBe("Math.sin", "'length'", {writable: false, enumerable: false, configurable: false, value:1}); 39 descriptorShouldBe("Math.sin", "'name'", {writable: false, enumerable: false, configurable: false, value:"'sin'"}); 83 for (var property in Object.getOwnPropertyDescriptor(Math, "sin"))
|
/ndk/tests/device/test-gnustl-full/unit/ |
valarray_test.cpp | 47 tmp = sin(darray); 73 tmp = sin(farray); 100 tmp = sin(ldarray);
|
/ndk/tests/device/test-stlport/unit/ |
valarray_test.cpp | 47 tmp = sin(darray); 73 tmp = sin(farray); 100 tmp = sin(ldarray);
|
/external/v8/test/mjsunit/ |
sin-cos.js | 28 // Test Math.sin and Math.cos. 33 var output_sin = input_sin.map(Math.sin); 45 assertTrue(Math.sin(x) != Math.cos(x));
|
/development/samples/GlobalTime/src/com/android/globaltime/ |
LatLongSphere.java | 51 float sinTheta = (float) Math.sin(theta); 58 float sinPhi = (float) Math.sin(phi);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Matrix_Delegate.java | 439 float sin = (float)Math.sin(rad); local 442 d.preTransform(getRotate(sin, cos)); 1057 float sin = (float)Math.sin(rad); local 1060 return getRotate(sin, cos); 1063 /*package*/ static float[] getRotate(float sin, float cos) { 1064 return setRotate(new float[9], sin, cos); 1069 float sin = (float)Math.sin(rad); local 1100 float sin = (float)Math.sin(rad); local [all...] |
/bionic/libm/include/ |
math.h | 208 double sin(double); 485 void sincos(double x, double *sin, double *cos); 486 void sincosf(float x, float *sin, float *cos); 487 void sincosl(long double x, long double *sin, long double *cos);
|
/development/ndk/platforms/android-9/include/ |
math.h | 208 double sin(double); 485 void sincos(double x, double *sin, double *cos); 486 void sincosf(float x, float *sin, float *cos); 487 void sincosl(long double x, long double *sin, long double *cos);
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/ |
CubeWallpaper2.java | 261 float newy = (float)(Math.sin(xrot) * z + Math.cos(xrot) * y); 262 float newz = (float)(Math.cos(xrot) * z - Math.sin(xrot) * y); 265 float newx = (float)(Math.sin(yrot) * newz + Math.cos(yrot) * x); 266 newz = (float)(Math.cos(yrot) * newz - Math.sin(yrot) * x);
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/Statements/ |
switch-001.js | 61 actual = match(1, 1, Math.sin, Math.cos);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
SunCalculator.java | 179 double sinMeanAnomaly = Math.sin(meanRadians); 180 double sinDoubleMeanAnomaly = Math.sin((meanRadians * 2.0)); 232 double sinLatitude = Math.sin(latitude); 243 double sinTrueLongitude = Math.sin(Math.toRadians(sunTrueLong));
|
/external/stlport/src/ |
complex.cpp | 71 { return complex<float>(__rho * ::cos(__phi), __rho * ::sin(__phi)); } 74 { return complex<double>(__rho * ::cos(__phi), __rho * ::sin(__phi)); } 79 { return complex<long double>(__rho * ::cos(__phi), __rho * ::sin(__phi)); } 205 expx * ::sin(z._M_im)); 272 return complex<_Tp>(x * ::cos(y), x * ::sin(y)); 292 return complex<_Tp>(x * ::cos(y), x * ::sin(y)); 302 return complex<_Tp>(x * ::cos(y), x * ::sin(y));
|
/ndk/sources/cxx-stl/stlport/src/ |
complex.cpp | 71 { return complex<float>(__rho * ::cos(__phi), __rho * ::sin(__phi)); } 74 { return complex<double>(__rho * ::cos(__phi), __rho * ::sin(__phi)); } 79 { return complex<long double>(__rho * ::cos(__phi), __rho * ::sin(__phi)); } 205 expx * ::sin(z._M_im)); 272 return complex<_Tp>(x * ::cos(y), x * ::sin(y)); 292 return complex<_Tp>(x * ::cos(y), x * ::sin(y)); 302 return complex<_Tp>(x * ::cos(y), x * ::sin(y));
|
/external/stlport/stlport/stl/ |
_cmath.h | 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 377 _STLP_DMATH_INLINE(sin) 400 # if defined (sin) 401 inline double __stlp_sin(double __x) { return sin(__x); } 402 # undef sin macro 403 inline double sin(double __x) { return __stlp_sin(__x); } function 448 _STLP_DEF_MATH_INLINE(sin, sin) 515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 589 using ::sin; [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
MathPerformanceTest.java | 76 result = Math.sin(sDouble1); 77 result = Math.sin(sDouble1); 78 result = Math.sin(sDouble1); 79 result = Math.sin(sDouble1); 80 result = Math.sin(sDouble1); 81 result = Math.sin(sDouble1); 82 result = Math.sin(sDouble1); 83 result = Math.sin(sDouble1); 84 result = Math.sin(sDouble1); 85 result = Math.sin(sDouble1) [all...] |
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_cmath.h | 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 377 _STLP_DMATH_INLINE(sin) 400 # if defined (sin) 401 inline double __stlp_sin(double __x) { return sin(__x); } 402 # undef sin macro 403 inline double sin(double __x) { return __stlp_sin(__x); } function 448 _STLP_DEF_MATH_INLINE(sin, sin) 515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 589 using ::sin; [all...] |
/bionic/libc/netbsd/resolv/ |
res_init.c | 240 u[nserv].sin.sin_addr = inet_makeaddr(IN_LOOPBACKNET, 1); 242 u[nserv].sin.sin_addr.s_addr = INADDR_ANY; 244 u[nserv].sin.sin_family = AF_INET; 245 u[nserv].sin.sin_port = htons(NAMESERVER_PORT); 247 u[nserv].sin.sin_len = sizeof(struct sockaddr_in); 274 statp->_u._ext.ext->nsaddrs[0].sin = statp->nsaddr; 787 switch (set->sin.sin_family) { 789 size = sizeof(set->sin); 792 &set->sin, size); 795 &set->sin, size) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
wps_upnp_ssdp.c | 822 struct sockaddr_in *sin; local 833 sin = aliasing_hide_typecast(&rt.rt_dst, struct sockaddr_in); 834 sin->sin_family = AF_INET; 835 sin->sin_port = 0; 836 sin->sin_addr.s_addr = inet_addr(SSDP_TARGET); 837 sin = aliasing_hide_typecast(&rt.rt_genmask, struct sockaddr_in); 838 sin->sin_family = AF_INET; 839 sin->sin_port = 0; 840 sin->sin_addr.s_addr = inet_addr(SSDP_NETMASK);
|