Home
last modified time | relevance | path

Searched refs:SigSet (Results 1 – 15 of 15) sorted by relevance

/external/rust/crates/nix/src/sys/
Dsignal.rs407 pub struct SigSet { struct
412 impl SigSet { argument
413 pub fn all() -> SigSet { in all()
417 unsafe{ SigSet { sigset: sigset.assume_init() } } in all()
420 pub fn empty() -> SigSet { in empty()
424 unsafe{ SigSet { sigset: sigset.assume_init() } } in empty()
449 pub fn extend(&mut self, other: &SigSet) { in extend() argument
458 pub fn thread_get_mask() -> Result<SigSet> { in thread_get_mask()
461 Ok(unsafe{ SigSet{sigset: oldmask.assume_init()}}) in thread_get_mask()
480 pub fn thread_swap_mask(&self, how: SigmaskHow) -> Result<SigSet> { in thread_swap_mask() argument
[all …]
Dsignalfd.rs22 pub use crate::sys::signal::{self, SigSet};
50 pub fn signalfd(fd: RawFd, mask: &SigSet, flags: SfdFlags) -> Result<RawFd> { in signalfd() argument
86 pub fn new(mask: &SigSet) -> Result<SignalFd> { in new()
90 pub fn with_flags(mask: &SigSet, flags: SfdFlags) -> Result<SignalFd> { in with_flags() argument
96 pub fn set_mask(&mut self, mask: &SigSet) -> Result<()> { in set_mask()
158 let mask = SigSet::empty(); in create_signalfd()
165 let mask = SigSet::empty(); in create_signalfd_with_opts()
172 let mask = SigSet::empty(); in read_empty_signalfd()
Dselect.rs9 use crate::sys::signal::SigSet;
241 S: Into<Option<&'a SigSet>>, in pselect() argument
/external/rust/crates/nix/src/
Ducontext.rs8 use crate::sys::signal::SigSet;
33 pub fn sigmask_mut(&mut self) -> &mut SigSet { in sigmask_mut() argument
35 &mut *(&mut self.context.uc_sigmask as *mut libc::sigset_t as *mut SigSet) in sigmask_mut()
39 pub fn sigmask(&self) -> &SigSet { in sigmask() argument
41 &*(&self.context.uc_sigmask as *const libc::sigset_t as *const SigSet) in sigmask() constant
Dpoll.rs5 use crate::sys::signal::SigSet;
137 pub fn ppoll(fds: &mut [PollFd], timeout: Option<TimeSpec>, sigmask: SigSet) -> Result<libc::c_int>… in ppoll()
/external/rust/crates/nix/test/
Dtest_poll.rs48 use nix::sys::signal::SigSet; in test_ppoll()
56 let sigset = SigSet::empty(); in test_ppoll()
64 let nfds = ppoll(&mut fds, Some(timeout), SigSet::empty()).unwrap(); in test_ppoll()
Dtest_unistd.rs7 use nix::sys::signal::{SaFlags, SigAction, SigHandler, SigSet, Signal, sigaction};
712 let signal_action = SigAction::new(handler, SaFlags::SA_RESTART, SigSet::empty()); in test_alarm()
/external/compiler-rt/lib/esan/
Dworking_set_posix.cpp118 __sanitizer_sigset_t SigSet; in registerMemoryFaultHandler() local
119 internal_sigemptyset(&SigSet); in registerMemoryFaultHandler()
120 internal_sigprocmask(SIG_BLOCK, &SigSet, nullptr); in registerMemoryFaultHandler()
Desan_sideline_linux.cpp80 __sanitizer_sigset_t SigSet; in runSideline() local
81 internal_sigfillset(&SigSet); in runSideline()
82 int Res = internal_sigprocmask(SIG_UNBLOCK, &SigSet, nullptr); in runSideline()
/external/rust/crates/nix/test/sys/
Dtest_signalfd.rs6 use nix::sys::signal::{self, raise, Signal, SigSet}; in test_signalfd()
12 let mut mask = SigSet::empty(); in test_signalfd()
Dtest_signal.rs29 SigSet::empty(), in test_old_sigaction_flags()
50 let mut old_signal_set = SigSet::empty(); in test_sigprocmask()
61 let mut signal_set = SigSet::empty(); in test_sigprocmask()
Dtest_select.rs3 use nix::sys::signal::SigSet;
21 let sigmask = SigSet::empty(); in test_pselect()
Dtest_aio.rs6 use nix::sys::signal::{SaFlags, SigAction, sigaction, SigevNotify, SigHandler, Signal, SigSet};
459 SigSet::empty()); in test_write_sigev_signal()
604 SigSet::empty()); in test_liocb_listio_signal()
/external/rust/crates/nix/
DCONVENTIONS.md31 pub struct SigSet(libc::sigset_t);
33 impl SigSet {
DCHANGELOG.md991 - Added `clear` and `extend` functions to `SigSet`'s implementation in