| /src/external/gpl3/gdb/dist/sim/testsuite/cris/c/ |
| rtsigprocmask1.c | 32 sigset_t sigs; local 34 if (sigemptyset (&sigs) != 0) 43 = pthread_sigmask (SIG_BLOCK + SIG_UNBLOCK + SIG_SETMASK, NULL, &sigs);
|
| thread5.c | 42 sigset_t sigs; local 44 if (sigemptyset (&sigs) != 0) 53 if (pthread_sigmask (SIG_BLOCK, NULL, &sigs) != 0 54 || sigaddset (&sigs, SIGUSR1) != 0 55 || pthread_sigmask (SIG_BLOCK, &sigs, NULL) != 0) 64 if (pthread_sigmask (SIG_UNBLOCK, NULL, &sigs) != 0 65 || sigaddset (&sigs, SIGUSR1) != 0 66 || pthread_sigmask (SIG_UNBLOCK, &sigs, NULL) != 0)
|
| /src/external/gpl3/gdb.old/dist/sim/testsuite/cris/c/ |
| rtsigprocmask1.c | 32 sigset_t sigs; local 34 if (sigemptyset (&sigs) != 0) 43 = pthread_sigmask (SIG_BLOCK + SIG_UNBLOCK + SIG_SETMASK, NULL, &sigs);
|
| thread5.c | 42 sigset_t sigs; local 44 if (sigemptyset (&sigs) != 0) 53 if (pthread_sigmask (SIG_BLOCK, NULL, &sigs) != 0 54 || sigaddset (&sigs, SIGUSR1) != 0 55 || pthread_sigmask (SIG_BLOCK, &sigs, NULL) != 0) 64 if (pthread_sigmask (SIG_UNBLOCK, NULL, &sigs) != 0 65 || sigaddset (&sigs, SIGUSR1) != 0 66 || pthread_sigmask (SIG_UNBLOCK, &sigs, NULL) != 0)
|
| /src/distrib/utils/more/ |
| signal.c | 59 * "sigs" contains bits indicating signals which need to be processed. 61 int sigs; variable 83 sigs |= S_STOP; 98 sigs |= S_WINCH; 110 sigs |= S_WINCH; 169 * A received signal cause a bit to be set in "sigs". 176 if ((tsignals = sigs) == 0) 178 sigs = 0;
|
| /src/external/bsd/less/dist/ |
| signal.c | 27 * "sigs" contains bits indicating signals which need to be processed. 29 public int sigs; variable 59 sigs |= S_INTERRUPT; 85 sigs |= S_STOP; 108 sigs |= S_WINCH; 127 sigs |= S_INTERRUPT; 204 * A received signal cause a bit to be set in "sigs". 210 if ((tsignals = sigs) == 0) 212 sigs = 0;
|
| /src/external/public-domain/xz/dist/src/xz/ |
| signals.c | 57 static const int sigs[] = { local 76 for (size_t i = 0; i < ARRAY_SIZE(sigs); ++i) 77 sigaddset(&hooked_signals, sigs[i]); 99 for (size_t i = 0; i < ARRAY_SIZE(sigs); ++i) { 103 if (sigaction(sigs[i], NULL, &old) == 0 108 if (sigaction(sigs[i], &my_sa, NULL))
|
| /src/tests/lib/libc/sys/ |
| t_getitimer.c | 225 sigset_t sigs, mask; local 228 RL(sigemptyset(&sigs)); 229 RL(sigaddset(&sigs, SIGALRM)); 230 RL(sigprocmask(SIG_BLOCK, &sigs, &mask)); 240 sigtimedwait(&sigs, NULL, &(const struct timespec){2, 0}) == -1);
|
| t_timer_create.c | 437 sigset_t sigs, mask; local 440 RL(sigemptyset(&sigs)); 441 RL(sigaddset(&sigs, SIGALRM)); 442 RL(sigprocmask(SIG_BLOCK, &sigs, &mask)); 471 sigtimedwait(&sigs, NULL, &(const struct timespec){2, 0}) == -1);
|
| /src/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
| ui.c | 111 struct sigaction sigs[NSIG]; local 129 for(i = 1; i < sizeof(sigs) / sizeof(sigs[0]); i++) 131 if (sigaction(i, &sa, &sigs[i]) == 0) 175 for(i = 1; i < sizeof(sigs) / sizeof(sigs[0]); i++) 177 sigaction(i, &sigs[i], NULL);
|
| /src/external/ibm-public/postfix/dist/src/master/ |
| master_sig.c | 237 static int sigs[] = { local 249 for (i = 0; i < sizeof(sigs) / sizeof(sigs[0]); i++) 250 if (sigaction(sigs[i], &action, (struct sigaction *) 0) < 0) 251 msg_fatal("%s: sigaction(%d): %m", myname, sigs[i]);
|
| /src/external/bsd/nvi/dist/ex/ |
| ex_shell.c | 221 } SIGS; 223 SIGS const sigs[] = { variable 366 const SIGS *sigp; 370 sigp = &sigs[0]; n < sizeof(sigs) / sizeof(sigs[0]); ++n, ++sigp)
|
| /src/bin/sh/ |
| main.c | 271 static int sigs[] = { local 278 #define SIGSSIZE (sizeof(sigs)/sizeof(sigs[0])) 282 setsignal(sigs[i], 0);
|
| trap.c | 856 sigset_t sigs; local 915 sigemptyset(&sigs); 916 sigaddset(&sigs, s); 917 sigprocmask(SIG_UNBLOCK, &sigs, NULL);
|
| /src/usr.bin/rsh/ |
| rsh.c | 76 static int sigs[] = { SIGINT, SIGTERM, SIGQUIT }; variable 267 for (i = 0; i < sizeof(sigs) / sizeof(sigs[0]); i++) 268 (void)sigaddset(&nset, sigs[i]); 275 for (i = 0; i < sizeof(sigs) / sizeof(sigs[0]); i++) { 280 (void)sigaction(sigs[i], &sa, NULL);
|
| /src/external/bsd/libbind/dist/isc/ |
| eventlib.c | 743 sigset_t sigs; local 763 sigprocmask(SIG_SETMASK, sigmask, &sigs); 806 sigprocmask(SIG_SETMASK, &sigs, NULL);
|
| /src/external/bsd/unbound/dist/testcode/ |
| signit.c | 201 ldns_rr_list* sigs; local 206 sigs = ldns_sign_public(rrset, keys); 207 if(!sigs) fatal_exit("failed to sign"); 209 ldns_rr_list_print(stdout, sigs); 212 ldns_rr_list_free(sigs);
|
| /src/external/gpl2/lvm2/dist/lib/locking/ |
| locking.c | 80 sigset_t sigs; local 102 sigprocmask(0, NULL, &sigs); 103 if ((_oldmasked = sigismember(&sigs, SIGINT))) { 104 sigdelset(&sigs, SIGINT); 105 sigprocmask(SIG_SETMASK, &sigs, NULL); 123 sigset_t sigs; local 124 sigprocmask(0, NULL, &sigs); 125 sigaddset(&sigs, SIGINT); 126 sigprocmask(SIG_SETMASK, &sigs, NULL);
|
| /src/lib/libc/resolv/ |
| res_send.c | 1208 sigset_t sigs; local 1217 sigprocmask(SIG_SETMASK, sigmask, &sigs); 1220 sigprocmask(SIG_SETMASK, &sigs, NULL);
|
| /src/lib/libpuffs/ |
| puffs.c | 758 static int sigs[NSIG] = { 0, }; variable 773 if (!sigs[sig]) 775 sigs[sig] = 1; 990 if (sigs[i]) {
|
| /src/external/bsd/libbind/dist/resolv/ |
| res_send.c | 1093 sigset_t sigs; local 1102 sigprocmask(SIG_SETMASK, sigmask, &sigs); 1105 sigprocmask(SIG_SETMASK, &sigs, NULL);
|
| /src/external/gpl2/diffutils/dist/src/ |
| sdiff.c | 71 #define NUM_SIGS (sizeof sigs / sizeof *sigs) 72 static int const sigs[] = { variable 800 sigaddset (&catchaction.sa_mask, sigs[i]); 806 sigaction (sigs[i], 0, &initial_action[i]); 808 initial_action[i] = signal (sigs[i], SIG_IGN); 811 signal_handler (sigs[i], catchsig); 830 if ((! s || sigs[i] == s) && initial_handler (i) != SIG_IGN) 832 sigaction (sigs[i], &initial_action[i], 0); 834 signal (sigs[i], initial_action[i]) [all...] |
| /src/external/mpl/bind/dist/lib/dns/ |
| dnssec.c | 1431 dns_rdataset_t sigs; local 1436 dns_rdataset_init(&sigs); 1437 dns_rdataset_clone(rrsigs, &sigs); 1446 for (result = dns_rdataset_first(&sigs); 1447 result == ISC_R_SUCCESS; result = dns_rdataset_next(&sigs)) 1452 dns_rdataset_current(&sigs, &rdata); 1468 if (dns_rdataset_isassociated(&sigs)) { 1469 dns_rdataset_disassociate(&sigs);
|
| update.c | 1275 isc_stdtime_t expire, unsigned int *sigs) { 1329 (*sigs)++; 1433 unsigned int sigs = 0; local 1578 sigs++; 1593 if (state != &mystate && sigs > maxsigs) { 1780 &sigs)); 1785 if (state != &mystate && sigs > maxsigs) { 1858 sigs++; 1864 if (state != &mystate && sigs > maxsigs) { 1986 &sigs)); [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/dns/ |
| dnssec.c | 1606 dns_rdataset_t sigs; local 1611 dns_rdataset_init(&sigs); 1612 dns_rdataset_clone(rrsigs, &sigs); 1621 for (result = dns_rdataset_first(&sigs); 1622 result == ISC_R_SUCCESS; result = dns_rdataset_next(&sigs)) 1627 dns_rdataset_current(&sigs, &rdata); 1643 if (dns_rdataset_isassociated(&sigs)) { 1644 dns_rdataset_disassociate(&sigs);
|