Home
last modified time | relevance | path

Searched refs:SIG_SETMASK (Results 1 – 16 of 16) sorted by relevance

/bionic/tests/
Dsetjmp_test.cpp89 sigprocmask64(SIG_SETMASK, nullptr, &actual); in AssertSigmaskEquals()
101 sigprocmask64(SIG_SETMASK, &ss.one, nullptr); in TEST()
104 sigprocmask64(SIG_SETMASK, &ss.two, nullptr); in TEST()
119 sigprocmask64(SIG_SETMASK, &ss.one, nullptr); in TEST()
122 sigprocmask64(SIG_SETMASK, &ss.two, nullptr); in TEST()
141 sigprocmask64(SIG_SETMASK, &ss.one, nullptr); in TEST()
144 sigprocmask64(SIG_SETMASK, &ss.two, nullptr); in TEST()
157 sigprocmask64(SIG_SETMASK, &ss.one, nullptr); in TEST()
160 sigprocmask64(SIG_SETMASK, &ss.two, nullptr); in TEST()
DSignalUtils.h48 sigprocmask64(SIG_SETMASK, nullptr, &old_mask_); in SignalMaskRestorer()
52 sigprocmask64(SIG_SETMASK, &old_mask_, nullptr); in ~SignalMaskRestorer()
Dsys_signalfd_test.cpp59 ASSERT_EQ(0, sigprocmask(SIG_SETMASK, &mask, nullptr)); in TEST()
70 ASSERT_EQ(0, sigprocmask64(SIG_SETMASK, &mask, nullptr)); in TEST()
Dsignal_test.cpp349 if (syscall(__NR_rt_sigprocmask, SIG_SETMASK, &sigset, nullptr, sizeof(sigset)) != 0) { in ClearSignalMask()
359 if (syscall(__NR_rt_sigprocmask, SIG_SETMASK, &sigset, nullptr, sizeof(sigset)) != 0) { in FillSignalMask()
366 if (syscall(__NR_rt_sigprocmask, SIG_SETMASK, nullptr, &sigset, sizeof(sigset)) != 0) { in GetSignalMask()
439 ASSERT_EQ(0, sigprocmask(SIG_SETMASK, &sigset_libc, nullptr)); in TEST()
448 ASSERT_EQ(0, sigprocmask64(SIG_SETMASK, &sigset_libc, nullptr)); in TEST()
457 ASSERT_EQ(0, pthread_sigmask(SIG_SETMASK, &sigset_libc, nullptr)); in TEST()
466 ASSERT_EQ(0, pthread_sigmask64(SIG_SETMASK, &sigset_libc, nullptr)); in TEST()
648 pthread_sigmask(SIG_SETMASK, &mask, nullptr); in TEST()
773 ASSERT_EQ(0, sigprocmask(SIG_SETMASK, &original_set, nullptr)); in TEST()
871 ASSERT_EQ(0, sigprocmask(SIG_SETMASK, nullptr, &set)); in TestSigholdSigpauseSigrelse()
[all …]
Dpthread_test.cpp407 ASSERT_EQ(0, pthread_sigmask(SIG_SETMASK, &original_set, nullptr)); in TEST()
448 ASSERT_EQ(0, pthread_sigmask64(SIG_SETMASK, &original_set, nullptr)); in TEST()
/bionic/libc/kernel/uapi/asm-generic/
Dsignal-defs.h28 #ifndef SIG_SETMASK
29 #define SIG_SETMASK 2 macro
/bionic/libc/bionic/
Dabort.cpp44 sigprocmask64(SIG_SETMASK, &mask, nullptr); in abort()
52 sigprocmask64(SIG_SETMASK, &mask, nullptr); in abort()
Dsignal.cpp196 if (sigprocmask64(SIG_SETMASK, nullptr, &set) == -1 || sigdelset64(&set, sig) == -1) return -1; in sigpause()
253 if (sigprocmask(SIG_SETMASK, &in.sigset, &out.sigset) == -1) return -1; in sigsetmask()
267 mutable_set = filter_reserved_signals(*set, SIG_SETMASK); in sigsuspend64()
283 mutable_set = filter_reserved_signals(*set, SIG_SETMASK); in sigtimedwait64()
Dpoll.cpp75 mutable_ss = filter_reserved_signals(*ss, SIG_SETMASK); in ppoll64()
125 mutable_ss = filter_reserved_signals(*ss, SIG_SETMASK); in pselect64()
Dsigprocmask.cpp71 if (new_set && how != SIG_BLOCK && how != SIG_UNBLOCK && how != SIG_SETMASK) { in sigprocmask64()
Dpthread_create.cpp345 __rt_sigprocmask(SIG_SETMASK, &thread->start_mask, nullptr, sizeof(thread->start_mask)); in __pthread_start()
411 __rt_sigprocmask(SIG_SETMASK, &block_all_mask, &thread->start_mask, sizeof(thread->start_mask)); in pthread_create()
413 __rt_sigprocmask(SIG_SETMASK, &thread->start_mask, nullptr, sizeof(thread->start_mask)); in pthread_create()
Dposix_timers.cpp157 __rt_sigprocmask(SIG_SETMASK, &old_sigset, nullptr, sizeof(old_sigset)); in timer_create()
Dspawn.cpp132 if (sigprocmask64(SIG_SETMASK, &(*attr)->sigmask.sigset64, nullptr)) _exit(127); in ApplyAttrs()
/bionic/libc/private/
DScopedSignalBlocker.h50 __rt_sigprocmask(SIG_SETMASK, &old_set_, nullptr, sizeof(sigset64_t)); in reset()
/bionic/libc/platform/bionic/
Dreserved_signals.h64 case SIG_SETMASK: in filter_reserved_signals()
/bionic/tests/headers/posix/
Dsignal_h.c111 i = SIG_SETMASK; in signal_h()