/external/bison/lib/ |
D | sigprocmask.c | 116 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 …]
|
D | signal.in.h | 120 #ifndef NSIG 122 # define NSIG 32 186 # ifndef NSIG 187 # define NSIG 32 192 typedef int verify_NSIG_constraint[NSIG <= 32 ? 1 : -1];
|
D | sigaction.c | 80 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()
|
D | spawni.c | 202 for (sig = 1; sig <= NSIG; ++sig) in __spawni()
|
/external/strace/ |
D | nsig.h | 6 #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)
|
D | signal.c | 514 unsigned long sa_mask[NSIG / sizeof(long)]; 523 uint32_t sa_mask[2 * (NSIG / sizeof(long))];
|
/external/python/cpython2/Modules/ |
D | signalmodule.c | 31 #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/ |
D | signal.c | 135 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()
|
D | kqueue.c | 428 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/ |
D | 18-1.c | 173 #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/ |
D | sighold02.c | 53 #ifndef NSIG 54 # define NSIG _NSIG macro 63 # define NUMSIGS NSIG
|
/external/bison/darwin-lib/ |
D | signal.h | 432 #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/ |
D | signal.h | 432 #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/ |
D | WAIT.py | 300 NSIG = 65 variable 301 MAXSIG = (NSIG-1) 302 NUMSIGS = (NSIG-1)
|
D | FILE.py | 346 NSIG = 65 variable 347 MAXSIG = (NSIG-1) 348 NUMSIGS = (NSIG-1)
|
/external/ipsec-tools/src/racoon/ |
D | session.c | 113 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/ |
D | readpassphrase.c | 50 # ifdef NSIG 51 # define _NSIG NSIG
|
/external/mksh/src/ |
D | Build.sh | 2279 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/ |
D | signal.h | 12 #define NSIG 32 macro
|
/external/valgrind/none/tests/ |
D | exec-sigmask.c | 68 for(i = 1; i < NSIG; i++) { in main()
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
D | signal.h | 15 #define NSIG 32 macro
|
/external/ltp/lib/ |
D | tst_sig.c | 117 for (sig = 1; sig < NSIG; sig++) { in tst_sig()
|
/external/valgrind/coregrind/ |
D | m_vki.c | 83 vg_assert(_VKI_NSIG == NSIG); in VG_()
|
/external/ltp/include/old/ |
D | test.h | 75 #define NUMSIGS NSIG
|
/external/libdaemon/libdaemon/ |
D | dfork.c | 52 #elif defined(NSIG) /* Solaris defines just this */ 53 # define SIGNAL_UPPER_BOUND NSIG
|