Home
last modified time | relevance | path

Searched refs:sin (Results 1 – 25 of 26) sorted by relevance

12

/bionic/libc/bionic/
Dbindresvport.c39 int bindresvport(int sd, struct sockaddr_in *sin) in bindresvport() argument
45 if (sin == NULL) { in bindresvport()
46 sin = &sin0; in bindresvport()
47 memset( sin, 0, sizeof *sin ); in bindresvport()
48 sin->sin_family = AF_INET; in bindresvport()
49 } else if (sin->sin_family != AF_INET) { in bindresvport()
63 sin->sin_port = htons(port); in bindresvport()
65 ret = bind(sd, (struct sockaddr*)sin, sizeof(*sin)); in bindresvport()
/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_sin.c55 sin(double x) in sin() function
88 __weak_reference(sin, sinl);
De_jn.c95 case 0: temp = cos(x)+sin(x); break; in __ieee754_jn()
96 case 1: temp = -cos(x)+sin(x); break; in __ieee754_jn()
97 case 2: temp = -cos(x)-sin(x); break; in __ieee754_jn()
98 case 3: temp = cos(x)-sin(x); break; in __ieee754_jn()
250 case 0: temp = sin(x)-cos(x); break; in __ieee754_yn()
251 case 1: temp = -sin(x)-cos(x); break; in __ieee754_yn()
252 case 2: temp = -sin(x)+cos(x); break; in __ieee754_yn()
253 case 3: temp = sin(x)+cos(x); break; in __ieee754_yn()
Ds_csinh.c67 return (cpack(sinh(x) * cos(y), cosh(x) * sin(y))); in csinh()
73 return (cpack(copysign(h, x) * cos(y), h * sin(y))); in csinh()
81 return (cpack(h * cos(y), h * h * sin(y))); in csinh()
133 return (cpack(x * cos(y), INFINITY * sin(y))); in csinh()
Ds_ccosh.c67 return (cpack(cosh(x) * cos(y), sinh(x) * sin(y))); in ccosh()
73 return (cpack(h * cos(y), copysign(h, x) * sin(y))); in ccosh()
81 return (cpack(h * h * cos(y), h * sin(y))); in ccosh()
132 return (cpack((x * x) * cos(y), x * sin(y))); in ccosh()
Ds_cexp.c57 return (cpack(cos(y), sin(y))); in cexp()
87 return (cpack(exp_x * cos(y), exp_x * sin(y))); in cexp()
Ds_ctanh.c107 return (cpack(x, copysign(0, isinf(y) ? y : sin(y) * cos(y)))); in ctanh()
125 4 * sin(y) * cos(y) * exp_mx * exp_mx)); in ctanh()
Dk_exp.c107 sin(y) * exp_x * scale1 * scale2)); in __ldexp_cexp()
De_j1.c96 s = sin(y); in __ieee754_j1()
155 s = sin(x); in __ieee754_y1()
De_j0.c95 s = sin(x); in __ieee754_j0()
169 s = sin(x); in __ieee754_y0()
/bionic/benchmarks/
Dmath_benchmark.cpp87 d += sin(d); in Run()
102 d += sin(d); in Run()
118 d += sin(d); in Run()
/bionic/libc/include/netinet/
Din.h50 extern int bindresvport (int sd, struct sockaddr_in *sin);
/bionic/libc/dns/resolv/
Dres_init.c205 u[nserv].sin.sin_addr = inet_makeaddr(IN_LOOPBACKNET, 1); in __res_vinit()
207 u[nserv].sin.sin_addr.s_addr = INADDR_ANY; in __res_vinit()
209 u[nserv].sin.sin_family = AF_INET; in __res_vinit()
210 u[nserv].sin.sin_port = htons(NAMESERVER_PORT); in __res_vinit()
212 u[nserv].sin.sin_len = sizeof(struct sockaddr_in); in __res_vinit()
239 statp->_u._ext.ext->nsaddrs[0].sin = statp->nsaddr; in __res_vinit()
684 switch (set->sin.sin_family) { in res_setservers()
686 size = sizeof(set->sin); in res_setservers()
689 &set->sin, size); in res_setservers()
692 &set->sin, size); in res_setservers()
[all …]
Dres_send.c169 struct sockaddr_in sin; member
185 u.sin.sin_family = family; in random_bind()
186 slen = sizeof u.sin; in random_bind()
202 u.sin.sin_port = htons(port); in random_bind()
213 u.sin.sin_port = 0; in random_bind()
463 EXT(statp).ext->nsaddrs[ns].sin = in res_nsend()
Dres_debug.c730 switch (u.sin.sin_family) { in p_sockun()
732 inet_ntop(AF_INET, &u.sin.sin_addr, ret, (socklen_t)sizeof ret); in p_sockun()
740 snprintf(ret, sizeof(ret), "[af%d]", u.sin.sin_family); in p_sockun()
/bionic/libm/
Dsincos.c39 *p_sin = sin(x); in sincos()
Dlibm.map240 sin;
/bionic/libm/x86/
Ds_sin.S191 # -- Begin sin
192 ENTRY(sin)
320 END(sin)
321 # -- End sin
324 ALIAS_SYMBOL(sinl, sin);
/bionic/libstdc++/include/
Dcmath46 using ::sin;
/bionic/libm/x86_64/
Ds_sin.S176 # -- Begin sin
177 ENTRY(sin)
599 END(sin)
600 # -- End sin
/bionic/libm/include/
Dmath.h197 double sin(double);
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/
Db_tgamma.c292 z = sin(M_PI*z);
/bionic/libc/dns/include/
Dresolv_private.h209 struct sockaddr_in sin; member
/bionic/tests/
Dmath_test.cpp376 TEST(math, sin) { in TEST() argument
377 ASSERT_DOUBLE_EQ(0.0, sin(0.0)); in TEST()
1804 DoMathDataTest<1>(g_sin_intel_data, sin); in TEST()
/bionic/libc/tools/
Dposix-2013.txt968 sin

12