Searched refs:from_raw_nonzero (Results 1 – 8 of 8) sorted by relevance
91 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()
136 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()
132 pub const unsafe fn from_raw_nonzero(raw: RawNonZeroPid) -> Self { in from_raw_nonzero() method145 unsafe { Self::from_raw_nonzero(RawNonZeroPid::new_unchecked(id as _)) } in from_child()
35 Ok(Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(pid))) in tcgetpgrp()84 Ok(Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(pid))) in tcgetsid()
51 Ok(Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked( in tcgetpgrp()121 Ok(Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked( in tcgetsid()
95 Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(tid as u32)) in set_tid_address()
213 Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(tid as u32)) in gettid()
287 Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(tid)) in gettid()