/external/ltp/testcases/kernel/syscalls/sendfile/ |
D | sendfile05.c | 68 static struct sockaddr_in sin1; /* shared between do_child and create_server */ variable 126 length = sizeof(sin1); in do_child() 127 recvfrom(sockfd, rbuf, 4096, 0, (struct sockaddr *)&sin1, in do_child() 176 socklen_t slen = sizeof(sin1); in create_server() 184 sin1.sin_family = AF_INET; in create_server() 185 sin1.sin_port = 0; /* pick random free port */ in create_server() 186 sin1.sin_addr.s_addr = INADDR_ANY; in create_server() 188 if (bind(sockfd, (struct sockaddr *)&sin1, sizeof(sin1)) < 0) { in create_server() 193 SAFE_GETSOCKNAME(cleanup, sockfd, (struct sockaddr *)&sin1, &slen); in create_server() 214 inet_aton("127.0.0.1", &sin1.sin_addr); in create_server() [all …]
|
D | sendfile06.c | 52 static struct sockaddr_in sin1; variable 110 socklen_t length = sizeof(sin1); in do_child() 115 ret = recvfrom(sockfd, rbuf, 4096, 0, (struct sockaddr *)&sin1, in do_child() 155 socklen_t slen = sizeof(sin1); in create_server() 163 sin1.sin_family = AF_INET; in create_server() 164 sin1.sin_port = 0; /* pick random free port */ in create_server() 165 sin1.sin_addr.s_addr = INADDR_ANY; in create_server() 167 if (bind(sockfd, (struct sockaddr *)&sin1, sizeof(sin1)) < 0) { in create_server() 172 SAFE_GETSOCKNAME(cleanup, sockfd, (struct sockaddr *)&sin1, &slen); in create_server() 194 inet_aton("127.0.0.1", &sin1.sin_addr); in create_server() [all …]
|
D | sendfile02.c | 74 static struct sockaddr_in sin1; /* shared between do_child and create_server */ variable 164 length = sizeof(sin1); in do_child() 165 recvfrom(sockfd, rbuf, 4096, 0, (struct sockaddr *)&sin1, in do_child() 214 socklen_t slen = sizeof(sin1); in create_server() 222 sin1.sin_family = AF_INET; in create_server() 223 sin1.sin_port = 0; /* pick random free port */ in create_server() 224 sin1.sin_addr.s_addr = INADDR_ANY; in create_server() 226 if (bind(sockfd, (struct sockaddr *)&sin1, sizeof(sin1)) < 0) { in create_server() 231 SAFE_GETSOCKNAME(cleanup, sockfd, (struct sockaddr *)&sin1, &slen); in create_server() 252 inet_aton("127.0.0.1", &sin1.sin_addr); in create_server() [all …]
|
D | sendfile04.c | 73 static struct sockaddr_in sin1; /* shared between do_child and create_server */ variable 161 length = sizeof(sin1); in do_child() 162 recvfrom(sockfd, rbuf, 4096, 0, (struct sockaddr *)&sin1, in do_child() 211 socklen_t slen = sizeof(sin1); in create_server() 219 sin1.sin_family = AF_INET; in create_server() 220 sin1.sin_port = 0; /* pick random free port */ in create_server() 221 sin1.sin_addr.s_addr = INADDR_ANY; in create_server() 223 if (bind(sockfd, (struct sockaddr *)&sin1, sizeof(sin1)) < 0) { in create_server() 228 SAFE_GETSOCKNAME(cleanup, sockfd, (struct sockaddr *)&sin1, &slen); in create_server() 249 inet_aton("127.0.0.1", &sin1.sin_addr); in create_server() [all …]
|
/external/ltp/testcases/kernel/syscalls/sendto/ |
D | sendto01.c | 51 static struct sockaddr_in sin1, sin2; variable 87 .to = &sin1, 88 .tolen = sizeof(sin1), 101 .to = &sin1, 102 .tolen = sizeof(sin1), 117 .to = &sin1, 118 .tolen = sizeof(sin1), 146 .to = &sin1, 147 .tolen = sizeof(sin1), 160 .to = &sin1, [all …]
|
/external/ltp/testcases/kernel/syscalls/sendmsg/ |
D | sendmsg01.c | 58 static struct sockaddr_in sin1, sin2; variable 114 .to = (struct sockaddr *)&sin1, 115 .tolen = sizeof(sin1), 131 .to = (struct sockaddr *)&sin1, 132 .tolen = sizeof(sin1), 148 .to = (struct sockaddr *)&sin1, 149 .tolen = sizeof(sin1), 182 .to = (struct sockaddr *)&sin1, 183 .tolen = sizeof(sin1), 199 .to = (struct sockaddr *)&sin1, [all …]
|
/external/ltp/testcases/kernel/syscalls/connect/ |
D | connect01.c | 62 struct sockaddr_in sin1, sin2, sin3, sin4; variable 83 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&sin1, 94 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&sin1, 96 0, 0, 0, (struct sockaddr *)&sin1, 97 sizeof(sin1), -1, ENOTSOCK, setup0, cleanup0, 100 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&sin1, 101 sizeof(sin1), -1, EISCONN, setup2, cleanup1, 183 pid = start_server(&sin1); in setup() 237 SAFE_CONNECT(cleanup, s, (const struct sockaddr *)&sin1, sizeof(sin1)); in setup2()
|
/external/ltp/testcases/kernel/syscalls/bind/ |
D | bind01.c | 61 struct sockaddr_in sin1, sin2, sin3; variable 87 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&sin1, 89 0, 0, 0, (struct sockaddr *)&sin1, 90 sizeof(sin1), -1, ENOTSOCK, setup1, cleanup1, 153 sin1.sin_family = AF_INET; in setup() 155 sin1.sin_port = tst_get_unused_port(NULL, AF_INET, SOCK_STREAM); in setup() 156 sin1.sin_addr.s_addr = INADDR_ANY; in setup()
|
/external/libevent/test/ |
D | regress_listener.c | 79 struct sockaddr_in *sin1, *sin2; in regress_pick_a_port() local 111 sin1 = (struct sockaddr_in*)&ss1; in regress_pick_a_port() 113 tt_int_op(ntohl(sin1->sin_addr.s_addr), ==, 0x7f000001); in regress_pick_a_port() 115 tt_int_op(sin1->sin_port, !=, sin2->sin_port); in regress_pick_a_port()
|
/external/ltp/testcases/kernel/syscalls/recv/ |
D | recv01.c | 63 struct sockaddr_in sin1, sin2, sin3, sin4; variable 166 pid = start_server(&sin1); in setup() 199 connect(s, (struct sockaddr *)&sin1, sizeof(sin1)) < 0) { in setup1()
|
/external/ltp/testcases/kernel/syscalls/recvfrom/ |
D | recvfrom01.c | 63 struct sockaddr_in sin1, from; variable 189 pid = start_server(&sin1); in setup() 221 connect(s, (struct sockaddr *)&sin1, sizeof(sin1)) < 0) { in setup1()
|
/external/ltp/testcases/kernel/syscalls/send/ |
D | send01.c | 52 static struct sockaddr_in sin1; variable 302 server_pid = start_server(&sin1); in setup() 330 SAFE_CONNECT(cleanup, s, (const struct sockaddr *)&sin1, sizeof(sin1)); in setup1()
|
/external/ltp/testcases/kernel/syscalls/recvmsg/ |
D | recvmsg01.c | 67 struct sockaddr_in sin1, from; variable 266 pid = start_server(&sin1, &sun1); in setup() 302 SAFE_CONNECT(cleanup, s, (struct sockaddr *)&sin1, in setup1() 303 sizeof(sin1)); in setup1()
|
/external/libxaac/decoder/ |
D | ixheaacd_aac_imdct.c | 139 WORD16 cos = 0, cos1 = 0, sin = 0, sin1 = 0; in ixheaacd_pretwiddle_compute_dec() local 202 sin1 = *cos_sin_ptr; in ixheaacd_pretwiddle_compute_dec() 208 ixheaacd_mult32x16in32(tempr1, sin1)); in ixheaacd_pretwiddle_compute_dec() 213 tempi1, sin1); in ixheaacd_pretwiddle_compute_dec() 277 sin1 = *cos_sin_ptr; in ixheaacd_pretwiddle_compute_dec() 283 ixheaacd_mult32x16in32(tempr1, sin1)); in ixheaacd_pretwiddle_compute_dec() 288 tempi1, sin1); in ixheaacd_pretwiddle_compute_dec() 298 WORD16 cos, cos1, sin, sin1; in ixheaacd_post_twiddle_dec() local 367 sin1 = *cos_sin_ptr; in ixheaacd_post_twiddle_dec() 372 outi = ixheaacd_sub32(ixheaacd_mult32x16in32(tempr, sin1), in ixheaacd_post_twiddle_dec() [all …]
|
/external/ltp/testcases/kernel/device-drivers/include/ |
D | includeTest.c | 260 struct sockaddr_in sin1, sin2; in test_lockd() local 264 nlm_cmp_addr(&sin1, &sin2); in test_lockd()
|
/external/libevent/ |
D | evutil.c | 2211 const struct sockaddr_in *sin1, *sin2; in evutil_sockaddr_cmp() local 2212 sin1 = (const struct sockaddr_in *)sa1; in evutil_sockaddr_cmp() 2214 if (sin1->sin_addr.s_addr < sin2->sin_addr.s_addr) in evutil_sockaddr_cmp() 2216 else if (sin1->sin_addr.s_addr > sin2->sin_addr.s_addr) in evutil_sockaddr_cmp() 2219 (r = ((int)sin1->sin_port - (int)sin2->sin_port))) in evutil_sockaddr_cmp() 2226 const struct sockaddr_in6 *sin1, *sin2; in evutil_sockaddr_cmp() local 2227 sin1 = (const struct sockaddr_in6 *)sa1; in evutil_sockaddr_cmp() 2229 if ((r = memcmp(sin1->sin6_addr.s6_addr, sin2->sin6_addr.s6_addr, 16))) in evutil_sockaddr_cmp() 2232 (r = ((int)sin1->sin6_port - (int)sin2->sin6_port))) in evutil_sockaddr_cmp()
|
/external/skia/src/core/ |
D | SkMatrix.cpp | 1722 SkScalar cos1, sin1; in SkDecomposeUpper2x2() local 1756 sin1 = 0; in SkDecomposeUpper2x2() 1773 cos1 = SkDoubleToScalar(Sb); sin1 = SkDoubleToScalar(w1 - Sa); in SkDecomposeUpper2x2() 1774 SkScalar reciplen = SkScalarInvert(SkScalarSqrt(cos1*cos1 + sin1*sin1)); in SkDecomposeUpper2x2() 1776 sin1 *= reciplen; in SkDecomposeUpper2x2() 1779 cos2 = cos1*cosQ - sin1*sinQ; in SkDecomposeUpper2x2() 1780 sin2 = sin1*cosQ + cos1*sinQ; in SkDecomposeUpper2x2() 1783 sin1 = -sin1; in SkDecomposeUpper2x2() 1792 rotation1->fY = sin1; in SkDecomposeUpper2x2()
|
/external/skqp/src/core/ |
D | SkMatrix.cpp | 1710 SkScalar cos1, sin1; in SkDecomposeUpper2x2() local 1744 sin1 = 0; in SkDecomposeUpper2x2() 1761 cos1 = SkDoubleToScalar(Sb); sin1 = SkDoubleToScalar(w1 - Sa); in SkDecomposeUpper2x2() 1762 SkScalar reciplen = SkScalarInvert(SkScalarSqrt(cos1*cos1 + sin1*sin1)); in SkDecomposeUpper2x2() 1764 sin1 *= reciplen; in SkDecomposeUpper2x2() 1767 cos2 = cos1*cosQ - sin1*sinQ; in SkDecomposeUpper2x2() 1768 sin2 = sin1*cosQ + cos1*sinQ; in SkDecomposeUpper2x2() 1771 sin1 = -sin1; in SkDecomposeUpper2x2() 1780 rotation1->fY = sin1; in SkDecomposeUpper2x2()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SLPVectorizer/X86/ |
D | call.ll | 26 %sin1 = tail call double @sin(double %a0) nounwind readnone 28 store double %sin1, double* %b, align 8
|
/external/eigen/unsupported/Eigen/ |
D | MatrixFunctions | 306 \cos1 & -\sin1 & 0 \\ 307 \sin1 & \cos1 & 0 \\
|