Home
last modified time | relevance | path

Searched refs:from_raw_nonzero (Results 1 – 8 of 8) sorted by relevance

/third_party/rust/crates/rustix/src/backend/linux_raw/process/
Dsyscalls.rs91 Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(pid as u32)) in getpid()
108 Ok(Pid::from_raw_nonzero(NonZeroU32::new_unchecked( in getpgid()
121 Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(pgid as u32)) in getpgrp()
130 Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(pgid as u32)) in getpgrp()
512 Pid::from_raw_nonzero(non_zero), in _waitpid()
530 Ok(Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked( in setsid()
/third_party/rust/crates/rustix/src/backend/libc/process/
Dsyscalls.rs136 Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(pid)) in getpid()
156 Ok(Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(pgid))) in getpgid()
167 Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(pgid)) in getpgrp()
390 Pid::from_raw_nonzero(non_zero), in _waitpid()
417 Ok(Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(pid))) in setsid()
/third_party/rust/crates/rustix/src/process/
Did.rs132 pub const unsafe fn from_raw_nonzero(raw: RawNonZeroPid) -> Self { in from_raw_nonzero() method
145 unsafe { Self::from_raw_nonzero(RawNonZeroPid::new_unchecked(id as _)) } in from_child()
/third_party/rust/crates/rustix/src/backend/libc/termios/
Dsyscalls.rs35 Ok(Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(pid))) in tcgetpgrp()
84 Ok(Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(pid))) in tcgetsid()
/third_party/rust/crates/rustix/src/backend/linux_raw/termios/
Dsyscalls.rs51 Ok(Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked( in tcgetpgrp()
121 Ok(Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked( in tcgetsid()
/third_party/rust/crates/rustix/src/backend/linux_raw/runtime/
Dsyscalls.rs95 Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(tid as u32)) in set_tid_address()
/third_party/rust/crates/rustix/src/backend/linux_raw/thread/
Dsyscalls.rs213 Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(tid as u32)) in gettid()
/third_party/rust/crates/rustix/src/backend/libc/thread/
Dsyscalls.rs287 Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(tid)) in gettid()