Searched refs:RawNonZeroPid (Results 1 – 11 of 11) sorted by relevance
/third_party/rust/crates/rustix/src/process/ |
D | id.rs | 24 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
|
D | mod.rs | 47 RawNonZeroPid, RawPid, RawUid, Uid,
|
/third_party/rust/crates/rustix/src/backend/libc/process/ |
D | syscalls.rs | 38 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()
|
D | types.rs | 374 pub type RawNonZeroPid = core::num::NonZeroI32; typedef
|
/third_party/rust/crates/rustix/src/backend/linux_raw/process/ |
D | syscalls.rs | 19 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()
|
D | types.rs | 215 pub type RawNonZeroPid = core::num::NonZeroU32; typedef
|
/third_party/rust/crates/rustix/src/backend/libc/termios/ |
D | syscalls.rs | 16 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/ |
D | syscalls.rs | 19 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/ |
D | syscalls.rs | 12 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/ |
D | syscalls.rs | 15 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/ |
D | syscalls.rs | 12 use crate::process::{Pid, RawNonZeroPid}; 287 Pid::from_raw_nonzero(RawNonZeroPid::new_unchecked(tid)) in gettid()
|