Home
last modified time | relevance | path

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

12

/third_party/python/Include/internal/
Dpycore_pylifecycle.h17 #ifndef NSIG
19 # define NSIG _NSIG /* For BSD/SysV */ macro
21 # define NSIG (_SIGMAX + 1) /* For QNX */
23 # define NSIG (SIGMAX + 1) /* For djgpp */
25 # define NSIG 64 /* Use a reasonable default value */
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/
D18-1.c163 #define NSIG (sizeof(signals)/sizeof(int)) in test() macro
185 j %= 2 * NSIG; in test()
187 if (j >= NSIG) in test()
188 ret = sigdelset(&set, signals[j - NSIG]); in test()
/third_party/ltp/testcases/kernel/syscalls/sighold/
Dsighold02.c55 #ifndef NSIG
56 # define NSIG _NSIG macro
61 # define NUMSIGS NSIG
/third_party/python/Lib/test/test_asyncio/
Dtest_unix_events.py67 ValueError, self.loop._check_signal, signal.NSIG + 1)
70 self.loop._handle_signal(signal.NSIG + 1)
76 self.loop._signal_handlers[signal.NSIG + 1] = h
78 self.loop._handle_signal(signal.NSIG + 1)
79 self.loop.remove_signal_handler.assert_called_with(signal.NSIG + 1)
83 m_signal.NSIG = signal.NSIG
94 m_signal.NSIG = signal.NSIG
111 m_signal.NSIG = signal.NSIG
122 m_signal.NSIG = signal.NSIG
142 m_signal.NSIG = signal.NSIG
[all …]
/third_party/python/Modules/
Dsignalmodule.c106 } Handlers[NSIG];
523 if (signalnum < 1 || signalnum >= NSIG) { in signal_signal_impl()
585 if (signalnum < 1 || signalnum >= NSIG) { in signal_getsignal_impl()
618 if (signalnum < 1 || signalnum >= NSIG) { in signal_strsignal_impl()
696 if (signalnum < 1 || signalnum >= NSIG) {
948 for (sig = 1; sig < NSIG; sig++) {
1427 ADD_INT_MACRO(NSIG);
1585 for (int signum = 1; signum < NSIG; signum++) {
1733 for (int signum = 1; signum < NSIG; signum++) {
1802 for (int i = 1; i < NSIG; i++) {
[all …]
Dfaulthandler.c93 #ifndef NSIG
95 # define NSIG _NSIG /* For BSD/SysV */ macro
97 # define NSIG (_SIGMAX + 1) /* For QNX */ macro
99 # define NSIG (SIGMAX + 1) /* For djgpp */ macro
101 # define NSIG 64 /* Use a reasonable default value */ macro
878 if (signum < 1 || NSIG <= signum) { in check_signum()
917 user_signals = PyMem_Calloc(NSIG, sizeof(user_signal_t)); in faulthandler_register_py()
1194 for (size_t signum=0; signum < NSIG; signum++) in faulthandler_traverse()
1386 for (size_t signum=0; signum < NSIG; signum++) { in _PyFaulthandler_Fini()
/third_party/boost/libs/asio/include/boost/asio/detail/
Dsignal_set_service.hpp47 #if defined(NSIG) && (NSIG > 0)
48 enum { max_signal_number = NSIG };
/third_party/boost/boost/asio/detail/
Dsignal_set_service.hpp47 #if defined(NSIG) && (NSIG > 0)
48 enum { max_signal_number = NSIG };
/third_party/libunwind/src/setjmp/
Dsiglongjmp.c37 # elif defined(NSIG)
38 # define _NSIG NSIG
/third_party/libuv/include/uv/
Dwin.h98 #if defined(NSIG) && NSIG <= SIGWINCH
99 # undef NSIG
101 #ifndef NSIG
102 # define NSIG SIGWINCH + 1 macro
/third_party/pulseaudio/src/tests/
Dsig2str-test.c103 for (sig = -1; sig <= NSIG; sig++) { in START_TEST()
/third_party/mksh/
DBuild.sh2431 NSIG=`vq "$CPP $CFLAGS $CPPFLAGS $NOWARN conftest.c" | \
2439 case $NSIG in
2440 *mksh_cfg*) $e "Error: NSIG='$NSIG'"; NSIG=0 ;;
2441 *[\ \(\)+-]*) NSIG=`"$AWK" "BEGIN { print $NSIG }" </dev/null` ;;
2446 test $printf = echo || NSIG=`printf %d "$NSIG" 2>/dev/null`
2447 $printf "NSIG=$NSIG ... "
2452 test 1 = $HAVE_CPP_DD && test $NSIG -gt 1 && sigs="$sigs "`vq \
2456 test $NSIG -gt 1 || sigs=
2477 test $nr -gt 0 && test $nr -lt $NSIG || continue
/third_party/python/Lib/test/
Dtest_signal.py88 self.assertNotIn(signal.NSIG, s)
89 self.assertLess(len(s), signal.NSIG)
117 self.assertNotIn(signal.NSIG, s)
118 self.assertLess(len(s), signal.NSIG)
1018 signal.pthread_sigmask(signal.SIG_BLOCK, [signal.NSIG])
/third_party/ltp/lib/
Dtst_sig.c118 for (sig = 1; sig < NSIG; sig++) { in tst_sig()
/third_party/ltp/include/old/
Dtest.h50 #define NUMSIGS NSIG
/third_party/libuv/test/
Dtest-signal.c37 ASSERT(uv_kill(pid, NSIG) == UV_EINVAL); in TEST_IMPL()
70 ASSERT(uv_signal_start(&signal, signum_test_cb, NSIG) == UV_EINVAL); in TEST_IMPL()
/third_party/musl/porting/liteos_a/kernel/include/
Dsignal.h187 #define NSIG _NSIG macro
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/android/
DAngleNativeTest.cpp31 struct sigaction g_old_sa[NSIG];
/third_party/libuv/src/win/
Dsignal.c198 if (signum <= 0 || signum >= NSIG) in uv__signal_start()
/third_party/musl/include/
Dsignal.h250 #define NSIG _NSIG macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dsignal.h250 #define NSIG _NSIG macro
/third_party/musl/porting/linux/user/include/
Dsignal.h258 #define NSIG _NSIG macro
/third_party/musl/porting/liteos_m/kernel/include/
Dsignal.h250 #define NSIG _NSIG macro
/third_party/musl/porting/uniproton/kernel/include/
Dsignal.h250 #define NSIG _NSIG macro
/third_party/musl/ndk_musl_include/
Dsignal.h257 #define NSIG _NSIG macro

12