Home
last modified time | relevance | path

Searched refs:RenameFlags (Results 1 – 12 of 12) sorted by relevance

/third_party/rust/crates/rustix/tests/fs/
Drenameat.rs57 use rustix::fs::{cwd, openat, renameat_with, statat, AtFlags, Mode, OFlags, RenameFlags}; in test_renameat_with()
71 match renameat_with(&dir, "foo", &dir, "red", RenameFlags::empty()) { in test_renameat_with()
92 renameat_with(&dir, "red", &dir, "green", RenameFlags::NOREPLACE).unwrap_err(); in test_renameat_with()
98 renameat_with(&dir, "red", &dir, "green", RenameFlags::EXCHANGE).unwrap(); in test_renameat_with()
/third_party/rust/crates/nix/test/
Dtest_fcntl.rs17 use nix::fcntl::{renameat2, RenameFlags};
106 RenameFlags::empty(), in test_renameat2_behaves_like_renameat_with_no_flags()
115 RenameFlags::empty() in test_renameat2_behaves_like_renameat_with_no_flags()
158 RenameFlags::RENAME_EXCHANGE, in test_renameat2_exchange()
201 RenameFlags::RENAME_NOREPLACE in test_renameat2_noreplace()
/third_party/rust/crates/rustix/src/fs/
Dconstants.rs15 pub use backend::fs::types::{MountFlags, MountPropagationFlags, RenameFlags, ResolveFlags};
Dat.rs17 use crate::fs::RenameFlags;
210 flags: RenameFlags, in renameat_with() argument
Dmod.rs107 pub use constants::{MountFlags, MountPropagationFlags, RenameFlags, ResolveFlags};
/third_party/rust/crates/nix/src/
Dfcntl.rs244 pub struct RenameFlags: u32 {
262 flags: RenameFlags,
/third_party/rust/crates/rustix/src/backend/linux_raw/
Dconv.rs325 impl<'a, Num: ArgNumber> From<crate::fs::RenameFlags> for ArgReg<'a, Num> {
327 fn from(flags: crate::fs::RenameFlags) -> Self { in from()
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
Dtypes.rs237 pub struct RenameFlags: c::c_uint {
Dsyscalls.rs28 RenameFlags, ResolveFlags, SealFlags, Stat, StatFs, StatVfs, StatVfsMountFlags, StatxFlags,
1080 flags: RenameFlags, in renameat2() argument
/third_party/rust/crates/rustix/src/backend/libc/fs/
Dsyscalls.rs110 use crate::fs::{cwd, RenameFlags, ResolveFlags, Statx, StatxFlags};
344 flags: RenameFlags, in renameat2() argument
380 flags: RenameFlags, in renameat2() argument
Dtypes.rs360 pub struct RenameFlags: c::c_uint {
/third_party/rust/crates/rustix/src/
Dio_uring.rs733 pub rename_flags: crate::fs::RenameFlags,