Home
last modified time | relevance | path

Searched refs:RawNonZeroPid (Results 1 – 11 of 11) sorted by relevance

/third_party/rust/crates/rustix/src/process/
Did.rs24 pub use backend::process::types::RawNonZeroPid;
43 pub struct Pid(RawNonZeroPid);
109 unsafe { RawNonZeroPid::new_unchecked(1) },
119 match RawNonZeroPid::new(raw) { in from_raw()
132 pub const unsafe fn from_raw_nonzero(raw: RawNonZeroPid) -> Self { in from_raw_nonzero()
145 unsafe { Self::from_raw_nonzero(RawNonZeroPid::new_unchecked(id as _)) } in from_child()
150 pub const fn as_raw_nonzero(self) -> RawNonZeroPid { in as_raw_nonzero() argument
Dmod.rs47 RawNonZeroPid, RawPid, RawUid, Uid,
/third_party/rust/crates/rustix/src/backend/libc/process/
Dsyscalls.rs38 crate::process::{Gid, Pid, RawNonZeroPid, RawPid, Signal, Uid, WaitOptions, WaitStatus},
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()
388 Ok(RawNonZeroPid::new(pid).map(|non_zero| { in _waitpid()
417 Ok(Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(pid))) in setsid()
Dtypes.rs374 pub type RawNonZeroPid = core::num::NonZeroI32; typedef
/third_party/rust/crates/rustix/src/backend/linux_raw/process/
Dsyscalls.rs19 Cpuid, Gid, MembarrierCommand, MembarrierQuery, Pid, RawNonZeroPid, RawPid, Resource, Rlimit,
91 Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(pid as u32)) in getpid()
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()
510 Ok(RawNonZeroPid::new(pid).map(|non_zero| { in _waitpid()
530 Ok(Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked( in setsid()
Dtypes.rs215 pub type RawNonZeroPid = core::num::NonZeroU32; typedef
/third_party/rust/crates/rustix/src/backend/libc/termios/
Dsyscalls.rs16 use crate::process::{Pid, RawNonZeroPid};
35 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/runtime/
Dsyscalls.rs19 use crate::process::{Pid, RawNonZeroPid};
95 Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(tid as u32)) in set_tid_address()
/third_party/rust/crates/rustix/src/backend/linux_raw/termios/
Dsyscalls.rs12 use crate::process::{Pid, RawNonZeroPid};
51 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/thread/
Dsyscalls.rs15 use crate::process::{Pid, RawNonZeroPid};
213 Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(tid as u32)) in gettid()
/third_party/rust/crates/rustix/src/backend/libc/thread/
Dsyscalls.rs12 use crate::process::{Pid, RawNonZeroPid};
287 Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(tid)) in gettid()