Home
last modified time | relevance | path

Searched refs:old_dirfd (Results 1 – 6 of 6) sorted by relevance

/third_party/rust/crates/nix/test/
Dtest_fcntl.rs64 let old_dirfd = in test_renameat() localVariable
71 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap(); in test_renameat()
73 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap_err(), in test_renameat()
76 close(old_dirfd).unwrap(); in test_renameat()
94 let old_dirfd = in test_renameat2_behaves_like_renameat_with_no_flags() localVariable
102 Some(old_dirfd), in test_renameat2_behaves_like_renameat_with_no_flags()
111 Some(old_dirfd), in test_renameat2_behaves_like_renameat_with_no_flags()
120 close(old_dirfd).unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags()
138 let old_dirfd = in test_renameat2_exchange() localVariable
154 Some(old_dirfd), in test_renameat2_exchange()
[all …]
/third_party/rust/crates/rustix/src/fs/
Dat.rs131 old_dirfd: PFd, in linkat()
140 old_dirfd.as_fd(), in linkat()
178 old_dirfd: PFd, in renameat()
186 old_dirfd.as_fd(), in renameat()
206 old_dirfd: PFd, in renameat_with()
215 old_dirfd.as_fd(), in renameat_with()
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
Dsyscalls.rs1046 old_dirfd: BorrowedFd<'_>, in renameat()
1055 old_dirfd, in renameat()
1066 old_dirfd, in renameat()
1076 old_dirfd: BorrowedFd<'_>, in renameat2()
1085 old_dirfd, in renameat2()
1139 old_dirfd: BorrowedFd<'_>, in linkat()
1148 old_dirfd, in linkat()
/third_party/toybox/lib/
Dportability.c392 int old_dirfd = open(".", O_RDONLY), result; in mknodat() local
394 if (old_dirfd == -1 || fchdir(dirfd) == -1) return -1; in mknodat()
396 if (fchdir(old_dirfd) == -1) perror_exit("mknodat couldn't return"); in mknodat()
/third_party/rust/crates/nix/src/
Dfcntl.rs221 old_dirfd: Option<RawFd>,
229 at_rawfd(old_dirfd),
258 old_dirfd: Option<RawFd>,
267 at_rawfd(old_dirfd),
/third_party/rust/crates/rustix/src/backend/libc/fs/
Dsyscalls.rs299 old_dirfd: BorrowedFd<'_>, in linkat()
307 borrowed_fd(old_dirfd), in linkat()
323 old_dirfd: BorrowedFd<'_>, in renameat()
330 borrowed_fd(old_dirfd), in renameat()
340 old_dirfd: BorrowedFd<'_>, in renameat2()
359 borrowed_fd(old_dirfd), in renameat2()
376 old_dirfd: BorrowedFd<'_>, in renameat2()
383 renameat(old_dirfd, old_path, new_dirfd, new_path) in renameat2()