Searched defs:sin (Results 1 - 25 of 86) sorted by relevance

1234

/external/ipsec-tools/src/racoon/
H A Dsockmisc.h40 struct sockaddr_in sin; member in union:netaddr::__anon22455
/external/clang/test/Sema/
H A Dwarn-shadow.c19 int sin; // okay; 'sin' has not been declared, even though it's a builtin. local
/external/eigen/Eigen/src/plugins/
H A DArrayCwiseUnaryOps.h34 * \sa pow(), log(), sin(), cos()
73 * \sa sin(), acos()
90 sin() const function
113 * \sa sin(), acos()
126 * \sa cos(), sin()
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
H A DStemFunction.h38 res = -std::sin(x);
44 res = std::sin(x);
51 static Scalar sin(Scalar x, int n) function in class:Eigen::StdStemFunctions
56 res = std::sin(x);
62 res = -std::sin(x);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowFloatMath.java37 public static float sin(float angle) { method in class:ShadowFloatMath
38 return (float) Math.sin(angle);
/external/chromium_org/third_party/boringssl/src/crypto/bio/
H A Dbio_test.c32 struct sockaddr_in sin; local
33 socklen_t sockaddr_len = sizeof(sin);
38 memset(&sin, 0, sizeof(sin));
39 sin.sin_family = AF_INET;
40 if (!inet_aton("127.0.0.1", &sin.sin_addr)) {
45 if (bind(listening_sock, (struct sockaddr *)&sin, sizeof(sin)) != 0) {
55 if (getsockname(listening_sock, (struct sockaddr *)&sin, &sockaddr_len) ||
56 sockaddr_len != sizeof(sin)) {
[all...]
H A Dconnect.c109 const struct sockaddr_in *sin; local
115 sin = (const struct sockaddr_in*) ss;
116 memcpy(ipv4, &sin->sin_addr, 4);
/external/chromium_org/v8/test/mjsunit/
H A Dsin-cos.js28 // Test Math.sin and Math.cos.
32 assertEquals("-Infinity", String(1/Math.sin(-0)));
38 return Math.sin(x) + Math.cos(x) + Math.tan(x);
49 assertEquals(0, Math.sin(0));
50 assertEquals(1, Math.sin(Math.PI / 2));
64 assertTrue(Math.sin(x) != Math.cos(x));
68 assertTrue(Math.sin(x) != Math.log(x));
87 function sin(x) { function
136 var err_sin = abs_error(Math.sin, sin,
[all...]
/external/aac/libFDK/src/
H A DFDK_trigFcts.cpp316 void fixp_cos_sin (FIXP_DBL x, int scale, FIXP_DBL *cos, FIXP_DBL *sin) argument
324 *sin = sine + error1;
/external/chromium_org/third_party/boringssl/src/tool/
H A Dclient.cc91 struct sockaddr_in *sin = local
94 inet_ntop(result->ai_family, &sin->sin_addr, buf, sizeof(buf)),
95 ntohs(sin->sin_port));
/external/dhcpcd/
H A Dlpf.c73 struct sockaddr_in sin; member in union:sockunion
H A Dif-bsd.c71 #define COPYOUT(sin, sa) \
72 sin.s_addr = ((sa) != NULL) ? \
161 struct sockaddr_in *sin; member in union:__anon20422
169 _s.sin->sin_family = AF_INET; \
170 _s.sin->sin_len = sizeof(*_s.sin); \
171 memcpy(&_s.sin->sin_addr, _addr, sizeof(_s.sin->sin_addr)); \
194 struct sockaddr_in sin; member in union:sockunion
217 su.sin
[all...]
/external/eigen/Eigen/src/Eigen2Support/
H A DCwiseOperators.h109 /** \deprecated ArrayBase::sin() */
112 Cwise<ExpressionType>::sin() const function in class:Eigen::Cwise
/external/stlport/src/
H A Dcomplex_trig.cpp66 // sin
69 return complex<_Tp>(::sin(z._M_re) * ::cosh(z._M_im),
73 _STLP_DECLSPEC complex<float> _STLP_CALL sin(const complex<float>& z) function
76 _STLP_DECLSPEC complex<double> _STLP_CALL sin(const complex<double>& z) function
80 _STLP_DECLSPEC complex<long double> _STLP_CALL sin(const complex<long double>& z) function
89 -::sin(z._M_re) * ::sinh(z._M_im));
114 return complex<_Tp>(::sin(re2) / den, ::sinh(im2) / den);
134 ::cosh(z._M_re) * ::sin(z._M_im));
153 ::sinh(z._M_re) * ::sin(z._M_im));
177 return complex<_Tp>(::sinh(re2) / den, ::sin(im
[all...]
/external/android-clat/
H A Dconfig.c226 struct sockaddr_in sin = { .sin_family = AF_INET, .sin_addr = { addr }, .sin_port = 53 }; local
227 socklen_t len = sizeof(sin);
228 int inuse = connect(s, (struct sockaddr *) &sin, sizeof(sin)) == 0 &&
229 getsockname(s, (struct sockaddr *) &sin, &len) == 0 &&
230 (size_t) len >= sizeof(sin) &&
231 sin.sin_addr.s_addr == addr;
/external/chromium_org/third_party/skia/samplecode/
H A DSampleVertices.cpp177 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos); local
178 v[i+1].set(cos, sin);
205 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos); local
206 v[i*2 + 0].set(cos/2, sin/2);
207 v[i*2 + 1].set(cos, sin);
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
H A Dsctp_sysctl.c310 struct sockaddr_in *sin; local
312 sin = &sctp_ifa->address.sin;
313 if (sin->sin_addr.s_addr == 0)
317 &sin->sin_addr) != 0) {
321 if ((ipv4_local_scope == 0) && (IN4_ISPRIVATE_ADDRESS(&sin->sin_addr)))
/external/iputils/
H A Dtftpd.c88 struct sockaddr_in sin; member in union:__anon22641
H A Dtracepath.c168 struct sockaddr_in *sin = (struct sockaddr_in*)(e+1); local
172 inet_ntop(AF_INET, &sin->sin_addr, abuf, sizeof(abuf));
181 h = gethostbyaddr((char *) &sin->sin_addr, sizeof(sin->sin_addr), AF_INET);
/external/ppp/pppd/plugins/radius/
H A Dsendserver.c197 struct sockaddr_in *sin; local
244 sin = (struct sockaddr_in *) & salocal;
245 memset ((char *) sin, '\0', (size_t) length);
246 sin->sin_family = AF_INET;
247 sin->sin_addr.s_addr = htonl(INADDR_ANY);
248 sin->sin_port = htons ((unsigned short) 0);
249 if (bind (sockfd, (struct sockaddr *) sin, length) < 0 ||
250 getsockname (sockfd, (struct sockaddr *) sin, &length) < 0)
288 sin = (struct sockaddr_in *) & saremote;
289 memset ((char *) sin, '\
[all...]
/external/qemu/slirp/
H A Dip_input.c509 struct in_addr *sin, dst; local
637 sin = (struct in_addr *)(cp + ipt->ipt_ptr - 1);
653 (caddr_t)sin, sizeof(struct in_addr));
661 bcopy((caddr_t)sin, (caddr_t)&ipaddr.sin_addr,
/external/qemu/slirp-android/
H A Dip_input.c509 ipaddr_t *sin, dst; local
637 sin = (struct in_addr *)(cp + ipt->ipt_ptr - 1);
653 (caddr_t)sin, sizeof(struct in_addr));
661 bcopy((caddr_t)sin, (caddr_t)&ipaddr.sin_addr,
/external/skia/samplecode/
H A DSampleVertices.cpp177 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos); local
178 v[i+1].set(cos, sin);
205 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos); local
206 v[i*2 + 0].set(cos/2, sin/2);
207 v[i*2 + 1].set(cos, sin);
/external/wpa_supplicant_8/hostapd/src/radius/
H A Dradius_das.c179 struct sockaddr_in sin; member in union:__anon33734
203 os_strlcpy(abuf, inet_ntoa(from.sin.sin_addr), sizeof(abuf));
204 from_port = ntohs(from.sin.sin_port);
208 if (das->client_addr.u.v4.s_addr != from.sin.sin_addr.s_addr) {
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dhttp_server.c233 struct sockaddr_in sin; local
262 os_memset(&sin, 0, sizeof(sin));
263 sin.sin_family = AF_INET;
264 sin.sin_addr.s_addr = addr->s_addr;
267 sin.sin_port = htons(srv->port);
268 if (bind(srv->fd, (struct sockaddr *) &sin, sizeof(sin)) == 0)

Completed in 528 milliseconds

1234