/third_party/rust/crates/nix/src/ |
D | unistd.rs | 130 pub struct Gid(gid_t); 132 impl Gid { impl 135 Gid(gid) 156 impl From<Gid> for gid_t { 157 fn from(gid: Gid) -> Self { 162 impl From<gid_t> for Gid { 164 Gid(gid) 168 impl fmt::Display for Gid { 698 fn chown_raw_ids(owner: Option<Uid>, group: Option<Gid>) -> (libc::uid_t, libc::gid_t) { 717 pub fn chown<P: ?Sized + NixPath>(path: &P, owner: Option<Uid>, group: Option<Gid>) -> Result<()> { [all …]
|
/third_party/rust/crates/rustix/src/process/ |
D | id.rs | 34 pub struct Gid(RawGid); struct 78 impl Gid { impl 224 pub fn getgid() -> Gid { in getgid() 238 pub fn getegid() -> Gid { in getegid() 313 pub(crate) fn translate_fchown_args(owner: Option<Uid>, group: Option<Gid>) -> (u32, u32) { in translate_fchown_args()
|
D | mod.rs | 46 getegid, geteuid, getgid, getpgid, getpgrp, getpid, getppid, getuid, setsid, Gid, Pid, RawGid,
|
/third_party/rust/crates/nix/test/sys/ |
D | test_sockopt.rs | 15 unistd::{Gid, Uid}, in test_local_peercred_seqpacket() 28 assert_eq!(Gid::from_raw(xucred.groups()[0]), Gid::current()); in test_local_peercred_seqpacket() 41 unistd::{Gid, Uid}, in test_local_peercred_stream() 54 assert_eq!(Gid::from_raw(xucred.groups()[0]), Gid::current()); in test_local_peercred_stream()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/process/ |
D | syscalls.rs | 19 Cpuid, Gid, MembarrierCommand, MembarrierQuery, Pid, RawNonZeroPid, RawPid, Resource, Rlimit, 135 pub(crate) fn getgid() -> Gid { in getgid() 140 Gid::from_raw(gid as u32) in getgid() 145 Gid::from_raw(gid as u32) in getgid() 150 pub(crate) fn getegid() -> Gid { in getegid() 155 Gid::from_raw(gid as u32) in getegid() 160 Gid::from_raw(gid as u32) in getegid()
|
/third_party/rust/crates/rustix/src/backend/libc/process/ |
D | syscalls.rs | 38 crate::process::{Gid, Pid, RawNonZeroPid, RawPid, Signal, Uid, WaitOptions, WaitStatus}, 112 pub(crate) fn getgid() -> Gid { in getgid() 115 Gid::from_raw(gid) in getgid() 122 pub(crate) fn getegid() -> Gid { in getegid() 125 Gid::from_raw(gid) in getegid()
|
/third_party/rust/crates/rustix/src/fs/ |
D | fd.rs | 7 use crate::process::{Gid, Uid}; 140 pub fn fchown<Fd: AsFd>(fd: Fd, owner: Option<Uid>, group: Option<Gid>) -> io::Result<()> { in fchown()
|
D | at.rs | 21 use crate::process::{Gid, Uid}; 382 group: Option<Gid>, in chownat() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | TarWriter.cpp | 39 char Gid[8]; member
|
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/ |
D | syscalls.rs | 32 use crate::process::{Gid, Uid}; 153 group: Option<Gid>, in chownat() argument 170 pub(crate) fn fchown(fd: BorrowedFd<'_>, owner: Option<Uid>, group: Option<Gid>) -> io::Result<()> { in fchown()
|
/third_party/rust/crates/nix/test/ |
D | test_unistd.rs | 253 let groups = [Gid::from_raw(123), Gid::from_raw(456)]; in test_setgroups() 289 let group = Gid::from_raw(123); in test_initgroups()
|
/third_party/rust/crates/rustix/src/backend/libc/fs/ |
D | syscalls.rs | 129 use crate::process::{Gid, Uid}; 738 group: Option<Gid>, in chownat() argument 934 pub(crate) fn fchown(fd: BorrowedFd<'_>, owner: Option<Uid>, group: Option<Gid>) -> io::Result<()> { in fchown() 946 pub(crate) fn fchown(fd: BorrowedFd<'_>, owner: Option<Uid>, group: Option<Gid>) -> io::Result<()> { in fchown()
|
/third_party/rust/crates/nix/ |
D | CHANGELOG.md | 102 - impl `From<uid_t>` for `Uid` and `From<gid_t>` for `Gid` 474 - Made `Uid`, `Gid` and `Pid` methods `from_raw` and `as_raw` a `const fn` 790 `ForkResult::is_child`, `ForkResult::is_parent`, `Gid::as_raw`, 1300 - Introduced wrapper types for `gid_t`, `pid_t`, and `uid_t` as `Gid`, `Pid`, and `Uid`
|