Home
last modified time | relevance | path

Searched refs:SIG_BLOCK (Results 1 – 11 of 11) sorted by relevance

/bionic/libc/private/
DScopedSignalBlocker.h35 __rt_sigprocmask(SIG_BLOCK, &set, &old_set_, sizeof(sigset64_t)); in ScopedSignalBlocker()
42 __rt_sigprocmask(SIG_BLOCK, &set, &old_set_, sizeof(sigset64_t)); in ScopedSignalBlocker()
/bionic/libc/kernel/uapi/asm-generic/
Dsignal-defs.h47 #ifndef SIG_BLOCK
48 #define SIG_BLOCK 0 macro
/bionic/tests/
Dsignal_test.cpp166 ASSERT_EQ(0, sigprocmask(SIG_BLOCK, &just_SIGALRM, nullptr)); in TEST()
208 ASSERT_EQ(0, sigprocmask64(SIG_BLOCK, &just_SIGRTMIN, nullptr)); in TEST()
437 ASSERT_EQ(0, sigprocmask(SIG_BLOCK, &sigset_libc, nullptr)); in TEST()
446 ASSERT_EQ(0, sigprocmask64(SIG_BLOCK, &sigset_libc, nullptr)); in TEST()
455 ASSERT_EQ(0, pthread_sigmask(SIG_BLOCK, &sigset_libc, nullptr)); in TEST()
464 ASSERT_EQ(0, pthread_sigmask64(SIG_BLOCK, &sigset_libc, nullptr)); in TEST()
633 ASSERT_EQ(0, sigprocmask(SIG_BLOCK, &just_SIGALRM, nullptr)); in TEST()
652 ASSERT_EQ(0, sigprocmask64(SIG_BLOCK, &just_SIGRTMIN, nullptr)); in TEST()
671 ASSERT_EQ(0, sigprocmask(SIG_BLOCK, &just_SIGALRM, nullptr)); in TEST()
693 ASSERT_EQ(0, sigprocmask64(SIG_BLOCK, &just_SIGRTMIN, nullptr)); in TEST()
[all …]
Dpthread_test.cpp372 ASSERT_EQ(0, pthread_sigmask(SIG_BLOCK, nullptr, &original_set)); in TEST()
379 ASSERT_EQ(0, pthread_sigmask(SIG_BLOCK, &set, nullptr)); in TEST()
384 ASSERT_EQ(0, pthread_sigmask(SIG_BLOCK, nullptr, &final_set)); in TEST()
388 ASSERT_EQ(0, sigprocmask(SIG_BLOCK, nullptr, &final_set)); in TEST()
413 ASSERT_EQ(0, pthread_sigmask64(SIG_BLOCK, nullptr, &original_set)); in TEST()
420 ASSERT_EQ(0, pthread_sigmask64(SIG_BLOCK, &set, nullptr)); in TEST()
425 ASSERT_EQ(0, pthread_sigmask64(SIG_BLOCK, nullptr, &final_set)); in TEST()
429 ASSERT_EQ(0, sigprocmask64(SIG_BLOCK, nullptr, &final_set)); in TEST()
Dspawn_test.cpp389 ASSERT_EQ(0, sigprocmask(SIG_BLOCK, &just_SIGBUS, nullptr)); in TEST()
/bionic/libc/platform/bionic/
Dreserved_signals.h61 case SIG_BLOCK: in filter_reserved_signals()
/bionic/libc/bionic/
Dsigprocmask.cpp71 if (new_set && how != SIG_BLOCK && how != SIG_UNBLOCK && how != SIG_SETMASK) { in sigprocmask64()
Dsignal.cpp84 if (sigprocmask(SIG_BLOCK, &in.sigset, &out.sigset) == -1) return -1; in sigblock()
147 return sigprocmask64(SIG_BLOCK, &set, nullptr); in sighold()
241 if (sigprocmask64(disp == SIG_HOLD ? SIG_BLOCK : SIG_UNBLOCK, &new_mask, &old_mask) == -1) { in sigset()
Dpthread_exit.cpp117 __rt_sigprocmask(SIG_BLOCK, &set, nullptr, sizeof(sigset64_t)); in pthread_exit()
Dposix_timers.cpp153 __rt_sigprocmask(SIG_BLOCK, &sigset, &old_sigset, sizeof(sigset)); in timer_create()
/bionic/tests/headers/posix/
Dsignal_h.c109 i = SIG_BLOCK; in signal_h()