Home
last modified time | relevance | path

Searched refs:NSIG (Results 1 – 25 of 35) sorted by relevance

12

/external/bison/lib/
Dsigprocmask.c116 if (sig >= 0 && sig < NSIG) in sigismember()
139 if (sig >= 0 && sig < NSIG) in sigaddset()
159 if (sig >= 0 && sig < NSIG) in sigdelset()
180 *set = ((2U << (NSIG - 1)) - 1) & ~ SIGABRT_COMPAT_MASK; in sigfillset()
188 static volatile sig_atomic_t pending_array[NSIG] /* = { 0 } */;
200 if (sig >= 0 && sig < NSIG) in blocked_handler()
210 for (sig = 0; sig < NSIG; sig++) in sigpending()
219 static volatile handler_t old_handlers[NSIG];
255 for (sig = 0; sig < NSIG; sig++) in sigprocmask()
266 sig_atomic_t received[NSIG]; in sigprocmask()
[all …]
Dsignal.in.h120 #ifndef NSIG
122 # define NSIG 32
186 # ifndef NSIG
187 # define NSIG 32
192 typedef int verify_NSIG_constraint[NSIG <= 32 ? 1 : -1];
Dsigaction.c80 static struct sigaction volatile action_array[NSIG] /* = 0 */;
90 if (sig < 0 || NSIG <= sig || !action_array[sig].sa_handler) in sigaction_handler()
138 if (sig < 0 || NSIG <= sig || sig == SIGKILL || sig == SIGSTOP in sigaction()
/external/strace/
Dsigreturn.c10 #ifndef NSIG
11 # warning NSIG is not defined, using 32
12 # define NSIG 32 macro
13 #elif NSIG < 32
14 # error NSIG < 32
Dsignal.c37 #ifndef NSIG
38 # warning NSIG is not defined, using 32
39 # define NSIG 32 macro
40 #elif NSIG < 32
41 # error NSIG < 32
165 static char outstr[128 + 8 * (NSIG * 2 / 3)]; in sprintsigmask_n()
169 uint32_t inverted_mask[NSIG / 32]; in sprintsigmask_n()
178 size = (bytes >= NSIG / 8) ? NSIG / 32 : (bytes + 3) / 4; in sprintsigmask_n()
229 char mask[NSIG / 8]; in print_sigset_addr_len()
238 if (len >= NSIG / 8) in print_sigset_addr_len()
[all …]
/external/strace/tests/
Dpselect6.c40 #ifndef NSIG
41 # warning NSIG is not defined, using 32
42 # define NSIG 32 macro
88 NSIG / 8, fds[1]); in main()
115 "= -1 EINVAL (Invalid argument)\n", set[0], NSIG / 8); in main()
128 "= 0 (Timeout)\n", FD_SETSIZE + 1, fds[0], NSIG / 8); in main()
/external/libevent/
Dsignal.c135 int ncaught[NSIG]; in evsig_cb()
155 if (sig < NSIG) in evsig_cb()
161 for (i = 0; i < NSIG; ++i) { in evsig_cb()
281 EVUTIL_ASSERT(evsignal >= 0 && evsignal < NSIG); in evsig_add()
355 EVUTIL_ASSERT(evsignal >= 0 && evsignal < NSIG); in evsig_del()
409 for (i = 0; i < NSIG; ++i) { in evsig_dealloc()
/external/strace/linux/sparc/
Darch_sigreturn.c10 unsigned int extramask[NSIG / 8 / sizeof(int) - 1]; in arch_sigreturn()
16 unsigned int mask[NSIG / 8 / sizeof(int)]; in arch_sigreturn()
/external/bison/darwin-lib/
Dsignal.h432 #ifndef NSIG
434 # define NSIG 32 macro
498 # ifndef NSIG
499 # define NSIG 32 macro
504 typedef int verify_NSIG_constraint[NSIG <= 32 ? 1 : -1];
/external/bison/linux-lib/
Dsignal.h432 #ifndef NSIG
434 # define NSIG 32 macro
498 # ifndef NSIG
499 # define NSIG 32 macro
504 typedef int verify_NSIG_constraint[NSIG <= 32 ? 1 : -1];
/external/ipsec-tools/src/racoon/
Dsession.c113 static volatile sig_atomic_t sigreq[NSIG + 1];
152 for (i = 0; i <= NSIG; i++) in session()
413 for (sig = 0; sig <= NSIG; sig++) { in check_sigreq()
/external/strace/linux/ia64/
Darch_sigreturn.c10 print_sigset_addr_len(tcp, addr, NSIG / 8); in arch_sigreturn()
/external/strace/linux/microblaze/
Darch_sigreturn.c14 print_sigset_addr_len(tcp, addr, NSIG / 8); in arch_sigreturn()
/external/strace/linux/mips/
Darch_sigreturn.c24 print_sigset_addr_len(tcp, addr, NSIG / 8); in arch_sigreturn()
/external/strace/linux/tile/
Darch_sigreturn.c10 print_sigset_addr_len(tcp, addr, NSIG / 8); in arch_sigreturn()
/external/strace/linux/alpha/
Darch_sigreturn.c11 print_sigset_addr_len(tcp, addr, NSIG / 8); in arch_sigreturn()
/external/strace/linux/s390/
Darch_sigreturn.c4 long mask[NSIG / 8 / sizeof(long)]; in arch_sigreturn()
/external/strace/linux/crisv10/
Darch_sigreturn.c13 print_sigset_addr_len(tcp, addr, NSIG / 8); in arch_sigreturn()
/external/strace/linux/arm/
Darch_sigreturn.c17 print_sigset_addr_len(tcp, addr, NSIG / 8); in arch_sigreturn()
/external/strace/linux/m68k/
Darch_sigreturn.c12 unsigned long mask[NSIG / 8 / sizeof(long)]; in arch_sigreturn()
/external/strace/linux/powerpc/
Darch_sigreturn.c18 unsigned long mask[NSIG / 8 / sizeof(long)]; in arch_sigreturn()
/external/strace/linux/x86_64/
Darch_sigreturn.c30 print_sigset_addr_len(tcp, addr, NSIG / 8); in arch_sigreturn()
/external/mksh/src/
DBuild.sh2285 NSIG=`vq "$CPP $CFLAGS $CPPFLAGS $NOWARN conftest.c" | \
2293 case $NSIG in
2294 *mksh_cfg*) $e "Error: NSIG='$NSIG'"; NSIG=0 ;;
2295 *[\ \(\)+-]*) NSIG=`"$AWK" "BEGIN { print $NSIG }" </dev/null` ;;
2300 test $printf = echo || NSIG=`printf %d "$NSIG" 2>/dev/null`
2301 $printf "NSIG=$NSIG ... "
2306 test 1 = $HAVE_CPP_DD && test $NSIG -gt 1 && sigs="$sigs "`vq \
2310 test $NSIG -gt 1 || sigs=
2331 test $nr -gt 0 && test $nr -lt $NSIG || continue
/external/kernel-headers/original/uapi/asm-arm/asm/
Dsignal.h12 #define NSIG 32 macro
/external/kernel-headers/original/uapi/asm-x86/asm/
Dsignal.h15 #define NSIG 32 macro

12