Lines Matching refs:sigs

139 	sigset_t sigs;  in test_empty_set()  local
143 SUCCEED_OR_DIE(sigemptyset, "sigemptyset failed", &sigs); in test_empty_set()
147 TEST(sigwaitinfo(&sigs, &si, NULL)); in test_empty_set()
155 sigset_t sigs; in test_timeout() local
160 SUCCEED_OR_DIE(sigemptyset, "sigemptyset failed", &sigs); in test_timeout()
165 TEST(sigwaitinfo(&sigs, &si, &ts)); in test_timeout()
176 sigset_t sigs; in test_unmasked_matching() local
180 SUCCEED_OR_DIE(sigemptyset, "sigemptyset failed", &sigs); in test_unmasked_matching()
181 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, signo); in test_unmasked_matching()
186 TEST(sigwaitinfo(&sigs, &si, NULL)); in test_unmasked_matching()
196 sigset_t sigs; in test_unmasked_matching_noinfo() local
199 SUCCEED_OR_DIE(sigemptyset, "sigemptyset failed", &sigs); in test_unmasked_matching_noinfo()
200 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, signo); in test_unmasked_matching_noinfo()
204 TEST(sigwaitinfo(&sigs, NULL, NULL)); in test_unmasked_matching_noinfo()
212 sigset_t sigs, oldmask; in test_masked_matching() local
216 SUCCEED_OR_DIE(sigemptyset, "sigemptyset failed", &sigs); in test_masked_matching()
217 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, signo); in test_masked_matching()
219 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, SIGCHLD); in test_masked_matching()
221 SUCCEED_OR_DIE(sigprocmask, "sigprocmask failed", SIG_SETMASK, &sigs, in test_masked_matching()
225 SUCCEED_OR_DIE(sigdelset, "sigaddset failed", &sigs, SIGCHLD); in test_masked_matching()
230 TEST(sigwaitinfo(&sigs, &si, NULL)); in test_masked_matching()
249 sigset_t sigs, oldmask; in test_masked_matching_rt() local
255 SUCCEED_OR_DIE(sigemptyset, "sigemptyset failed", &sigs); in test_masked_matching_rt()
256 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, signo); in test_masked_matching_rt()
257 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, signo + 1); in test_masked_matching_rt()
259 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, SIGCHLD); in test_masked_matching_rt()
261 SUCCEED_OR_DIE(sigprocmask, "sigprocmask failed", SIG_SETMASK, &sigs, in test_masked_matching_rt()
265 SUCCEED_OR_DIE(sigdelset, "sigdelset failed", &sigs, SIGCHLD); in test_masked_matching_rt()
271 TEST(sigwaitinfo(&sigs, &si, NULL)); in test_masked_matching_rt()
278 TEST(sigwaitinfo(&sigs, &si, NULL)); in test_masked_matching_rt()
298 sigset_t sigs, oldmask; in test_masked_matching_noinfo() local
301 SUCCEED_OR_DIE(sigemptyset, "sigemptyset failed", &sigs); in test_masked_matching_noinfo()
302 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, signo); in test_masked_matching_noinfo()
304 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, SIGCHLD); in test_masked_matching_noinfo()
306 SUCCEED_OR_DIE(sigprocmask, "sigprocmask failed", SIG_SETMASK, &sigs, in test_masked_matching_noinfo()
310 SUCCEED_OR_DIE(sigdelset, "sigaddset failed", &sigs, SIGCHLD); in test_masked_matching_noinfo()
315 TEST(sigwaitinfo(&sigs, NULL, NULL)); in test_masked_matching_noinfo()
333 sigset_t sigs, oldmask; in test_bad_address() local
336 SUCCEED_OR_DIE(sigemptyset, "sigemptyset failed", &sigs); in test_bad_address()
337 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, signo); in test_bad_address()
339 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, SIGCHLD); in test_bad_address()
341 SUCCEED_OR_DIE(sigprocmask, "sigprocmask failed", SIG_SETMASK, &sigs, in test_bad_address()
345 SUCCEED_OR_DIE(sigdelset, "sigaddset failed", &sigs, SIGCHLD); in test_bad_address()
350 TEST(sigwaitinfo(&sigs, (void *)1, NULL)); in test_bad_address()
367 sigset_t sigs; in test_bad_address3() local
368 SUCCEED_OR_DIE(sigemptyset, "sigemptyset failed", &sigs); in test_bad_address3()
370 TEST(sigwaitinfo(&sigs, NULL, (void *)1)); in test_bad_address3()