/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)
|
/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 | 52 #ifndef NSIG 54 # define NSIG _NSIG /* For BSD/SysV */ macro 56 # define NSIG (_SIGMAX + 1) /* For QNX */ macro 58 # define NSIG (SIGMAX + 1) /* For djgpp */ macro 60 # define NSIG 64 /* Use a reasonable default value */ macro 110 } Handlers[NSIG]; 480 if (signalnum < 1 || signalnum >= NSIG) { in signal_signal_impl() 543 if (signalnum < 1 || signalnum >= NSIG) { in signal_getsignal_impl() 577 if (signalnum < 1 || signalnum >= NSIG) { in signal_strsignal_impl() 655 if (signalnum < 1 || signalnum >= NSIG) { in signal_siginterrupt_impl() [all …]
|
D | faulthandler.c | 91 #ifndef NSIG 93 # define NSIG _NSIG /* For BSD/SysV */ macro 95 # define NSIG (_SIGMAX + 1) /* For QNX */ macro 97 # define NSIG (SIGMAX + 1) /* For djgpp */ macro 99 # define NSIG 64 /* Use a reasonable default value */ macro 874 if (signum < 1 || NSIG <= signum) { in check_signum() 913 user_signals = PyMem_Calloc(NSIG, sizeof(user_signal_t)); in faulthandler_register_py() 1209 for (size_t signum=0; signum < NSIG; signum++) in faulthandler_traverse() 1407 for (size_t signum=0; signum < NSIG; signum++) { in _PyFaulthandler_Fini()
|
/external/openssh/openbsd-compat/ |
D | bsd-signal.h | 25 # ifdef NSIG 26 # define _NSIG NSIG
|
/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 | 55 #ifndef NSIG 56 # define NSIG _NSIG macro 61 # define NUMSIGS NSIG
|
/external/libevent/ |
D | signal.c | 138 int ncaught[NSIG]; in evsig_cb() 162 if (sig < NSIG) in evsig_cb() 168 for (i = 0; i < NSIG; ++i) { in evsig_cb() 285 EVUTIL_ASSERT(evsignal >= 0 && evsignal < NSIG); in evsig_add() 365 EVUTIL_ASSERT(evsignal >= 0 && evsignal < NSIG); in evsig_del() 426 for (i = 0; i < NSIG; ++i) { in evsig_dealloc_()
|
D | kqueue.c | 461 EVUTIL_ASSERT(nsignal >= 0 && nsignal < NSIG); in kq_sig_add() 495 EVUTIL_ASSERT(nsignal >= 0 && nsignal < NSIG); in kq_sig_del()
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_unix_events.py | 58 ValueError, self.loop._check_signal, signal.NSIG + 1) 61 self.loop._handle_signal(signal.NSIG + 1) 67 self.loop._signal_handlers[signal.NSIG + 1] = h 69 self.loop._handle_signal(signal.NSIG + 1) 70 self.loop.remove_signal_handler.assert_called_with(signal.NSIG + 1) 74 m_signal.NSIG = signal.NSIG 85 m_signal.NSIG = signal.NSIG 102 m_signal.NSIG = signal.NSIG 113 m_signal.NSIG = signal.NSIG 133 m_signal.NSIG = signal.NSIG [all …]
|
/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/llvm-project/libc/src/signal/linux/ |
D | signal.h | 17 static_assert(sizeof(sigset_t) * 8 >= NSIG, "sigset_t cannot hold all signals");
|
/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/python/cpython3/Lib/test/ |
D | test_signal.py | 77 self.assertNotIn(signal.NSIG, s) 78 self.assertLess(len(s), signal.NSIG) 106 self.assertNotIn(signal.NSIG, s) 107 self.assertLess(len(s), signal.NSIG) 1000 signal.pthread_sigmask(signal.SIG_BLOCK, [signal.NSIG])
|
/external/mksh/src/ |
D | Build.sh | 2401 NSIG=`vq "$CPP $CFLAGS $CPPFLAGS $NOWARN conftest.c" | \ 2409 case $NSIG in 2410 *mksh_cfg*) $e "Error: NSIG='$NSIG'"; NSIG=0 ;; 2411 *[\ \(\)+-]*) NSIG=`"$AWK" "BEGIN { print $NSIG }" </dev/null` ;; 2416 test $printf = echo || NSIG=`printf %d "$NSIG" 2>/dev/null` 2417 $printf "NSIG=$NSIG ... " 2422 test 1 = $HAVE_CPP_DD && test $NSIG -gt 1 && sigs="$sigs "`vq \ 2426 test $NSIG -gt 1 || sigs= 2447 test $nr -gt 0 && test $nr -lt $NSIG || continue
|
/external/llvm-project/compiler-rt/test/asan/TestCases/Linux/ |
D | preinstalled_signal.cpp | 57 return syscall(__NR_rt_sigaction, sig, act, oact, NSIG / 8); in InternalSigaction()
|
/external/ltp/lib/ |
D | tst_sig.c | 118 for (sig = 1; sig < NSIG; sig++) { in tst_sig()
|
/external/libbrillo/brillo/ |
D | asynchronous_signal_handler.cc | 92 for (size_t i = 0; i < NSIG; ++i) { in UpdateSignals()
|
/external/ltp/include/old/ |
D | test.h | 50 #define NUMSIGS NSIG
|
/external/llvm-project/lldb/source/Host/common/ |
D | MainLoop.cpp | 63 static sig_atomic_t g_signal_flags[NSIG]; 67 assert(signo < NSIG); in SignalHandler()
|
/external/llvm-project/libc/spec/ |
D | linux.td | 69 Macro<"NSIG">,
|
/external/angle/src/tests/test_utils/runner/android/ |
D | AngleNativeTest.cpp | 31 struct sigaction g_old_sa[NSIG];
|