Home
last modified time | relevance | path

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

123

/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)
/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];
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/
Dsignalmodule.c52 #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 …]
Dfaulthandler.c91 #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/
Dbsd-signal.h25 # ifdef NSIG
26 # define _NSIG NSIG
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/
D18-1.c171 #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/
Dsighold02.c55 #ifndef NSIG
56 # define NSIG _NSIG macro
61 # define NUMSIGS NSIG
/external/libevent/
Dsignal.c138 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_()
Dkqueue.c461 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/
Dtest_unix_events.py58 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/
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/llvm-project/libc/src/signal/linux/
Dsignal.h17 static_assert(sizeof(sigset_t) * 8 >= NSIG, "sigset_t cannot hold all signals");
/external/kernel-headers/original/uapi/asm-arm/asm/
Dsignal.h13 #define NSIG 32 macro
/external/kernel-headers/original/uapi/asm-x86/asm/
Dsignal.h16 #define NSIG 32 macro
/external/python/cpython3/Lib/test/
Dtest_signal.py77 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/
DBuild.sh2401 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/
Dpreinstalled_signal.cpp57 return syscall(__NR_rt_sigaction, sig, act, oact, NSIG / 8); in InternalSigaction()
/external/ltp/lib/
Dtst_sig.c118 for (sig = 1; sig < NSIG; sig++) { in tst_sig()
/external/libbrillo/brillo/
Dasynchronous_signal_handler.cc92 for (size_t i = 0; i < NSIG; ++i) { in UpdateSignals()
/external/ltp/include/old/
Dtest.h50 #define NUMSIGS NSIG
/external/llvm-project/lldb/source/Host/common/
DMainLoop.cpp63 static sig_atomic_t g_signal_flags[NSIG];
67 assert(signo < NSIG); in SignalHandler()
/external/llvm-project/libc/spec/
Dlinux.td69 Macro<"NSIG">,
/external/angle/src/tests/test_utils/runner/android/
DAngleNativeTest.cpp31 struct sigaction g_old_sa[NSIG];

123