/external/webkit/JavaScriptCore/tests/mozilla/ecma/Math/ |
D | 15.8.2.16.js | 45 … array[item++] = new TestCase( SECTION, "Math.sin.length", 1, Math.sin.length ); 47 array[item++] = new TestCase( SECTION, "Math.sin()", Number.NaN, Math.sin() ); 48 … array[item++] = new TestCase( SECTION, "Math.sin(null)", 0, Math.sin(null) ); 49 …array[item++] = new TestCase( SECTION, "Math.sin(void 0)", Number.NaN, Math.sin(void 0) ); 50 … array[item++] = new TestCase( SECTION, "Math.sin(false)", 0, Math.sin(false) ); 51 …tCase( SECTION, "Math.sin('2.356194490192')", 0.7071067811865, Math.sin('2.356194490192') ); 53 …array[item++] = new TestCase( SECTION, "Math.sin(NaN)", Number.NaN, Math.sin(Number.Na… 54 array[item++] = new TestCase( SECTION, "Math.sin(0)", 0, Math.sin(0) ); 55 array[item++] = new TestCase( SECTION, "Math.sin(-0)", -0, Math.sin(-0)); 56 …array[item++] = new TestCase( SECTION, "Math.sin(Infinity)", Number.NaN, Math.sin(Number.PO… [all …]
|
/external/dhcpcd/ |
D | if-bsd.c | 70 struct sockaddr_in *sin; in if_address() member 81 _s.sin->sin_family = AF_INET; \ in if_address() 82 _s.sin->sin_len = sizeof(*_s.sin); \ in if_address() 83 memcpy(&_s.sin->sin_addr, _addr, sizeof(_s.sin->sin_addr)); in if_address() 109 struct sockaddr_in sin; in if_route() member 148 su.sin.sin_family = AF_INET; \ in if_route() 149 su.sin.sin_len = sizeof(su.sin); \ in if_route() 150 memcpy (&su.sin.sin_addr, _addr, sizeof(su.sin.sin_addr)); \ in if_route()
|
D | net.c | 487 struct sockaddr_in sin; in open_udp_socket() member 512 su.sin.sin_family = AF_INET; in open_udp_socket() 513 su.sin.sin_port = htons(DHCP_CLIENT_PORT); in open_udp_socket() 514 su.sin.sin_addr.s_addr = iface->addr.s_addr; in open_udp_socket() 533 struct sockaddr_in sin; in send_packet() member 537 su.sin.sin_family = AF_INET; in send_packet() 538 su.sin.sin_addr.s_addr = to.s_addr; in send_packet() 539 su.sin.sin_port = htons(DHCP_SERVER_PORT); in send_packet()
|
/external/icu4c/i18n/ |
D | astro.cpp | 438 double sinE = ::sin(obliq); in eclipticToEquatorial() 441 double sinL = ::sin(eclipLong); in eclipticToEquatorial() 444 double sinB = ::sin(eclipLat); in eclipticToEquatorial() 478 double sinH = ::sin(H); in eclipticToHorizon() 480 double sinD = ::sin(equatorial.declination); in eclipticToHorizon() 482 double sinL = ::sin(fLatitude); in eclipticToHorizon() 486 double azimuth = atan2(-cosD*cosL*sinH, sinD - sinL * ::sin(altitude)); in eclipticToHorizon() 1030 double evection = 1.2739*PI/180 * ::sin(2 * (meanLongitude - sunLongitude) in getMoonPosition() 1032 double annual = 0.1858*PI/180 * ::sin(meanAnomalySun); in getMoonPosition() 1033 double a3 = 0.3700*PI/180 * ::sin(meanAnomalySun); in getMoonPosition() [all …]
|
/external/ppp/pppd/plugins/radius/ |
D | sendserver.c | 197 struct sockaddr_in *sin; in rc_send_server() local 244 sin = (struct sockaddr_in *) & salocal; in rc_send_server() 245 memset ((char *) sin, '\0', (size_t) length); in rc_send_server() 246 sin->sin_family = AF_INET; in rc_send_server() 247 sin->sin_addr.s_addr = htonl(INADDR_ANY); in rc_send_server() 248 sin->sin_port = htons ((unsigned short) 0); in rc_send_server() 249 if (bind (sockfd, (struct sockaddr *) sin, length) < 0 || in rc_send_server() 250 getsockname (sockfd, (struct sockaddr *) sin, &length) < 0) in rc_send_server() 288 sin = (struct sockaddr_in *) & saremote; in rc_send_server() 289 memset ((char *) sin, '\0', sizeof (saremote)); in rc_send_server() [all …]
|
/external/webkit/SunSpider/tests/ |
D | 3d-morph.js | 32 var sin = Math.sin 33 var f30 = -(50 * sin(f*Math.PI*2)) 37 a[3*(i*nx+j)+1] = sin((j-1) * PI2nx ) * -f30
|
D | 3d-cube.js | 148 var Sin = Math.sin(a); 162 var Sin = Math.sin(a); 176 var Sin = Math.sin(a);
|
/external/tcpdump/ |
D | print-esp.c | 61 struct sockaddr_in sin; member 184 struct sockaddr_in *sin; in esp_print_decode_onesecret() local 199 sin = (struct sockaddr_in *)&sa1.daddr; in esp_print_decode_onesecret() 209 if (inet_pton(AF_INET, spikey, &sin->sin_addr) == 1) { in esp_print_decode_onesecret() 211 sin->sin_len = sizeof(struct sockaddr_in); in esp_print_decode_onesecret() 213 sin->sin_family = AF_INET; in esp_print_decode_onesecret() 438 struct sockaddr_in *sin = (struct sockaddr_in *)&sa->daddr; in esp_print() local 440 sin->sin_family == AF_INET && in esp_print() 441 sin->sin_addr.s_addr == ip->ip_dst.s_addr) { in esp_print()
|
D | print-isakmp.c | 182 struct sockaddr_in *sin; in cookie_record() local 202 sin = (struct sockaddr_in *)&cookiecache[ninitiator].iaddr; in cookie_record() 204 sin->sin_len = sizeof(struct sockaddr_in); in cookie_record() 206 sin->sin_family = AF_INET; in cookie_record() 207 memcpy(&sin->sin_addr, &ip->ip_src, sizeof(ip->ip_src)); in cookie_record() 208 sin = (struct sockaddr_in *)&cookiecache[ninitiator].raddr; in cookie_record() 210 sin->sin_len = sizeof(struct sockaddr_in); in cookie_record() 212 sin->sin_family = AF_INET; in cookie_record() 213 memcpy(&sin->sin_addr, &ip->ip_dst, sizeof(ip->ip_dst)); in cookie_record() 252 struct sockaddr_in *sin; in cookie_sidecheck() local [all …]
|
/external/ipsec-tools/src/racoon/ |
D | 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 = 498 && otolen >= sizeof(*sin)) { [all …]
|
D | grabmyaddr.c | 194 struct sockaddr_in *sin = (void*)I->ifa_addr; in recvaddrs() local 195 memcpy(&sin->sin_addr, RTA_DATA(rta_tb[IFA_LOCAL]), 4); in recvaddrs() 197 struct sockaddr_in6 *sin = (void*)I->ifa_addr; in recvaddrs() local 198 memcpy(&sin->sin6_addr, RTA_DATA(rta_tb[IFA_LOCAL]), 16); in recvaddrs() 199 if (IN6_IS_ADDR_LINKLOCAL(&sin->sin6_addr)) in recvaddrs() 200 sin->sin6_scope_id = I->ifa_ifindex; in recvaddrs()
|
/external/elfutils/libelf-po/ |
D | Rules-quot | 3 DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin… 34 en@quot.insert-header: insert-header.sin 35 sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header 37 en@boldquot.insert-header: insert-header.sin 38 …sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert…
|
D | Makefile | 330 DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin… 361 en@quot.insert-header: insert-header.sin 362 sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header 364 en@boldquot.insert-header: insert-header.sin 365 …sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert…
|
/external/elfutils/po/ |
D | Rules-quot | 3 DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin… 34 en@quot.insert-header: insert-header.sin 35 sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header 37 en@boldquot.insert-header: insert-header.sin 38 …sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert…
|
D | Makefile | 361 DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin… 392 en@quot.insert-header: insert-header.sin 393 sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header 395 en@boldquot.insert-header: insert-header.sin 396 …sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert…
|
/external/e2fsprogs/po/ |
D | Rules-quot | 3 DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin… 39 en@quot.insert-header: insert-header.sin 40 sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header 42 en@boldquot.insert-header: insert-header.sin 43 …sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert…
|
/external/skia/src/core/ |
D | SkCordic.cpp | 65 SkFixed sin = 0; in SkCordicSinCos() local 67 SkCircularRotation(&cos, &sin, &scaledRadians); in SkCordicSinCos() 69 scaled.setMul(sin, 0x6488d); in SkCordicSinCos() 70 sin = scaled.fHi; in SkCordicSinCos() 75 return sin; in SkCordicSinCos() 81 int32_t sin = SkCordicSinCos(a, &cos); in SkCordicTan() local 82 return SkFixedDiv(sin, cos); in SkCordicTan()
|
/external/dropbear/ |
D | fake-rfc2553.c | 49 struct sockaddr_in *sin = (struct sockaddr_in *)sa; in getnameinfo() local 54 snprintf(tmpserv, sizeof(tmpserv), "%d", ntohs(sin->sin_port)); in getnameinfo() 61 if (strlcpy(host, inet_ntoa(sin->sin_addr), in getnameinfo() 67 hp = gethostbyaddr((char *)&sin->sin_addr, in getnameinfo()
|
/external/skia/src/animator/ |
D | SkDisplayMath.cpp | 69 SK_FUNCTION(sin), 141 SK_MEMBER_FUNCTION(sin, Float), 217 case SK_FUNCTION(sin): in executeFunction()
|
/external/speex/libspeex/ |
D | _kiss_fft_guts.h | 134 # define KISS_FFT_SIN(phase) floor(MIN(32767,MAX(-32767,.5+32768 * sin (phase)))) 138 # define KISS_FFT_SIN(phase) _mm_set1_ps( sin(phase) ) 142 # define KISS_FFT_SIN(phase) (kiss_fft_scalar) sin(phase)
|
D | scal.c | 105 st->vorbis_win[i] = sin(.5*M_PI* sin(M_PI*i/(2*frame_size))*sin(M_PI*i/(2*frame_size)) ); in speex_decorrelate_new()
|
/external/webkit/WebCore/svg/ |
D | SVGParserUtilities.cpp | 546 sin_th = sin(angle * (piDouble / 180.0)); in calculateArc() 638 sin_th = sin(angle * (piDouble / 180.0)); in calculateArc() 648 t = (8.0 / 3.0) * sin(th_half * 0.5) * sin(th_half * 0.5) / sin(th_half); in calculateArc() 649 x1 = xc + cos(_th0) - t * sin(_th0); in calculateArc() 650 y1 = yc + sin(_th0) + t * cos(_th0); in calculateArc() 652 y3 = yc + sin(_th1); in calculateArc() 653 x2 = x3 + t * sin(_th1); in calculateArc()
|
/external/opencore/codecs_v2/standalone_headerfiles/ |
D | arbt_math.h | 30 #define arbt_sin sin
|
/external/qemu/slirp2/ |
D | ip_input.c | 491 ipaddr_t *sin, dst; local 619 sin = (struct in_addr *)(cp + ipt->ipt_ptr - 1); 635 (caddr_t)sin, sizeof(struct in_addr)); 643 bcopy((caddr_t)sin, (caddr_t)&ipaddr.sin_addr,
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_5/Scope/ |
D | regress-192226.js | 63 test1(sin);
|