Home
last modified time | relevance | path

Searched refs:NSIG (Results 1 – 25 of 40) 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()
Dspawni.c202 for (sig = 1; sig <= NSIG; ++sig) in __spawni()
/external/strace/
Dnsig.h6 #ifndef NSIG
7 # warning NSIG is not defined, using 32
8 # define NSIG 32 macro
9 #elif NSIG < 32
10 # error NSIG < 32
13 #define NSIG_BYTES (NSIG / 8)
Dsignal.c514 unsigned long sa_mask[NSIG / sizeof(long)];
523 uint32_t sa_mask[2 * (NSIG / sizeof(long))];
/external/python/cpython2/Modules/
Dsignalmodule.c31 #define NSIG 12 macro
35 #ifndef NSIG
37 # define NSIG _NSIG /* For BSD/SysV */ macro
39 # define NSIG (_SIGMAX + 1) /* For QNX */ macro
41 # define NSIG (SIGMAX + 1) /* For djgpp */ macro
43 # define NSIG 64 /* Use a reasonable default value */ macro
87 } Handlers[NSIG];
300 if (sig_num < 1 || sig_num >= NSIG) { in signal_signal()
349 if (sig_num < 1 || sig_num >= NSIG) { in signal_getsignal()
388 if (sig_num < 1 || sig_num >= NSIG) { in signal_siginterrupt()
[all …]
/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()
Dkqueue.c428 EVUTIL_ASSERT(nsignal >= 0 && nsignal < NSIG); in kq_sig_add()
458 EVUTIL_ASSERT(nsignal >= 0 && nsignal < NSIG); in kq_sig_del()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/
D18-1.c173 #define NSIG (sizeof(signals)/sizeof(int)) in test() macro
195 j %= 2 * NSIG; in test()
197 if (j >= NSIG) in test()
198 ret = sigdelset(&set, signals[j - NSIG]); in test()
/external/ltp/testcases/kernel/syscalls/sighold/
Dsighold02.c53 #ifndef NSIG
54 # define NSIG _NSIG macro
63 # define NUMSIGS NSIG
/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/python/cpython2/Lib/plat-irix6/
DWAIT.py300 NSIG = 65 variable
301 MAXSIG = (NSIG-1)
302 NUMSIGS = (NSIG-1)
DFILE.py346 NSIG = 65 variable
347 MAXSIG = (NSIG-1)
348 NUMSIGS = (NSIG-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/openssh/openbsd-compat/
Dreadpassphrase.c50 # ifdef NSIG
51 # define _NSIG NSIG
/external/mksh/src/
DBuild.sh2279 NSIG=`vq "$CPP $CFLAGS $CPPFLAGS $NOWARN conftest.c" | \
2287 case $NSIG in
2288 *mksh_cfg*) $e "Error: NSIG='$NSIG'"; NSIG=0 ;;
2289 *[\ \(\)+-]*) NSIG=`"$AWK" "BEGIN { print $NSIG }" </dev/null` ;;
2294 test $printf = echo || NSIG=`printf %d "$NSIG" 2>/dev/null`
2295 $printf "NSIG=$NSIG ... "
2300 test 1 = $HAVE_CPP_DD && test $NSIG -gt 1 && sigs="$sigs "`vq \
2304 test $NSIG -gt 1 || sigs=
2325 test $nr -gt 0 && test $nr -lt $NSIG || continue
/external/kernel-headers/original/uapi/asm-arm/asm/
Dsignal.h12 #define NSIG 32 macro
/external/valgrind/none/tests/
Dexec-sigmask.c68 for(i = 1; i < NSIG; i++) { in main()
/external/kernel-headers/original/uapi/asm-x86/asm/
Dsignal.h15 #define NSIG 32 macro
/external/ltp/lib/
Dtst_sig.c117 for (sig = 1; sig < NSIG; sig++) { in tst_sig()
/external/valgrind/coregrind/
Dm_vki.c83 vg_assert(_VKI_NSIG == NSIG); in VG_()
/external/ltp/include/old/
Dtest.h75 #define NUMSIGS NSIG
/external/libdaemon/libdaemon/
Ddfork.c52 #elif defined(NSIG) /* Solaris defines just this */
53 # define SIGNAL_UPPER_BOUND NSIG

12