/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigdelset/ |
D | 1-4.c | 16 sigset_t signalset; in main() local 18 if (sigemptyset(&signalset) == -1) { in main() 22 if (sigaddset(&signalset, SIGALRM) == 0) { in main() 23 if (sigismember(&signalset, SIGALRM) == 0) { in main() 32 if (sigdelset(&signalset, SIGALRM) == 0) { in main() 33 if (sigismember(&signalset, SIGALRM) == 1) { in main() 42 sigdelset(&signalset, SIGALRM); in main() 43 if (sigismember(&signalset, SIGALRM) == 0) { in main()
|
D | 1-1.c | 24 sigset_t signalset; in main() local 26 if (sigemptyset(&signalset) == -1) { in main() 31 if (sigaddset(&signalset, SIGALRM) == -1) { in main() 36 if (sigismember(&signalset, SIGALRM) != 1) { in main() 41 if (sigdelset(&signalset, SIGALRM) == -1) { in main() 46 if (sigismember(&signalset, SIGALRM) == 0) { in main()
|
D | 1-2.c | 24 sigset_t signalset; in main() local 26 if (sigfillset(&signalset) == -1) { in main() 31 if (sigaddset(&signalset, SIGALRM) == -1) { in main() 36 if (sigismember(&signalset, SIGALRM) != 1) { in main() 41 if (sigdelset(&signalset, SIGALRM) == -1) { in main() 46 if (sigismember(&signalset, SIGALRM) == 0) { in main()
|
D | 1-3.c | 22 sigset_t signalset; in main() local 24 if (sigemptyset(&signalset) == -1) { in main() 29 if (sigismember(&signalset, SIGCHLD) == 1) { in main() 34 sigdelset(&signalset, SIGCHLD); in main() 36 if (sigismember(&signalset, SIGCHLD) == 0) { in main()
|
D | 4-1.c | 29 sigset_t signalset; in main() local 32 if (sigfillset(&signalset) == -1) { in main() 38 ret = sigdelset(&signalset, sigs[i]); in main()
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/ |
D | cpuset_cpu_hog.c | 164 sigset_t signalset; in cpu_hog() local 183 if (sigemptyset(&signalset) < 0) { in cpu_hog() 188 sigsuspend(&signalset); in cpu_hog() 252 sigset_t signalset; in main() local 263 if (sigemptyset(&signalset) < 0) { in main() 278 sigsuspend(&signalset); in main() 297 if (sigemptyset(&signalset) < 0) in main() 300 sigsuspend(&signalset); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/ |
D | 1-1.c | 22 sigset_t signalset; in main() local 24 if (sigemptyset(&signalset) == -1) { in main() 29 if (sigaddset(&signalset, SIGALRM) == 0) { in main() 30 if (sigismember(&signalset, SIGALRM) == 1) { in main()
|
D | 1-2.c | 22 sigset_t signalset; in main() local 24 if (sigfillset(&signalset) == -1) { in main() 29 if (sigaddset(&signalset, SIGALRM) == 0) { in main() 30 if (sigismember(&signalset, SIGALRM) == 1) { in main()
|
D | 1-3.c | 33 sigset_t signalset; in main() local 37 if (sigemptyset(&signalset) == -1) { in main() 43 if (sigaddset(&signalset, sigs[i]) == 0) { in main() 44 if (sigismember(&signalset, sigs[i]) != 1) { in main()
|
D | 2-1.c | 21 sigset_t signalset; in main() local 23 if (sigaddset(&signalset, SIGALRM) == 0) { in main() 24 if (sigismember(&signalset, SIGALRM) == 1) { in main()
|
D | 4-1.c | 27 sigset_t signalset; in main() local 31 if (sigemptyset(&signalset) == -1) { in main() 37 ret = sigaddset(&signalset, sigs[i]); in main()
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_spread_test/ |
D | cpuset_mem_hog.c | 74 sigset_t signalset; in mem_hog() local 78 if (sigemptyset(&signalset) < 0) in mem_hog() 80 sigsuspend(&signalset); in mem_hog() 99 sigsuspend(&signalset); in mem_hog()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigismember/ |
D | 3-1.c | 17 sigset_t signalset; in main() local 19 if (sigfillset(&signalset) == -1) { in main() 24 if (sigismember(&signalset, SIGABRT) != 1) { in main()
|
D | 4-1.c | 19 sigset_t signalset; in main() local 21 if (sigemptyset(&signalset) == -1) { in main() 26 if (sigismember(&signalset, SIGABRT) != 0) { in main()
|
D | 5-1.c | 28 sigset_t signalset; in main() local 31 if (sigfillset(&signalset) == -1) { in main() 37 ret = sigismember(&signalset, sigs[i]); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
D | 1-1.c | 25 sigset_t signalset; in child_proc() local 28 if (sigemptyset(&signalset) != 0) { in child_proc() 32 if (sigaddset(&signalset, SIGUSR1) != 0) { in child_proc() 36 if (sigwait(&signalset, &sig) != 0) { in child_proc()
|
/external/ltp/testcases/kernel/controllers/cpuctl_fj/ |
D | cpuctl_fj_cpu-hog.c | 46 sigset_t signalset; in main() local 57 if (sigemptyset(&signalset) < 0) in main() 60 sigsuspend(&signalset); in main()
|
/external/ltp/testcases/kernel/controllers/cgroup_fj/ |
D | cgroup_fj_proc.c | 43 sigset_t signalset; in main() local 57 if (sigemptyset(&signalset) < 0) in main() 61 sigsuspend(&signalset); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigemptyset/ |
D | 1-1.c | 38 sigset_t signalset; in main() local 41 if (sigemptyset(&signalset) == -1) { in main() 47 if (sigismember(&signalset, siglist[i]) == 1) { in main()
|
D | 2-1.c | 18 sigset_t signalset; in main() local 20 if ((int)sigemptyset(&signalset) != 0) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigfillset/ |
D | 1-1.c | 21 sigset_t signalset; in main() local 39 if (sigfillset(&signalset) == -1) { in main() 45 if (sigismember(&signalset, siglist[i]) == 0) { in main()
|
D | 2-1.c | 17 sigset_t signalset; in main() local 25 if (sigfillset(&signalset) != 0) { in main()
|
/external/ltp/testcases/kernel/syscalls/epoll_pwait/ |
D | epoll_pwait01.c | 44 static sigset_t signalset; variable 67 do_test(&signalset); in main() 86 if (sigemptyset(&signalset) == -1) in setup() 89 if (sigaddset(&signalset, SIGUSR1) == -1) in setup()
|
/external/ltp/testcases/kernel/syscalls/truncate/ |
D | truncate03.c | 118 sigset_t signalset; in setup() local 149 sigemptyset(&signalset); in setup() 150 sigaddset(&signalset, SIGXFSZ); in setup() 151 TEST(sigprocmask(SIG_BLOCK, &signalset, NULL)); in setup()
|
/external/ltp/testcases/kernel/syscalls/sigsuspend/ |
D | sigsuspend01.c | 86 sigset_t signalset; /* signal set to hold signal lists */ variable 114 TEST(sigsuspend(&signalset)); in main() 164 if (sigemptyset(&signalset) == -1) { in setup()
|