/external/rust/crates/nix/src/sys/ |
D | signal.rs | 407 pub struct SigSet { struct 412 impl SigSet { implementation 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 …]
|
D | signalfd.rs | 22 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()
|
D | select.rs | 9 use crate::sys::signal::SigSet; 241 S: Into<Option<&'a SigSet>>, in pselect() argument
|
/external/rust/crates/nix/src/ |
D | ucontext.rs | 8 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
|
D | poll.rs | 5 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/ |
D | test_poll.rs | 48 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()
|
D | test_unistd.rs | 7 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/ |
D | working_set_posix.cpp | 118 __sanitizer_sigset_t SigSet; in registerMemoryFaultHandler() local 119 internal_sigemptyset(&SigSet); in registerMemoryFaultHandler() 120 internal_sigprocmask(SIG_BLOCK, &SigSet, nullptr); in registerMemoryFaultHandler()
|
D | esan_sideline_linux.cpp | 80 __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/ |
D | test_signalfd.rs | 6 use nix::sys::signal::{self, raise, Signal, SigSet}; in test_signalfd() 12 let mut mask = SigSet::empty(); in test_signalfd()
|
D | test_signal.rs | 29 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()
|
D | test_select.rs | 3 use nix::sys::signal::SigSet; 21 let sigmask = SigSet::empty(); in test_pselect()
|
D | test_aio.rs | 6 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/ |
D | CONVENTIONS.md | 31 pub struct SigSet(libc::sigset_t); 33 impl SigSet {
|
D | CHANGELOG.md | 991 - Added `clear` and `extend` functions to `SigSet`'s implementation in
|