/external/llvm/test/CodeGen/AMDGPU/ |
D | llvm.sin.ll | 16 %sin = call float @llvm.sin.f32(float %x) 17 store float %sin, float addrspace(1)* %out 29 %sin = call float @llvm.sin.f32(float %y) 30 store float %sin, float addrspace(1)* %out 43 %sin = call float @llvm.sin.f32(float %y) 44 store float %sin, float addrspace(1)* %out 56 %sin = call float @llvm.sin.f32(float %y) 57 store float %sin, float addrspace(1)* %out 70 %sin = call float @llvm.sin.f32(float %y) 71 store float %sin, float addrspace(1)* %out [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/ |
D | llvm.sin.ll | 16 %sin = call float @llvm.sin.f32(float %x) 17 store float %sin, float addrspace(1)* %out 29 %sin = call float @llvm.sin.f32(float %y) 30 store float %sin, float addrspace(1)* %out 43 %sin = call float @llvm.sin.f32(float %y) 44 store float %sin, float addrspace(1)* %out 56 %sin = call float @llvm.sin.f32(float %y) 57 store float %sin, float addrspace(1)* %out 70 %sin = call float @llvm.sin.f32(float %y) 71 store float %sin, float addrspace(1)* %out [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/ |
D | sincos-expansion.ll | 5 %sin = call float @sinf(float %f) readnone 8 %val = fadd float %sin, %cos 14 %sin = call float @sinf(float %f) 18 %val = fadd float %sin, %cos 24 %sin = call double @sin(double %f) readnone 26 %val = fadd double %sin, %cos 33 %sin = call double @sin(double %f) 35 %val = fadd double %sin, %cos 36 ; CHECK: bl sin 43 %sin = call fp128 @sinl(fp128 %f) readnone [all …]
|
D | sincospow-vector-expansion.ll | 15 ; CHECK: bl sin 16 ; CHECK: bl sin 17 %1 = call <2 x double> @llvm.sin.v2f64(<2 x double> %v1) 32 declare <2 x double> @llvm.sin.v2f64(<2 x double>) 45 ; CHECK: bl sin 46 ; CHECK: bl sin 47 %1 = call <2 x float> @llvm.sin.v2f32(<2 x float> %v1) 60 declare <2 x float> @llvm.sin.v2f32(<2 x float>) 75 ; CHECK: bl sin 76 ; CHECK: bl sin [all …]
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
D | recv_msg_trunc.cc | 17 struct sockaddr_in sin; in main() local 18 socklen_t len = sizeof(sin); in main() 21 sin.sin_family = AF_INET; in main() 23 sin.sin_port = 0; in main() 24 sin.sin_addr.s_addr = INADDR_ANY; in main() 26 assert(bind(fd_1, (struct sockaddr *)&sin, sizeof(sin)) == 0); in main() 28 assert(getsockname(fd_1, (struct sockaddr *)&sin, &len) == 0); in main() 30 (struct sockaddr *)&sin, sizeof(sin)) != -1); in main()
|
/external/iputils/ |
D | rdisc.c | 87 static int join(int sock, struct sockaddr_in *sin); 103 static int sendmcastif(int s, char *packet, int packetlen, struct sockaddr_in *sin, struct interfac… 222 static __inline__ int isbroadcast(struct sockaddr_in *sin) in isbroadcast() argument 224 return (sin->sin_addr.s_addr == INADDR_BROADCAST); in isbroadcast() 227 static __inline__ int ismulticast(struct sockaddr_in *sin) in ismulticast() argument 229 return IN_CLASSD(ntohl(sin->sin_addr.s_addr)); in ismulticast() 540 solicitor(struct sockaddr_in *sin) in solicitor() argument 548 pr_name(sin->sin_addr)); in solicitor() 559 if (isbroadcast(sin)) in solicitor() 561 else if (ismulticast(sin)) in solicitor() [all …]
|
/external/llvm/test/CodeGen/AArch64/ |
D | sincos-expansion.ll | 4 %sin = call float @sinf(float %f) readnone 8 %val = fadd float %sin, %cos 13 %sin = call double @sin(double %f) readnone 15 %val = fadd double %sin, %cos 16 ; CHECK: bl sin 22 %sin = call fp128 @sinl(fp128 %f) readnone 24 %val = fadd fp128 %sin, %cos 31 declare double @sin(double) readonly
|
D | sincospow-vector-expansion.ll | 15 ; CHECK: bl sin 16 ; CHECK: bl sin 17 %1 = call <2 x double> @llvm.sin.v2f64(<2 x double> %v1) 32 declare <2 x double> @llvm.sin.v2f64(<2 x double>) 45 ; CHECK: bl sin 46 ; CHECK: bl sin 47 %1 = call <2 x float> @llvm.sin.v2f32(<2 x float> %v1) 60 declare <2 x float> @llvm.sin.v2f32(<2 x float>) 75 ; CHECK: bl sin 76 ; CHECK: bl sin [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | negative-sin.ll | 4 declare double @sin(double %f) 14 ; CHECK-NEXT: callq sin 20 %g = call double @sin(double %f) readonly 26 ; The 'sin' does not need any fast-math-flags for this transform. 31 ; CHECK-NEXT: jmp sin # TAILCALL 33 %g = call double @sin(double %f) readonly 43 ; CHECK-NEXT: jmp sin # TAILCALL 45 %g = call double @sin(double %f) readonly 58 ; CHECK-NEXT: callq sin 63 %g = call double @sin(double %f) readonly [all …]
|
/external/skqp/gm/ |
D | strokedlines.cpp | 25 SkScalar cos, sin; in draw_fins() local 28 sin = SkScalarSinCos(angle + (SK_ScalarPI/4), &cos); in draw_fins() 29 sin *= kRadius / 2.0f; in draw_fins() 34 p.lineTo(offset.fX + cos, offset.fY + sin); in draw_fins() 38 sin = SkScalarSinCos(angle - (SK_ScalarPI/4), &cos); in draw_fins() 39 sin *= kRadius / 2.0f; in draw_fins() 44 p.lineTo(offset.fX + cos, offset.fY + sin); in draw_fins() 53 SkScalar sin, cos, angle = 0.0f; in draw_snowflake() local 55 sin = SkScalarSinCos(angle, &cos); in draw_snowflake() 56 sin *= kRadius; in draw_snowflake() [all …]
|
/external/skia/gm/ |
D | strokedlines.cpp | 25 SkScalar cos, sin; in draw_fins() local 28 sin = SkScalarSinCos(angle + (SK_ScalarPI/4), &cos); in draw_fins() 29 sin *= kRadius / 2.0f; in draw_fins() 34 p.lineTo(offset.fX + cos, offset.fY + sin); in draw_fins() 38 sin = SkScalarSinCos(angle - (SK_ScalarPI/4), &cos); in draw_fins() 39 sin *= kRadius / 2.0f; in draw_fins() 44 p.lineTo(offset.fX + cos, offset.fY + sin); in draw_fins() 53 SkScalar sin, cos, angle = 0.0f; in draw_snowflake() local 55 sin = SkScalarSinCos(angle, &cos); in draw_snowflake() 56 sin *= kRadius; in draw_snowflake() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | fdiv-sin-cos.ll | 6 ; CHECK-NEXT: [[TMP1:%.*]] = call double @llvm.sin.f64(double [[A:%.*]]) 11 %1 = call double @llvm.sin.f64(double %a) 19 ; CHECK-NEXT: [[TMP1:%.*]] = call double @llvm.sin.f64(double [[A:%.*]]) 24 %1 = call double @llvm.sin.f64(double %a) 35 %1 = call double @llvm.sin.f64(double %a) 46 %1 = call reassoc double @llvm.sin.f64(double %a) 54 ; CHECK-NEXT: [[TMP1:%.*]] = call reassoc double @llvm.sin.f64(double [[A:%.*]]) 60 %1 = call reassoc double @llvm.sin.f64(double %a) 72 %1 = call reassoc double @llvm.sin.f64(double %a) 83 %1 = call reassoc float @llvm.sin.f32(float %a) [all …]
|
D | fdiv-cos-sin.ll | 7 ; CHECK-NEXT: [[TMP2:%.*]] = call double @llvm.sin.f64(double [[A]]) 12 %2 = call double @llvm.sin.f64(double %a) 20 ; CHECK-NEXT: [[TMP2:%.*]] = call reassoc double @llvm.sin.f64(double [[A]]) 25 %2 = call reassoc double @llvm.sin.f64(double %a) 37 %2 = call double @llvm.sin.f64(double %a) 49 %2 = call double @llvm.sin.f64(double %a) 57 ; CHECK-NEXT: [[TMP2:%.*]] = call reassoc double @llvm.sin.f64(double [[A]]) 63 %2 = call reassoc double @llvm.sin.f64(double %a) 76 %2 = call reassoc double @llvm.sin.f64(double %a) 88 %2 = call reassoc float @llvm.sin.f32(float %a) [all …]
|
/external/libcxx/test/std/strings/basic.string/string.cons/ |
D | implicit_deduction_guides.pass.cpp | 81 const std::string sin("abc"); in main() local 82 std::basic_string s(sin, (size_t)1); in main() 95 const std::string sin("abc"); in main() local 96 std::basic_string s(sin, (size_t)1, std::allocator<char>{}); in main() 109 const std::string sin("abc"); in main() local 110 std::basic_string s(sin, (size_t)1, (size_t)3); in main() 123 const std::string sin("abc"); in main() local 124 std::basic_string s(sin, (size_t)1, (size_t)3, std::allocator<char>{}); in main() 194 const std::string sin("abc"); in main() local 195 std::basic_string s(sin); in main() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | CalendarAstronomer.java | 446 double sinE = Math.sin(obliq); in eclipticToEquatorial() 449 double sinL = Math.sin(eclipLong); in eclipticToEquatorial() 452 double sinB = Math.sin(eclipLat); in eclipticToEquatorial() 482 double sinH = Math.sin(H); in eclipticToHorizon() 484 double sinD = Math.sin(equatorial.declination); in eclipticToHorizon() 486 double sinL = Math.sin(fLatitude); in eclipticToHorizon() 490 double azimuth = Math.atan2(-cosD*cosL*sinH, sinD - sinL * Math.sin(altitude)); in eclipticToHorizon() 1033 double evection = 1.2739*PI/180 * Math.sin(2 * (meanLongitude - sunLong) 1035 double annual = 0.1858*PI/180 * Math.sin(meanAnomalySun); 1036 double a3 = 0.3700*PI/180 * Math.sin(meanAnomalySun); [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | CalendarAstronomer.java | 451 double sinE = Math.sin(obliq); in eclipticToEquatorial() 454 double sinL = Math.sin(eclipLong); in eclipticToEquatorial() 457 double sinB = Math.sin(eclipLat); in eclipticToEquatorial() 487 double sinH = Math.sin(H); in eclipticToHorizon() 489 double sinD = Math.sin(equatorial.declination); in eclipticToHorizon() 491 double sinL = Math.sin(fLatitude); in eclipticToHorizon() 495 double azimuth = Math.atan2(-cosD*cosL*sinH, sinD - sinL * Math.sin(altitude)); in eclipticToHorizon() 1039 double evection = 1.2739*PI/180 * Math.sin(2 * (meanLongitude - sunLong) 1041 double annual = 0.1858*PI/180 * Math.sin(meanAnomalySun); 1042 double a3 = 0.3700*PI/180 * Math.sin(meanAnomalySun); [all …]
|
/external/libevent/sample/ |
D | hello-world.c | 45 struct sockaddr_in sin; in main() local 57 memset(&sin, 0, sizeof(sin)); in main() 58 sin.sin_family = AF_INET; in main() 59 sin.sin_port = htons(PORT); in main() 63 (struct sockaddr*)&sin, in main() 64 sizeof(sin)); in main()
|
/external/libevent/test/ |
D | regress_listener.c | 76 struct sockaddr_in sin; in regress_pick_a_port() local 90 memset(&sin, 0, sizeof(sin)); in regress_pick_a_port() 91 sin.sin_family = AF_INET; in regress_pick_a_port() 92 sin.sin_addr.s_addr = htonl(0x7f000001); /* 127.0.0.1 */ in regress_pick_a_port() 93 sin.sin_port = 0; /* "You pick!" */ in regress_pick_a_port() 96 flags, -1, (struct sockaddr *)&sin, sizeof(sin)); in regress_pick_a_port() 99 flags, -1, (struct sockaddr *)&sin, sizeof(sin)); in regress_pick_a_port()
|
/external/python/cpython2/Lib/test/ |
D | test_codeccallbacks.py | 116 sin = u"\xab\u211c\xbb = \u2329\u1234\u20ac\u232a" 118 self.assertEqual(sin.encode("ascii", "test.xmlcharnamereplace"), sout) 120 self.assertEqual(sin.encode("latin-1", "test.xmlcharnamereplace"), sout) 122 self.assertEqual(sin.encode("iso-8859-15", "test.xmlcharnamereplace"), sout) 144 sin = u"\xac\u1234\u20ac\u8000" 146 self.assertEqual(sin.encode("ascii", "test.uninamereplace"), sout) 149 self.assertEqual(sin.encode("latin-1", "test.uninamereplace"), sout) 152 self.assertEqual(sin.encode("iso-8859-15", "test.uninamereplace"), sout) 157 sin = u"a\xac\u1234\u20ac\u8000" 159 sin += unichr(sys.maxunicode) [all …]
|
/external/libevent/ |
D | evutil.c | 614 const struct sockaddr_in *sin = (struct sockaddr_in *)sa; in evutil_found_ifaddr() local 615 ev_uint32_t addr = ntohl(sin->sin_addr.s_addr); in evutil_found_ifaddr() 733 struct sockaddr_in sin, sin_out; in evutil_check_interfaces() local 751 memset(&sin, 0, sizeof(sin)); in evutil_check_interfaces() 752 sin.sin_family = AF_INET; in evutil_check_interfaces() 753 sin.sin_port = htons(53); in evutil_check_interfaces() 754 r = evutil_inet_pton(AF_INET, "18.244.0.188", &sin.sin_addr); in evutil_check_interfaces() 768 connect(fd, (struct sockaddr*)&sin, sizeof(sin)) == 0 && in evutil_check_interfaces() 1011 struct sockaddr_in sin; in evutil_getaddrinfo_common_() local 1012 memset(&sin, 0, sizeof(sin)); in evutil_getaddrinfo_common_() [all …]
|
/external/iptables/utils/ |
D | nfsynproxy.c | 93 struct sockaddr_in sin; in probe_host() local 134 memset(&sin, 0, sizeof(sin)); in probe_host() 135 sin.sin_family = AF_INET; in probe_host() 136 sin.sin_port = htons(port); in probe_host() 137 sin.sin_addr.s_addr = inet_addr(host); in probe_host() 139 if (connect(fd, (struct sockaddr *)&sin, sizeof(sin)) < 0) { in probe_host()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getmaps/ |
D | rpc_pmap_getmaps.c | 52 struct sockaddr_in sin; in main() local 59 sin.sin_family = AF_INET; in main() 60 sin.sin_addr.s_addr = *(u_int *) hp->h_addr; in main() 62 ml = pmap_getmaps(&sin); in main() 66 printf("Addr. %u\n", sin.sin_addr.s_addr); in main()
|
/external/icu/icu4c/source/i18n/ |
D | astro.cpp | 467 double sinE = ::sin(obliq); in eclipticToEquatorial() 470 double sinL = ::sin(eclipLong); in eclipticToEquatorial() 473 double sinB = ::sin(eclipLat); in eclipticToEquatorial() 507 double sinH = ::sin(H); in eclipticToHorizon() 509 double sinD = ::sin(equatorial.declination); in eclipticToHorizon() 511 double sinL = ::sin(fLatitude); in eclipticToHorizon() 515 double azimuth = atan2(-cosD*cosL*sinH, sinD - sinL * ::sin(altitude)); in eclipticToHorizon() 603 delta = E - eccentricity * ::sin(E) - meanAnomaly; in trueAnomaly() 1094 double evection = 1.2739*PI/180 * ::sin(2 * (meanLongitude - sunLongitude) in getMoonPosition() 1096 double annual = 0.1858*PI/180 * ::sin(meanAnomalySun); in getMoonPosition() [all …]
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getport/ |
D | rpc_pmap_getport.c | 53 struct sockaddr_in sin; in main() local 60 sin.sin_family = AF_INET; in main() 61 sin.sin_addr.s_addr = *(u_int *) hp->h_addr; in main() 63 getPort = pmap_getport(&sin, progNum, VERSNUM, IPPROTO_UDP); in main() 67 printf("Addr. %u\n", sin.sin_addr.s_addr); in main()
|
/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(rc_own_bind_ipaddress()); 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 …]
|