/third_party/python/Include/internal/ |
D | pycore_pylifecycle.h | 17 #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/ |
D | 18-1.c | 163 #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/ |
D | sighold02.c | 55 #ifndef NSIG 56 # define NSIG _NSIG macro 61 # define NUMSIGS NSIG
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_unix_events.py | 67 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/ |
D | signalmodule.c | 106 } 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 …]
|
D | faulthandler.c | 93 #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/ |
D | signal_set_service.hpp | 47 #if defined(NSIG) && (NSIG > 0) 48 enum { max_signal_number = NSIG };
|
/third_party/boost/boost/asio/detail/ |
D | signal_set_service.hpp | 47 #if defined(NSIG) && (NSIG > 0) 48 enum { max_signal_number = NSIG };
|
/third_party/libunwind/src/setjmp/ |
D | siglongjmp.c | 37 # elif defined(NSIG) 38 # define _NSIG NSIG
|
/third_party/libuv/include/uv/ |
D | win.h | 98 #if defined(NSIG) && NSIG <= SIGWINCH 99 # undef NSIG 101 #ifndef NSIG 102 # define NSIG SIGWINCH + 1 macro
|
/third_party/pulseaudio/src/tests/ |
D | sig2str-test.c | 103 for (sig = -1; sig <= NSIG; sig++) { in START_TEST()
|
/third_party/mksh/ |
D | Build.sh | 2431 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/ |
D | test_signal.py | 88 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/ |
D | tst_sig.c | 118 for (sig = 1; sig < NSIG; sig++) { in tst_sig()
|
/third_party/ltp/include/old/ |
D | test.h | 50 #define NUMSIGS NSIG
|
/third_party/libuv/test/ |
D | test-signal.c | 37 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/ |
D | signal.h | 187 #define NSIG _NSIG macro
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/android/ |
D | AngleNativeTest.cpp | 31 struct sigaction g_old_sa[NSIG];
|
/third_party/libuv/src/win/ |
D | signal.c | 198 if (signum <= 0 || signum >= NSIG) in uv__signal_start()
|
/third_party/musl/include/ |
D | signal.h | 250 #define NSIG _NSIG macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | signal.h | 250 #define NSIG _NSIG macro
|
/third_party/musl/porting/linux/user/include/ |
D | signal.h | 258 #define NSIG _NSIG macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | signal.h | 250 #define NSIG _NSIG macro
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | signal.h | 250 #define NSIG _NSIG macro
|
/third_party/musl/ndk_musl_include/ |
D | signal.h | 257 #define NSIG _NSIG macro
|