/bionic/libc/bionic/ |
D | netinet_in.cpp | 42 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/ |
D | s_ccosh.c | 71 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()
|
D | s_csinh.c | 71 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()
|
D | s_sin.c | 55 sin(double x) in sin() function 88 __weak_reference(sin, sinl);
|
D | s_ctanh.c | 110 return (CMPLX(x, copysign(0, isinf(y) ? y : sin(y) * cos(y)))); in ctanh() 130 4 * sin(y) * cos(y) * exp_mx * exp_mx)); in ctanh()
|
D | s_cpow.c | 73 w = CMPLX(r * cos (theta), r * sin (theta)); in cpow()
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 204 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 …]
|
D | res_send.c | 157 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()
|
D | res_debug.c | 748 switch (u.sin.sin_family) { in p_sockun() 750 inet_ntop(AF_INET, &u.sin.sin_addr, ret, (socklen_t)sizeof ret); in p_sockun() 758 snprintf(ret, sizeof(ret), "[af%d]", u.sin.sin_family); in p_sockun()
|
/bionic/tests/ |
D | netinet_in_test.cpp | 41 sockaddr_in sin = {.sin_family = AF_INET6}; in TEST() local 43 ASSERT_EQ(-1, bindresvport(-1, &sin)); in TEST()
|
D | math_test.cpp | 555 TEST(MATH_TEST, sin) { in TEST() argument 556 ASSERT_DOUBLE_EQ(0.0, sin(0.0)); in TEST() 2183 DoMathDataTest<1>(g_sin_intel_data, sin); in TEST()
|
/bionic/libc/kernel/uapi/linux/ |
D | rxrpc.h | 31 struct sockaddr_in sin; member
|
/bionic/benchmarks/ |
D | math_benchmark.cpp | 148 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/tests/headers/posix/ |
D | tgmath_h.c | 63 TGMATHC(sin); in tgmath_h()
|
D | math_h.c | 315 FUNCTION(sin, double (*f)(double)); in math_h()
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_160.S | 123 CALL(sin)
|
D | liblinker_reloc_bench_152.S | 27183 CALL(sin)
|
D | liblinker_reloc_bench_087.S | 37167 CALL(sin)
|
/bionic/libc/include/ |
D | math.h | 96 double sin(double __x); 98 long double sinl(long double __x) __RENAME_LDBL(sin, 3, 21);
|
/bionic/libm/ |
D | libm.map.txt | 240 sin;
|
/bionic/libc/dns/include/ |
D | resolv_private.h | 215 struct sockaddr_in sin; member
|
/bionic/libc/tools/ |
D | posix-2013.txt | 968 sin
|
/bionic/ |
D | README.md | 22 The math library. Traditionally Unix systems kept stuff like `sin(3)` and
|