Home
last modified time | relevance | path

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

12

/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.c511 unsigned long sa_mask[NSIG / sizeof(long)];
520 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];
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.c43 #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 …]
Dfaulthandler.c94 #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/
Dsignal.c136 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_()
Dkqueue.c448 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/
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.c54 #ifndef NSIG
55 # define NSIG _NSIG macro
60 # define NUMSIGS NSIG
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_unix_events.py55 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/
Darch.c54 } arch_sigs[NSIG] = {
55 [0 ...(NSIG - 1)].important = false,
56 [0 ...(NSIG - 1)].descr = "UNKNOWN",
/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.sh2369 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
Dsh.h366 #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/
Dsignal.h13 #define NSIG 32 macro
/external/kernel-headers/original/uapi/asm-x86/asm/
Dsignal.h16 #define NSIG 32 macro
/external/ltp/lib/
Dtst_sig.c117 for (sig = 1; sig < NSIG; sig++) { in tst_sig()
/external/ltp/include/old/
Dtest.h50 #define NUMSIGS NSIG
/external/libdaemon/libdaemon/
Ddfork.c52 #elif defined(NSIG) /* Solaris defines just this */
53 # define SIGNAL_UPPER_BOUND NSIG
/external/python/cpython3/Lib/multiprocessing/
Dresource_sharer.py139 signal.pthread_sigmask(signal.SIG_BLOCK, range(1, signal.NSIG))
/external/honggfuzz/mac/
Darch.c110 } 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/
Dsigrelse01.c174 #define NUMSIGS NSIG

12