/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 | 511 unsigned long sa_mask[NSIG / sizeof(long)]; 520 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]; 297 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/python/cpython3/Modules/ |
D | signalmodule.c | 43 #ifndef NSIG 45 # define NSIG _NSIG /* For BSD/SysV */ macro 47 # define NSIG (_SIGMAX + 1) /* For QNX */ macro 49 # define NSIG (SIGMAX + 1) /* For djgpp */ macro 51 # define NSIG 64 /* Use a reasonable default value */ macro 96 } Handlers[NSIG]; 431 if (signalnum < 1 || signalnum >= NSIG) { in signal_signal_impl() 485 if (signalnum < 1 || signalnum >= NSIG) { in signal_getsignal_impl() 519 if (signalnum < 1 || signalnum >= NSIG) { in signal_siginterrupt_impl() 776 if (0 < signum && signum < NSIG) { in iterable_to_sigset() [all …]
|
D | faulthandler.c | 94 #ifndef NSIG 96 # define NSIG _NSIG /* For BSD/SysV */ macro 98 # define NSIG (_SIGMAX + 1) /* For QNX */ macro 100 # define NSIG (SIGMAX + 1) /* For djgpp */ macro 102 # define NSIG 64 /* Use a reasonable default value */ macro 814 if (signum < 1 || NSIG <= signum) { in check_signum() 853 user_signals = PyMem_Malloc(NSIG * sizeof(user_signal_t)); in faulthandler_register_py() 856 memset(user_signals, 0, NSIG * sizeof(user_signal_t)); in faulthandler_register_py() 1151 for (size_t signum=0; signum < NSIG; signum++) in faulthandler_traverse() 1359 for (size_t signum=0; signum < NSIG; signum++) { in _PyFaulthandler_Fini()
|
/external/libevent/ |
D | signal.c | 136 int ncaught[NSIG]; in evsig_cb() 160 if (sig < NSIG) in evsig_cb() 166 for (i = 0; i < NSIG; ++i) { in evsig_cb() 283 EVUTIL_ASSERT(evsignal >= 0 && evsignal < NSIG); in evsig_add() 363 EVUTIL_ASSERT(evsignal >= 0 && evsignal < NSIG); in evsig_del() 424 for (i = 0; i < NSIG; ++i) { in evsig_dealloc_()
|
D | kqueue.c | 448 EVUTIL_ASSERT(nsignal >= 0 && nsignal < NSIG); in kq_sig_add() 482 EVUTIL_ASSERT(nsignal >= 0 && nsignal < NSIG); in kq_sig_del()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/ |
D | 18-1.c | 171 #define NSIG (sizeof(signals)/sizeof(int)) in test() macro 193 j %= 2 * NSIG; in test() 195 if (j >= NSIG) in test() 196 ret = sigdelset(&set, signals[j - NSIG]); in test()
|
/external/ltp/testcases/kernel/syscalls/sighold/ |
D | sighold02.c | 54 #ifndef NSIG 55 # define NSIG _NSIG macro 60 # define NUMSIGS NSIG
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_unix_events.py | 55 ValueError, self.loop._check_signal, signal.NSIG + 1) 58 self.loop._handle_signal(signal.NSIG + 1) 64 self.loop._signal_handlers[signal.NSIG + 1] = h 66 self.loop._handle_signal(signal.NSIG + 1) 67 self.loop.remove_signal_handler.assert_called_with(signal.NSIG + 1) 71 m_signal.NSIG = signal.NSIG 81 m_signal.NSIG = signal.NSIG 98 m_signal.NSIG = signal.NSIG 108 m_signal.NSIG = signal.NSIG 127 m_signal.NSIG = signal.NSIG [all …]
|
/external/honggfuzz/posix/ |
D | arch.c | 54 } arch_sigs[NSIG] = { 55 [0 ...(NSIG - 1)].important = false, 56 [0 ...(NSIG - 1)].descr = "UNKNOWN",
|
/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 | 2369 NSIG=`vq "$CPP $CFLAGS $CPPFLAGS $NOWARN conftest.c" | \ 2377 case $NSIG in 2378 *mksh_cfg*) $e "Error: NSIG='$NSIG'"; NSIG=0 ;; 2379 *[\ \(\)+-]*) NSIG=`"$AWK" "BEGIN { print $NSIG }" </dev/null` ;; 2384 test $printf = echo || NSIG=`printf %d "$NSIG" 2>/dev/null` 2385 $printf "NSIG=$NSIG ... " 2390 test 1 = $HAVE_CPP_DD && test $NSIG -gt 1 && sigs="$sigs "`vq \ 2394 test $NSIG -gt 1 || sigs= 2415 test $nr -gt 0 && test $nr -lt $NSIG || continue
|
D | sh.h | 366 #if defined(NSIG) 367 #define ksh_NSIG (NSIG) 379 # error Please have your platform define NSIG. 383 # error Your NSIG value is not positive. 394 # error Your NSIG value is larger than your NSIG_MAX value.
|
/external/kernel-headers/original/uapi/asm-arm/asm/ |
D | signal.h | 13 #define NSIG 32 macro
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
D | signal.h | 16 #define NSIG 32 macro
|
/external/ltp/lib/ |
D | tst_sig.c | 117 for (sig = 1; sig < NSIG; sig++) { in tst_sig()
|
/external/ltp/include/old/ |
D | test.h | 50 #define NUMSIGS NSIG
|
/external/libdaemon/libdaemon/ |
D | dfork.c | 52 #elif defined(NSIG) /* Solaris defines just this */ 53 # define SIGNAL_UPPER_BOUND NSIG
|
/external/python/cpython3/Lib/multiprocessing/ |
D | resource_sharer.py | 139 signal.pthread_sigmask(signal.SIG_BLOCK, range(1, signal.NSIG))
|
/external/honggfuzz/mac/ |
D | arch.c | 110 } arch_sigs[NSIG]; 113 for (int x = 0; x < NSIG; x++) arch_sigs[x].important = false; in arch_initSigs()
|
/external/ltp/testcases/kernel/syscalls/sigrelse/ |
D | sigrelse01.c | 174 #define NUMSIGS NSIG
|