Home
last modified time | relevance | path

Searched refs:signalset (Results 1 – 25 of 27) sorted by relevance

12

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigdelset/
D1-4.c16 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()
D1-1.c24 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()
D1-2.c24 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()
D1-3.c22 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()
D4-1.c29 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/
Dcpuset_cpu_hog.c164 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/
D1-1.c22 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()
D1-2.c22 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()
D1-3.c33 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()
D2-1.c21 sigset_t signalset; in main() local
23 if (sigaddset(&signalset, SIGALRM) == 0) { in main()
24 if (sigismember(&signalset, SIGALRM) == 1) { in main()
D4-1.c27 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/
Dcpuset_mem_hog.c74 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/
D3-1.c17 sigset_t signalset; in main() local
19 if (sigfillset(&signalset) == -1) { in main()
24 if (sigismember(&signalset, SIGABRT) != 1) { in main()
D4-1.c19 sigset_t signalset; in main() local
21 if (sigemptyset(&signalset) == -1) { in main()
26 if (sigismember(&signalset, SIGABRT) != 0) { in main()
D5-1.c28 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/
D1-1.c25 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/
Dcpuctl_fj_cpu-hog.c46 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/
Dcgroup_fj_proc.c43 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/
D1-1.c38 sigset_t signalset; in main() local
41 if (sigemptyset(&signalset) == -1) { in main()
47 if (sigismember(&signalset, siglist[i]) == 1) { in main()
D2-1.c18 sigset_t signalset; in main() local
20 if ((int)sigemptyset(&signalset) != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigfillset/
D1-1.c21 sigset_t signalset; in main() local
39 if (sigfillset(&signalset) == -1) { in main()
45 if (sigismember(&signalset, siglist[i]) == 0) { in main()
D2-1.c17 sigset_t signalset; in main() local
25 if (sigfillset(&signalset) != 0) { in main()
/external/ltp/testcases/kernel/syscalls/epoll_pwait/
Depoll_pwait01.c44 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/
Dtruncate03.c118 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/
Dsigsuspend01.c86 sigset_t signalset; /* signal set to hold signal lists */ variable
114 TEST(sigsuspend(&signalset)); in main()
164 if (sigemptyset(&signalset) == -1) { in setup()

12