Home
last modified time | relevance | path

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

12

/bionic/libc/bionic/
Dnetinet_in.cpp42 int bindresvport(int sd, struct sockaddr_in* sin) { in bindresvport() argument
44 if (sin == nullptr) { in bindresvport()
46 sin = &sin0; in bindresvport()
47 sin->sin_family = AF_INET; in bindresvport()
50 if (sin->sin_family != AF_INET) { in bindresvport()
63 sin->sin_port = htons(port); in bindresvport()
64 int rc = TEMP_FAILURE_RETRY(bind(sd, reinterpret_cast<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);
Ds_ccosh.c71 return (CMPLX(cosh(x) * cos(y), sinh(x) * sin(y))); in ccosh()
77 return (CMPLX(h * cos(y), copysign(h, x) * sin(y))); in ccosh()
85 return (CMPLX(h * h * cos(y), h * sin(y))); in ccosh()
135 return (CMPLX(INFINITY * cos(y), x * sin(y))); in ccosh()
Ds_csinh.c71 return (CMPLX(sinh(x) * cos(y), cosh(x) * sin(y))); in csinh()
77 return (CMPLX(copysign(h, x) * cos(y), h * sin(y))); in csinh()
85 return (CMPLX(h * cos(y), h * h * sin(y))); in csinh()
134 return (CMPLX(x * cos(y), INFINITY * sin(y))); in csinh()
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()
252 case 0: temp = sin(x)-cos(x); break; in __ieee754_yn()
253 case 1: temp = -sin(x)-cos(x); break; in __ieee754_yn()
254 case 2: temp = -sin(x)+cos(x); break; in __ieee754_yn()
255 case 3: temp = sin(x)+cos(x); break; in __ieee754_yn()
Ds_cexp.c59 return (CMPLX(cos(y), sin(y))); in cexp()
89 return (CMPLX(exp_x * cos(y), exp_x * sin(y))); in cexp()
Ds_ctanh.c110 return (CMPLX(x, copysign(0, isinf(y) ? y : sin(y) * cos(y)))); in ctanh()
128 4 * sin(y) * cos(y) * exp_mx * exp_mx)); in ctanh()
Ds_cpow.c73 w = CMPLX(r * cos (theta), r * sin (theta)); in cpow()
Dk_exp.c109 sin(y) * exp_x * scale1 * scale2)); in __ldexp_cexp()
De_j1.c97 s = sin(y); in __ieee754_j1()
162 s = sin(x); in __ieee754_y1()
De_j0.c96 s = sin(x); in __ieee754_j0()
176 s = sin(x); in __ieee754_y0()
/bionic/libc/dns/resolv/
Dres_init.c204 u[nserv].sin.sin_addr = inet_makeaddr(IN_LOOPBACKNET, 1); in __res_vinit()
206 u[nserv].sin.sin_addr.s_addr = INADDR_ANY; in __res_vinit()
208 u[nserv].sin.sin_family = AF_INET; in __res_vinit()
209 u[nserv].sin.sin_port = htons(NAMESERVER_PORT); in __res_vinit()
211 u[nserv].sin.sin_len = sizeof(struct sockaddr_in); in __res_vinit()
238 statp->_u._ext.ext->nsaddrs[0].sin = statp->nsaddr; in __res_vinit()
685 switch (set->sin.sin_family) { in res_setservers()
687 size = sizeof(set->sin); in res_setservers()
690 &set->sin, size); in res_setservers()
693 &set->sin, size); in res_setservers()
[all …]
Dres_send.c157 struct sockaddr_in sin; member
173 u.sin.sin_family = family; in random_bind()
174 slen = sizeof u.sin; in random_bind()
190 u.sin.sin_port = htons(port); in random_bind()
201 u.sin.sin_port = 0; in random_bind()
439 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/x86/
Ds_sin.S191 # -- Begin sin
192 ENTRY(sin)
320 END(sin)
321 # -- End sin
324 ALIAS_SYMBOL(sinl, sin);
/bionic/libc/kernel/uapi/linux/
Drxrpc.h31 struct sockaddr_in sin; member
/bionic/tests/headers/posix/
Dtgmath_h.c63 TGMATHC(sin); in tgmath_h()
Dmath_h.c315 FUNCTION(sin, double (*f)(double)); in math_h()
/bionic/libm/x86_64/
Ds_sin.S176 # -- Begin sin
177 ENTRY(sin)
599 END(sin)
600 # -- End sin
/bionic/benchmarks/
Dmath_benchmark.cpp148 d += sin(d); in BM_math_sin_fast()
159 d += sin(d); in BM_math_sin_feupdateenv()
171 d += sin(d); in BM_math_sin_fesetenv()
/bionic/libc/include/
Dmath.h98 double sin(double __x);
100 long double sinl(long double __x) __RENAME_LDBL(sin, 3, 21);
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/
Db_tgamma.c294 z = sin(M_PI*z);
/bionic/libc/dns/include/
Dresolv_private.h214 struct sockaddr_in sin; member
/bionic/libm/
Dlibm.map.txt240 sin;
/bionic/tests/
Dmath_test.cpp514 TEST(MATH_TEST, sin) { in TEST() argument
515 ASSERT_DOUBLE_EQ(0.0, sin(0.0)); in TEST()
2105 DoMathDataTest<1>(g_sin_intel_data, sin); in TEST()

12