Home
last modified time | relevance | path

Searched refs:sig_num (Results 1 – 12 of 12) sorted by relevance

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
D6-3.c54 int sig_num; in main() local
90 sig_num = WTERMSIG(status); in main()
91 printf("Child process terminated by signal %d\n", sig_num); in main()
92 if (sig_num == SIGSEGV) { in main()
D6-1.c53 int sig_num; in main() local
94 sig_num = WTERMSIG(status); in main()
95 printf("Child process terminated by signal %d\n", sig_num); in main()
96 if (sig_num == SIGSEGV) { in main()
D6-2.c55 int sig_num; in main() local
100 sig_num = WTERMSIG(status); in main()
101 printf("Child process terminated by signal %d\n", sig_num); in main()
102 if (sig_num == SIGSEGV) { in main()
/third_party/toybox/toys/pending/
Dfsck.c45 int sig_num;
261 if (TT.sig_num) kill_all(); in wait_for()
322 if (TT.sig_num) kill_all(); in scan_all()
350 if (TT.sig_num) kill_all(); in scan_all()
359 TT.sig_num = sig; in record_sig_num()
413 if (TT.sig_num) kill_all(); in fsck_main()
/third_party/e2fsprogs/ext2ed/
Dinit.c458 void signal_SIGWINCH_handler (int sig_num) in signal_SIGWINCH_handler() argument
468 void signal_SIGTERM_handler (int sig_num) in signal_SIGTERM_handler() argument
472 printf ("Terminated due to signal %d\n",sig_num); in signal_SIGTERM_handler()
476 void signal_SIGSEGV_handler (int sig_num) in signal_SIGSEGV_handler() argument
480 printf ("Killed by signal %d!\n",sig_num); in signal_SIGSEGV_handler()
Dext2ed.h246 void signal_SIGWINCH_handler (int sig_num);
247 void signal_SIGTERM_handler (int sig_num);
248 void signal_SIGSEGV_handler (int sig_num);
/third_party/python/Modules/
Dsignalmodule.c284 trip_signal(int sig_num) in trip_signal() argument
286 _Py_atomic_store_relaxed(&Handlers[sig_num].tripped, 1); in trip_signal()
325 unsigned char byte = (unsigned char)sig_num; in trip_signal()
366 signal_handler(int sig_num) in signal_handler() argument
370 trip_signal(sig_num); in signal_handler()
378 if (sig_num != SIGCHLD) in signal_handler()
383 PyOS_setsig(sig_num, signal_handler); in signal_handler()
391 if (sig_num == SIGINT) { in signal_handler()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Dsig_handler.h29 extern void IntHandler(int sig_num, // The signal that was raised
Dsig_handler.cc44 extern void IntHandler(int sig_num, // The signal that was raised in IntHandler() argument
/third_party/quickjs/
Dquickjs-libc.c86 int sig_num; member
1871 static JSOSSignalHandler *find_sh(JSThreadState *ts, int sig_num) in find_sh() argument
1877 if (sh->sig_num == sig_num) in find_sh()
1890 static void os_signal_handler(int sig_num) in os_signal_handler() argument
1892 os_pending_signals |= ((uint64_t)1 << sig_num); in os_signal_handler()
1896 typedef void (*sighandler_t)(int sig_num);
1905 uint32_t sig_num; in js_os_signal() local
1912 if (JS_ToUint32(ctx, &sig_num, argv[0])) in js_os_signal()
1914 if (sig_num >= 64) in js_os_signal()
1919 sh = find_sh(ts, sig_num); in js_os_signal()
[all …]
/third_party/toybox/generated/
Dglobals.h628 int sig_num; member
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c1795 static void install_handler(int sig_num, void (*sig_handler) (int sig)) in install_handler() argument
1798 sigaction(sig_num, NULL, &sigact); in install_handler()
1803 sigaction(sig_num, &sigact, NULL); in install_handler()