/external/ltp/testcases/kernel/syscalls/syslog/ |
D | syslogtst.c | 36 void sig_handler(int signal); 46 signal(SIGINT, sig_handler); in main() 47 signal(SIGTERM, sig_handler); in main() 48 signal(SIGHUP, sig_handler); in main() 49 signal(SIGABRT, sig_handler); in main() 50 signal(SIGSEGV, sig_handler); in main() 51 signal(SIGQUIT, sig_handler); in main() 304 void sig_handler(int signal) in sig_handler() function
|
/external/ltp/testcases/kernel/io/disktest/ |
D | signals.c | 53 void sig_handler(int sig) in sig_handler() function 55 void *sig_handler(void *arg) in sig_handler() 140 signal(SIGINT, sig_handler); in setup_sig_mask() 141 signal(SIGTERM, sig_handler); in setup_sig_mask() 142 signal(SIGUSR1, sig_handler); in setup_sig_mask() 158 pthread_create(&sig_thread, NULL, sig_handler, NULL); in setup_sig_mask()
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
D | posix_timers.c | 53 static void sig_handler(int nr) in sig_handler() function 99 signal(SIGVTALRM, sig_handler); in check_itimer() 101 signal(SIGPROF, sig_handler); in check_itimer() 103 signal(SIGALRM, sig_handler); in check_itimer() 161 signal(SIGALRM, sig_handler); in check_timer_create()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/ |
D | 3-2.c | 27 static void sig_handler() in sig_handler() function 49 act.sa_handler = sig_handler; in main() 63 sig_handler(); in main()
|
D | 3-1.c | 26 static void sig_handler() in sig_handler() function 42 act.sa_handler = sig_handler; in main()
|
/external/ltp/testcases/kernel/syscalls/sigaltstack/ |
D | sigaltstack01.c | 92 void sig_handler(int); /* signal catching function */ 119 act.sa_handler = (void (*)())sig_handler; in main() 188 act.sa_handler = (void (*)(int))sig_handler; in setup() 218 void sig_handler(int n) in sig_handler() function
|
/external/ltp/testcases/kernel/syscalls/sigsuspend/ |
D | sigsuspend01.c | 92 void sig_handler(int sig); /* signal catching function */ 176 sa_new.sa_handler = sig_handler; in setup() 200 void sig_handler(int sig) in sig_handler() function
|
/external/ltp/testcases/kernel/syscalls/vfork/ |
D | vfork02.c | 88 void sig_handler(); /* signal catching function */ 178 if (signal(SIGUSR1, sig_handler) == SIG_ERR) { in setup() 211 void sig_handler(void) in sig_handler() function
|
/external/ltp/testcases/kernel/mem/mtest06/ |
D | mmap3.c | 102 static void sig_handler(int signal) in sig_handler() function 146 SAFE_SIGNAL(SIGALRM, sig_handler); in setup() 147 SAFE_SIGNAL(SIGBUS, sig_handler); in setup() 148 SAFE_SIGNAL(SIGSEGV, sig_handler); in setup()
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap13.c | 57 static void sig_handler(int sig); 105 tst_sig(NOFORK, sig_handler, cleanup); in setup() 128 static void sig_handler(int sig) in sig_handler() function
|
D | mmap05.c | 65 static void sig_handler(int sig); 132 tst_sig(NOFORK, sig_handler, cleanup); in setup() 189 static void sig_handler(int sig) in sig_handler() function
|
D | mmap03.c | 69 static void sig_handler(int sig); 154 tst_sig(NOFORK, sig_handler, cleanup); in setup() 215 static void sig_handler(int sig) in sig_handler() function
|
/external/ltp/testcases/kernel/syscalls/sigprocmask/ |
D | sigprocmask01.c | 86 void sig_handler(int sig); /* signal catching function */ 227 sa_new.sa_handler = sig_handler; in setup() 254 void sig_handler(int sig) in sig_handler() function
|
/external/ltp/testcases/kernel/syscalls/munmap/ |
D | munmap01.c | 91 void sig_handler(); /* signal catching function */ 158 if (signal(SIGSEGV, sig_handler) == SIG_ERR) { in setup() 223 void sig_handler(void) in sig_handler() function
|
D | munmap02.c | 93 void sig_handler(); /* signal catching function */ 162 if (signal(SIGSEGV, sig_handler) == SIG_ERR) { in setup() 236 void sig_handler(void) in sig_handler() function
|
/external/ltp/testcases/kernel/syscalls/pause/ |
D | pause01.c | 10 static void sig_handler(int sig LTP_ATTRIBUTE_UNUSED) in sig_handler() function 16 SAFE_SIGNAL(SIGINT, sig_handler); in do_child()
|
/external/ltp/testcases/kernel/controllers/cpuacct/ |
D | cpuacct_task.c | 32 static void sig_handler(int signo) in sig_handler() function 58 sa.sa_handler = sig_handler; in main()
|
/external/compiler-rt/test/tsan/ |
D | signal_cond.cc | 15 void sig_handler(int sig) { in sig_handler() function 35 signal(SIGUSR1, &sig_handler); in main()
|
/external/ltp/testcases/kernel/syscalls/rt_sigsuspend/ |
D | rt_sigsuspend01.c | 19 static void sig_handler(int sig) in sig_handler() function 28 struct sigaction act = {.sa_handler = sig_handler}; in verify_rt_sigsuspend()
|
/external/libiio/src/iiod/ |
D | iiod.c | 195 static void sig_handler(int sig) in sig_handler() function 430 set_handler(SIGHUP, sig_handler); in main() 431 set_handler(SIGPIPE, sig_handler); in main() 432 set_handler(SIGINT, sig_handler); in main() 433 set_handler(SIGTERM, sig_handler); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_trylock/ |
D | 1-1.c | 39 static void sig_handler() in sig_handler() function 62 act.sa_handler = sig_handler; in fn_chld()
|
/external/ltp/testcases/kernel/syscalls/nanosleep/ |
D | nanosleep02.c | 93 static void sig_handler(int si LTP_ATTRIBUTE_UNUSED) in sig_handler() function 100 SAFE_SIGNAL(SIGINT, sig_handler); in setup()
|
/external/perfetto/infra/ci/worker/ |
D | worker.py | 154 def sig_handler(_, __): function 162 signal.signal(signal.SIGTERM, sig_handler) 163 signal.signal(signal.SIGINT, sig_handler)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/ |
D | 4-1.c | 61 void sig_handler() in sig_handler() function 77 act.sa_handler = sig_handler; in main()
|
/external/ltp/testcases/kernel/syscalls/ipc/msgstress/ |
D | msgstress01.c | 65 static void sig_handler(); 120 act.sa_handler = sig_handler; in main() 253 static void sig_handler(void) in sig_handler() function
|