/external/ltp/testcases/kernel/syscalls/signal/ |
D | signal04.c | 71 int siglist[] = { SIGHUP, SIGINT, SIGQUIT, SIGILL, SIGTRAP, SIGABRT, variable 78 int TST_TOTAL = sizeof(siglist) / sizeof(int); 108 signal(siglist[i], SIG_DFL); in main() 111 if ((rval = signal(siglist[i], &sighandler)) == SIG_ERR) { in main() 121 Tret = signal(siglist[i], SIG_DFL); in main() 131 if ((rval = signal(siglist[i], &sighandler)) in main() 148 siglist[i], rval, first); in main()
|
D | signal05.c | 67 int siglist[] = { SIGHUP, SIGINT, SIGQUIT, SIGILL, SIGTRAP, SIGABRT, SIGIOT, variable 82 int TST_TOTAL = ARRAY_SIZE(siglist); 112 Tret = signal(siglist[i], &sighandler); in main() 128 if ((rval = kill(pid, siglist[i])) != 0) { in main() 133 if (siglist[i] == pass) { in main()
|
D | signal03.c | 67 int siglist[] = { SIGHUP, SIGINT, SIGQUIT, SIGILL, SIGTRAP, SIGABRT, SIGIOT, variable 82 int TST_TOTAL = ARRAY_SIZE(siglist); 112 Tret = signal(siglist[i], SIG_IGN); in main() 128 if ((rval = kill(pid, siglist[i])) != 0) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/ |
D | 7-1.c | 22 #define NUMSIGNALS (sizeof(siglist) / sizeof(siglist[0])) 29 int siglist[] = { SIGABRT, SIGALRM, SIGBUS, SIGCHLD, in a_thread_func() local 47 sigaddset(&tempset, siglist[i]); in a_thread_func() 52 if (sigismember(&oactl, siglist[j]) != 1) { in a_thread_func() 58 if (sigismember(&oactl, siglist[j]) != 0) { in a_thread_func()
|
D | 8-3.c | 22 #define NUMSIGNALS (sizeof(siglist) / sizeof(siglist[0])) 28 int siglist[] = { SIGABRT, SIGALRM, SIGBUS, SIGCHLD, in is_changed() local 47 if ((siglist[i] != sig)) { in is_changed() 48 if (sigismember(&set, siglist[i]) != 0) { in is_changed()
|
D | 8-1.c | 22 #define NUMSIGNALS (sizeof(siglist) / sizeof(siglist[0])) 28 int siglist[] = { SIGABRT, SIGALRM, SIGBUS, SIGCHLD, in is_changed() local 47 if ((siglist[i] != sig)) { in is_changed() 48 if (sigismember(&set, siglist[i]) != 0) { in is_changed()
|
D | 8-2.c | 24 #define NUMSIGNALS (sizeof(siglist) / sizeof(siglist[0])) 30 int siglist[] = { SIGABRT, SIGALRM, SIGBUS, SIGCHLD, in is_changed() local 49 if ((siglist[i] != sig)) { in is_changed() 50 if (sigismember(&set, siglist[i]) != 0) { in is_changed()
|
D | 12-1.c | 28 #define NUMSIGNALS (sizeof(siglist) / sizeof(siglist[0])) 34 int siglist[] = { SIGABRT, SIGALRM, SIGBUS, SIGCHLD, in is_changed() local 53 if ((siglist[i] != sig)) { in is_changed() 54 if (sigismember(&set, siglist[i]) != 0) { in is_changed()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigemptyset/ |
D | 1-1.c | 18 #define NUMSIGNALS (sizeof(siglist) / sizeof(siglist[0])) 23 int siglist[] = { SIGABRT, SIGALRM, SIGBUS, SIGCHLD, in main() local 47 if (sigismember(&signalset, siglist[i]) == 1) { in main() 50 siglist[i]); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigfillset/ |
D | 1-1.c | 17 #define NUMSIGNALS (sizeof(siglist) / sizeof(siglist[0])) 24 int siglist[] = { SIGABRT, SIGALRM, SIGBUS, SIGCHLD, in main() local 45 if (sigismember(&signalset, siglist[i]) == 0) { in main() 48 siglist[i]); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/ |
D | 7-1.c | 22 #define NUMSIGNALS (sizeof(siglist) / sizeof(siglist[0])) 29 int siglist[] = { SIGABRT, SIGALRM, SIGBUS, SIGCHLD, in main() local 47 sigaddset(&tempset, siglist[i]); in main() 51 if (sigismember(&oactl, siglist[j]) != 1) { in main()
|
D | 8-2.c | 23 #define NUMSIGNALS (sizeof(siglist) / sizeof(siglist[0])) 29 int siglist[] = { SIGABRT, SIGALRM, SIGBUS, SIGCHLD, in is_changed() local 48 if ((siglist[i] != sig)) { in is_changed() 49 if (sigismember(&set, siglist[i]) != 0) { in is_changed()
|
D | 8-1.c | 22 #define NUMSIGNALS (sizeof(siglist) / sizeof(siglist[0])) 28 int siglist[] = { SIGABRT, SIGALRM, SIGBUS, SIGCHLD, in is_changed() local 47 if ((siglist[i] != sig)) { in is_changed() 48 if (sigismember(&set, siglist[i]) != 0) { in is_changed()
|
D | 8-3.c | 22 #define NUMSIGNALS (sizeof(siglist) / sizeof(siglist[0])) 28 int siglist[] = { SIGABRT, SIGALRM, SIGBUS, SIGCHLD, in is_changed() local 47 if ((siglist[i] != sig)) { in is_changed() 48 if (sigismember(&set, siglist[i]) != 0) { in is_changed()
|
D | 12-1.c | 26 #define NUMSIGNALS (sizeof(siglist) / sizeof(siglist[0])) 32 int siglist[] = { SIGALRM, SIGBUS, SIGCHLD, in is_changed() local 48 if (sigismember(&set, siglist[i]) != 0) in is_changed()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigsuspend/ |
D | 4-1.c | 36 #define NUMSIGNALS (sizeof(siglist) / sizeof(siglist[0])) 46 int siglist[] = { SIGABRT, SIGALRM, SIGBUS, SIGCHLD, in is_changed() local 65 if ((siglist[i] != sig)) { in is_changed() 66 if (sigismember(&set, siglist[i]) != 0) { in is_changed()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigset/ |
D | 5-1.c | 25 #define NUMSIGNALS (sizeof(siglist) / sizeof(siglist[0])) 31 int siglist[] = { SIGABRT, SIGALRM, SIGBUS, SIGCHLD, in is_empty() local 47 if (sigismember(set, siglist[i]) != 0) in is_empty()
|
/external/python/cpython3/Modules/_decimal/ |
D | _decimal.c | 476 PyObject *ex, *siglist; in dec_addstatus() local 487 siglist = flags_as_list(ctx->traps&status); in dec_addstatus() 488 if (siglist == NULL) { in dec_addstatus() 492 PyErr_SetObject(ex, siglist); in dec_addstatus() 493 Py_DECREF(siglist); in dec_addstatus()
|