Searched refs:old_dirfd (Results 1 – 6 of 6) sorted by relevance
/external/rust/android-crates-io/crates/nix/test/ |
D | test_fcntl.rs | 125 let old_dirfd = in test_renameat() localVariable 132 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap(); in test_renameat() 134 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap_err(), in test_renameat() 137 close(old_dirfd).unwrap(); in test_renameat() 154 let old_dirfd = in test_renameat2_behaves_like_renameat_with_no_flags() localVariable 162 Some(old_dirfd), in test_renameat2_behaves_like_renameat_with_no_flags() 171 Some(old_dirfd), in test_renameat2_behaves_like_renameat_with_no_flags() 180 close(old_dirfd).unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags() 197 let old_dirfd = in test_renameat2_exchange() localVariable 213 Some(old_dirfd), in test_renameat2_exchange() [all …]
|
/external/rust/android-crates-io/crates/rustix/src/fs/ |
D | at.rs | 202 old_dirfd: PFd, in linkat() 211 old_dirfd.as_fd(), in linkat() 250 old_dirfd: PFd, in renameat() 258 old_dirfd.as_fd(), in renameat() 278 old_dirfd: PFd, in renameat_with() 287 old_dirfd.as_fd(), in renameat_with()
|
/external/rust/android-crates-io/crates/rustix/src/backend/libc/fs/ |
D | syscalls.rs | 336 old_dirfd: BorrowedFd<'_>, in linkat() 357 borrowed_fd(old_dirfd), in linkat() 365 if borrowed_fd(old_dirfd) != c::AT_FDCWD || borrowed_fd(new_dirfd) != c::AT_FDCWD { in linkat() 380 borrowed_fd(old_dirfd), in linkat() 447 old_dirfd: BorrowedFd<'_>, in renameat() 466 borrowed_fd(old_dirfd), in renameat() 473 if borrowed_fd(old_dirfd) != c::AT_FDCWD || borrowed_fd(new_dirfd) != c::AT_FDCWD { in renameat() 482 borrowed_fd(old_dirfd), in renameat() 492 old_dirfd: BorrowedFd<'_>, in renameat2() 511 borrowed_fd(old_dirfd), in renameat2() [all …]
|
/external/rust/android-crates-io/crates/rustix/src/backend/linux_raw/fs/ |
D | syscalls.rs | 1120 old_dirfd: BorrowedFd<'_>, in renameat() 1129 old_dirfd, in renameat() 1140 old_dirfd, in renameat() 1150 old_dirfd: BorrowedFd<'_>, in renameat2() 1159 old_dirfd, in renameat2() 1213 old_dirfd: BorrowedFd<'_>, in linkat() 1222 old_dirfd, in linkat()
|
/external/toybox/lib/ |
D | portability.c | 374 int old_dirfd = open(".", O_RDONLY), result; in mknodat() local 376 if (old_dirfd == -1 || fchdir(dirfd) == -1) return -1; in mknodat() 378 if (fchdir(old_dirfd) == -1) perror_exit("mknodat couldn't return"); in mknodat()
|
/external/rust/android-crates-io/crates/nix/src/ |
D | fcntl.rs | 378 old_dirfd: Option<RawFd>, 386 at_rawfd(old_dirfd), 426 old_dirfd: Option<RawFd>, 435 at_rawfd(old_dirfd),
|