/third_party/libinput/tools/ |
H A D | libinput-debug-tablet.c | 34 #include <signal.h> 462 sighandler(int signal, siginfo_t *siginfo, void *userdata) in sighandler() argument 578 fprintf(stderr, "Failed to set up signal handling (%s)\n", in main()
|
/third_party/ltp/testcases/kernel/ipc/pipeio/ |
H A D | pipeio.c | 48 #include <signal.h> 400 if (signal(SIGCHLD, sig_child) == SIG_ERR) { in setup() 402 "set signal handler for SIGCHLD failed"); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl17.c | 38 fcntl05 => fcntl17, check signal return for SIG_ERR) 50 #include <signal.h> 145 tst_resm(TFAIL, "SIGALRM signal setup failed, errno: %d", in setup() 155 tst_resm(TFAIL, "SIGCHLD signal setup failed, errno: %d", errno); in setup() 393 signal(SIGCHLD, SIG_DFL); in stop_children() 420 tst_resm(TFAIL, "Attempt to signal child 1 failed."); in catch_alarm() 424 tst_resm(TFAIL, "Attempt to signal child 2 failed."); in catch_alarm() 427 tst_resm(TFAIL, "Attempt to signal child 2 failed."); in catch_alarm()
|
H A D | fcntl21.c | 42 #include <signal.h> 115 tst_resm(TFAIL, "SIGCHLD signal setup failed, errno: %d", errno); in setup() 275 signal(SIGCHLD, SIG_DFL); in stop_child()
|
H A D | fcntl20.c | 42 #include <signal.h> 114 tst_brkm(TFAIL | TERRNO, cleanup, "SIGCHLD signal setup failed"); in setup() 267 signal(SIGCHLD, SIG_DFL); in stop_child()
|
H A D | fcntl19.c | 45 #include <signal.h> 117 tst_resm(TFAIL, "SIGCHLD signal setup failed, errno: %d", errno); in setup() 268 signal(SIGCHLD, SIG_DFL); in stop_child()
|
H A D | fcntl11.c | 42 #include <signal.h> 230 signal(SIGCHLD, SIG_DFL); in stop_child()
|
/third_party/ltp/testcases/realtime/func/rt-migrate/ |
H A D | rt-migrate.c | 63 #include <signal.h> 404 signal(SIGINT, stop_log); in main()
|
/third_party/node/deps/openssl/openssl/crypto/dso/ |
H A D | dso_vms.c | 335 lib$signal(status); /* This is really bad. Abort! */ in vms_bind_sym() 433 lib$signal(status); /* This is really bad. Abort! */ in vms_merger()
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_runners.py | 6 import signal namespace 443 # signal.signal() can throw if the "main thread" doensn't have signals enabled 451 signal, 452 "signal", 454 "signal only works in main thread of the main interpreter"
|
/third_party/openssl/crypto/dso/ |
H A D | dso_vms.c | 335 lib$signal(status); /* This is really bad. Abort! */ in vms_bind_sym() 433 lib$signal(status); /* This is really bad. Abort! */ in vms_merger()
|
/third_party/skia/third_party/externals/freetype/src/tools/ftrandom/ |
H A D | ftrandom.c | 44 #include <signal.h> 527 signal( SIGALRM, abort_test ); in do_test()
|
/third_party/python/Lib/test/libregrtest/ |
H A D | runtest_mp.py | 5 import signal namespace 185 os.killpg(popen.pid, signal.SIGKILL)
|
/test/testfwk/xdevice/src/xdevice/_core/ |
H A D | utils.py | 29 import signal namespace 218 os.killpg(proc.pid, signal.SIGTERM) 220 os.kill(proc.pid, signal.SIGINT)
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | timendk.cpp | 110 printf("Caught the SIGALRM signal!\n");
in signalHandler() 113 printf("Can not catch the SIGALRM signal!\n");
in signalHandler() 131 signal(SIGALRM, signalHandler);
in Setitimer() 242 signal(SIGUSR1, TimerHandler);
in Timer_delete() 296 signal(SIGNUM, handler);
in Timer_settime()
|
/third_party/alsa-utils/seq/aplaymidi/ |
H A D | arecordmidi.c | 28 #include <signal.h> 711 " -m,--metronome=client:port play a metronome signal\n" in help() 887 signal(SIGINT, sighandler); in main() 888 signal(SIGTERM, sighandler); in main() 913 fputs("Warning: Received signal before num_events\n", stdout); in main()
|
/third_party/curl/lib/ |
H A D | hostip.c | 45 #include <signal.h> 273 return address that we can jump back to from inside a signal handler. This 858 * This signal handler jumps back into the main libcurl code and continues 860 * within a signal handler which is nonportable and could lead to problems. 939 will generate a signal and we will siglongjmp() from that here. in Curl_resolv_timeout() 947 /* this is coming from a siglongjmp() after an alarm signal */ in Curl_resolv_timeout() 954 * Set signal handler to catch SIGALRM in Curl_resolv_timeout() 969 /* no sigaction(), revert to the much lamer signal() */ in Curl_resolv_timeout() 971 keep_sigact = signal(SIGALRM, alarmfunc); in Curl_resolv_timeout() 975 /* alarm() makes a signal ge in Curl_resolv_timeout() [all...] |
/third_party/cups-filters/filter/ |
H A D | pdftops.c | 31 #include <signal.h> 358 signal(SIGPIPE, SIG_IGN); 372 * Register a signal handler to cleanly cancel a job. 384 signal(SIGTERM, cancel_job); 1571 "DEBUG: PID %d (%s) was terminated normally with signal %d!\n", 1589 fprintf(stderr, "DEBUG: PID %d (%s) crashed on signal %d!\n",
|
/third_party/mbedtls/programs/test/ |
H A D | benchmark.c | 71 #include <signal.h> 434 signal(signum, sighandler); in sighandler() 440 signal(SIGALRM, sighandler); in mbedtls_set_alarm()
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfscp.c | 41 #include <signal.h> 865 if (signal(SIGINT, signal_handler) == SIG_ERR) { in main() 870 if (signal(SIGTERM, signal_handler) == SIG_ERR) { in main()
|
/third_party/musl/src/malloc/liteos_a/user_debug/ |
H A D | memory_check.c | 741 signal(35, watch_mem); in mem_check_init() 742 signal(36, check_leak); in mem_check_init() 743 signal(37, check_heap_integrity); in mem_check_init()
|
/third_party/musl/porting/liteos_a/user_debug/src/malloc/ |
H A D | memory_check.c | 726 signal(35, watch_mem); in mem_check_init() 727 signal(36, check_leak); in mem_check_init() 728 signal(37, check_heap_integrity); in mem_check_init()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
H A D | dzn_private.h | 430 struct util_dynarray reset, collect, wait, signal; member 563 struct util_dynarray signal; member 569 struct util_dynarray signal; member
|
/third_party/python/Lib/asyncio/ |
H A D | proactor_events.py | 13 import signal namespace 642 signal.set_wakeup_fd(self._csock.fileno()) 691 signal.set_wakeup_fd(-1)
|
/third_party/googletest/googletest/src/ |
H A D | gtest-death-test.cc | 52 #include <signal.h> 219 m << "Terminated by signal " << WTERMSIG(exit_code); in ExitSummary() 232 // by a signal, or exited normally with a nonzero exit code. 674 // Event the child process uses to signal the parent that it has 916 GTEST_DEATH_TEST_CHECK_(packet.signal.observed & ZX_PROCESS_TERMINATED); in Wait() 920 if (packet.signal.observed & ZX_SOCKET_READABLE) { in Wait() 941 GTEST_DEATH_TEST_CHECK_(packet.signal.observed & ZX_SOCKET_PEER_CLOSED); in Wait() 1324 // When a SIGPROF signal is received while fork() or clone() are executing, in ExecDeathTestSpawnChild()
|