/glibc-2.36/sysdeps/pthread/ |
D | tst-cancel20.c | 203 struct sigaction sa; in do_test() local 204 sa.sa_handler = sh; in do_test() 205 sigemptyset (&sa.sa_mask); in do_test() 206 sa.sa_flags = 0; in do_test() 208 if (sigaction (SIGHUP, &sa, NULL) != 0) in do_test() 218 sa.sa_handler = sh; in do_test() 219 sigemptyset (&sa.sa_mask); in do_test() 220 sa.sa_flags = SA_ONSTACK; in do_test() 222 if (sigaction (SIGHUP, &sa, NULL) != 0) in do_test() 233 sa.sa_sigaction = (void (*)(int, siginfo_t *, void *)) sh; in do_test() [all …]
|
D | tst-cancel21.c | 233 struct sigaction sa; in do_test() local 234 sa.sa_handler = sh; in do_test() 235 sigemptyset (&sa.sa_mask); in do_test() 236 sa.sa_flags = 0; in do_test() 238 if (sigaction (SIGHUP, &sa, NULL) != 0) in do_test() 248 sa.sa_handler = sh; in do_test() 249 sigemptyset (&sa.sa_mask); in do_test() 250 sa.sa_flags = SA_ONSTACK; in do_test() 252 if (sigaction (SIGHUP, &sa, NULL) != 0) in do_test() 263 sa.sa_sigaction = (void (*)(int, siginfo_t *, void *)) sh; in do_test() [all …]
|
D | tst-sem6.c | 28 struct sigaction sa; in handler() local 30 sa.sa_handler = SIG_DFL; in handler() 31 sa.sa_flags = 0; in handler() 32 sigemptyset (&sa.sa_mask); in handler() 34 sigaction (SIGALRM, &sa, NULL); in handler() 45 struct sigaction sa; in do_test() local 47 sa.sa_handler = handler; in do_test() 48 sa.sa_flags = 0; in do_test() 49 sigemptyset (&sa.sa_mask); in do_test() 51 sigaction (SIGALRM, &sa, NULL); in do_test()
|
D | tst-raise1.c | 35 struct sigaction sa; in main() local 36 sa.sa_handler = sh; in main() 37 sigemptyset (&sa.sa_mask); in main() 38 sa.sa_flags = 0; in main() 39 if (sigaction (SIGUSR1, &sa, NULL) < 0) in main()
|
D | tst-signal6.c | 128 struct sigaction sa; in do_test() local 129 sa.sa_handler = handler; in do_test() 130 sa.sa_flags = 0; in do_test() 131 sigemptyset (&sa.sa_mask); in do_test() 133 if (sigaction (sig1, &sa, NULL) != 0 in do_test() 134 || sigaction (sig1 + 1, &sa, NULL) != 0 in do_test() 135 || sigaction (sig1 + 2, &sa, NULL) != 0) in do_test()
|
D | tst-cancel3.c | 47 struct sigaction sa; in do_test() local 49 sa.sa_handler = SIG_IGN; in do_test() 50 sigemptyset (&sa.sa_mask); in do_test() 51 sa.sa_flags = 0; in do_test() 53 if (sigaction (SIGPIPE, &sa, NULL) != 0) in do_test()
|
D | tst-cancel2.c | 45 struct sigaction sa; in do_test() local 47 sa.sa_handler = SIG_IGN; in do_test() 48 sigemptyset (&sa.sa_mask); in do_test() 49 sa.sa_flags = 0; in do_test() 51 if (sigaction (SIGPIPE, &sa, NULL) != 0) in do_test()
|
D | eintr.c | 72 struct sigaction sa; in setup_eintr() local 73 sigemptyset (&sa.sa_mask); in setup_eintr() 74 sa.sa_flags = 0; in setup_eintr() 75 sa.sa_handler = eintr_handler; in setup_eintr() 76 if (sigaction (sig, &sa, NULL) != 0) in setup_eintr()
|
/glibc-2.36/inet/ |
D | getnameinfo.c | 233 const struct sockaddr *sa, socklen_t addrlen, in gni_host_inet_name() argument 239 if (sa->sa_family == AF_INET6) in gni_host_inet_name() 241 const struct sockaddr_in6 *sin6p = (const struct sockaddr_in6 *) sa; in gni_host_inet_name() 258 const struct sockaddr_in *sinp = (const struct sockaddr_in *) sa; in gni_host_inet_name() 334 const struct sockaddr *sa, socklen_t addrlen, in gni_host_inet_numeric() argument 337 if (sa->sa_family == AF_INET6) in gni_host_inet_numeric() 339 const struct sockaddr_in6 *sin6p = (const struct sockaddr_in6 *) sa; in gni_host_inet_numeric() 366 const struct sockaddr_in *sinp = (const struct sockaddr_in *) sa; in gni_host_inet_numeric() 376 const struct sockaddr *sa, socklen_t addrlen, in gni_host_inet() argument 382 (tmpbuf, sa, addrlen, host, hostlen, flags); in gni_host_inet() [all …]
|
D | tst-inet6_scopeid_pton.c | 98 const struct sockaddr_in6 *sa, in check_ai() argument 101 if (memcmp (addr, &sa->sin6_addr, sizeof (*addr)) != 0) in check_ai() 107 if (sa->sin6_scope_id != scope) in check_ai() 113 what, addr_string, scope_string, scope, sa->sin6_scope_id); in check_ai() 138 struct sockaddr_in6 sa; in expect_failure() local 139 if (call_gai (AF_UNSPEC, address, scope, &sa)) in expect_failure() 145 if (call_gai (AF_INET6, address, scope, &sa)) in expect_failure() 176 struct sockaddr_in6 sa; in expect_success() local 177 memset (&sa, 0xc0, sizeof (sa)); in expect_success() 178 if (call_gai (AF_UNSPEC, address, scope, &sa)) in expect_success() [all …]
|
D | test-ifaddrs.c | 30 addr_string (struct sockaddr *sa, char *buf, size_t size) in addr_string() argument 32 if (sa == NULL) in addr_string() 35 switch (sa->sa_family) in addr_string() 38 return inet_ntop (AF_INET, &((struct sockaddr_in *) sa)->sin_addr, in addr_string() 41 return inet_ntop (AF_INET6, &((struct sockaddr_in6 *) sa)->sin6_addr, in addr_string() 57 printf ("sa_family=%d %08x\n", sa->sa_family, in addr_string() 58 *(int*)&((struct sockaddr_in *) sa)->sin_addr.s_addr); in addr_string()
|
/glibc-2.36/sysdeps/ieee754/ldbl-96/ |
D | s_erfl.c | 194 sa[] = { variable 317 S = sa[0] + s * (sa[1] + s * (sa[2] + s * (sa[3] + s * (sa[4] + in __erfl() 318 s * (sa[5] + s * (sa[6] + s * (sa[7] + s * (sa[8] + s)))))))); in __erfl() 404 S = sa[0] + s * (sa[1] + s * (sa[2] + s * (sa[3] + s * (sa[4] + in libm_alias_ldouble() 405 s * (sa[5] + s * (sa[6] + s * (sa[7] + s * (sa[8] + s)))))))); in libm_alias_ldouble()
|
/glibc-2.36/signal/ |
D | tst-minsigstksz-1.c | 82 struct sigaction sa; in do_test() local 85 sa.sa_handler = handler_set_flag; in do_test() 86 sa.sa_flags = SA_RESTART | SA_ONSTACK; in do_test() 87 sigfillset (&sa.sa_mask); in do_test() 88 if (sigaction (SIGUSR1, &sa, 0)) in do_test() 101 sa.sa_handler = handler_set_flag_once; in do_test() 102 if (sigaction (SIGUSR1, &sa, 0)) in do_test() 117 sa.sa_handler = handler_count_up_1; in do_test() 118 if (sigaction (SIGUSR1, &sa, 0)) in do_test()
|
D | tst-minsigstksz-2.c | 51 struct sigaction sa; in do_test() local 53 sa.sa_handler = handler; in do_test() 54 sa.sa_flags = SA_RESTART | SA_ONSTACK; in do_test() 55 sigfillset (&sa.sa_mask); in do_test() 56 if (sigaction (SIGUSR1, &sa, 0)) in do_test()
|
D | tst-minsigstksz-3.c | 50 struct sigaction sa; in do_test() local 52 sa.sa_handler = handler; in do_test() 53 sa.sa_flags = SA_RESTART | SA_ONSTACK; in do_test() 54 sigfillset (&sa.sa_mask); in do_test() 55 if (sigaction (SIGUSR1, &sa, 0)) in do_test()
|
D | tst-minsigstksz-3a.c | 55 struct sigaction sa; in do_test() local 57 sa.sa_handler = handler; in do_test() 58 sa.sa_flags = SA_RESTART | SA_ONSTACK; in do_test() 59 sigfillset (&sa.sa_mask); in do_test() 60 if (sigaction (SIGUSR1, &sa, 0)) in do_test()
|
D | tst-minsigstksz-4.c | 51 struct sigaction sa; in do_test() local 53 sa.sa_handler = handler; in do_test() 54 sa.sa_flags = SA_RESTART | SA_ONSTACK; in do_test() 55 sigfillset (&sa.sa_mask); in do_test() 56 if (sigaction (SIGUSR1, &sa, 0)) in do_test()
|
D | tst-raise.c | 35 struct sigaction sa; in main() local 36 sa.sa_handler = sh; in main() 37 sigemptyset (&sa.sa_mask); in main() 38 sa.sa_flags = 0; in main() 39 if (sigaction (SIGUSR1, &sa, NULL) < 0) in main()
|
/glibc-2.36/sysdeps/ieee754/dbl-64/ |
D | s_erf.c | 172 sa[] = { 0.0, 1.96512716674392571292e+01, /* 0x4033A6B9, 0xBD707687 */ variable 268 S1 = one + s * sa[1]; s4 = s2 * s2; in __erf() 270 S2 = sa[2] + s * sa[3]; s8 = s4 * s4; in __erf() 272 S3 = sa[4] + s * sa[5]; in __erf() 274 S4 = sa[6] + s * sa[7]; in __erf() 276 S = S1 + s2 * S2 + s4 * S3 + s6 * S4 + s8 * sa[8]; in __erf() 373 S1 = one + s * sa[1]; s4 = s2 * s2; in libm_alias_double() 375 S2 = sa[2] + s * sa[3]; s8 = s4 * s4; in libm_alias_double() 377 S3 = sa[4] + s * sa[5]; in libm_alias_double() 379 S4 = sa[6] + s * sa[7]; in libm_alias_double() [all …]
|
/glibc-2.36/sysdeps/posix/ |
D | system.c | 106 struct sigaction sa; in do_system() local 113 sa.sa_handler = SIG_IGN; in do_system() 114 sa.sa_flags = 0; in do_system() 115 __sigemptyset (&sa.sa_mask); in do_system() 121 __sigaction (SIGINT, &sa, &intr); in do_system() 122 __sigaction (SIGQUIT, &sa, &quit); in do_system() 126 __sigaddset (&sa.sa_mask, SIGCHLD); in do_system() 129 __sigprocmask (SIG_BLOCK, &sa.sa_mask, &omask); in do_system()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | ifaddrs.c | 64 struct sockaddr sa; member 499 = &ifas[ifa_index].addr.sa; in getifaddrs_internal() 516 = &ifas[ifa_index].broadaddr.sa; in getifaddrs_internal() 580 struct sockaddr *sa; in getifaddrs_internal() local 591 = &ifas[ifa_index].broadaddr.sa; in getifaddrs_internal() 592 sa = &ifas[ifa_index].broadaddr.sa; in getifaddrs_internal() 597 = &ifas[ifa_index].addr.sa; in getifaddrs_internal() 598 sa = &ifas[ifa_index].addr.sa; in getifaddrs_internal() 601 sa->sa_family = ifam->ifa_family; in getifaddrs_internal() 608 memcpy (&((struct sockaddr_in *) sa)->sin_addr, in getifaddrs_internal() [all …]
|
D | netlink_assert_response.c | 30 struct sockaddr_storage sa; in get_address_family() local 31 socklen_t sa_len = sizeof (sa); in get_address_family() 32 if (__getsockname (fd, (struct sockaddr *) &sa, &sa_len) < 0) in get_address_family() 36 _Static_assert (sizeof (sa.ss_family) < sizeof (int), "address family size"); in get_address_family() 37 _Static_assert (0 < (__typeof__ (sa.ss_family)) -1, in get_address_family() 39 return sa.ss_family; in get_address_family()
|
/glibc-2.36/misc/ |
D | tst-pselect.c | 39 struct sigaction sa; in test_pselect_basic() local 40 sa.sa_handler = handler; in test_pselect_basic() 41 sa.sa_flags = 0; in test_pselect_basic() 42 sigemptyset (&sa.sa_mask); in test_pselect_basic() 44 xsigaction (SIGUSR1, &sa, NULL); in test_pselect_basic() 46 sa.sa_handler = SIG_IGN; in test_pselect_basic() 47 xsigaction (SIGCHLD, &sa, NULL); in test_pselect_basic()
|
/glibc-2.36/support/ |
D | set_fortify_handler.c | 26 struct sigaction sa; in set_fortify_handler() local 28 sa.sa_handler = handler; in set_fortify_handler() 29 sa.sa_flags = 0; in set_fortify_handler() 30 sigemptyset (&sa.sa_mask); in set_fortify_handler() 32 sigaction (SIGABRT, &sa, NULL); in set_fortify_handler()
|
D | tst-xsigstack.c | 46 struct sigaction sa; in do_test() local 47 sa.sa_handler = handler; in do_test() 48 sa.sa_flags = SA_RESTART | SA_ONSTACK; in do_test() 49 sigfillset (&sa.sa_mask); in do_test() 50 if (sigaction (SIGUSR1, &sa, 0)) in do_test()
|