Home
last modified time | relevance | path

Searched refs:old_dirfd (Results 1 - 5 of 5) sorted by relevance

/third_party/rust/crates/nix/test/
H A Dtest_fcntl.rs64 let old_dirfd = in test_renameat()
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()
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()
154 Some(old_dirfd), in test_renameat2_exchange()
[all...]
/third_party/rust/crates/nix/src/
H A Dfcntl.rs221 old_dirfd: Option<RawFd>, in renameat()
229 at_rawfd(old_dirfd), in renameat()
258 old_dirfd: Option<RawFd>, in renameat2()
267 at_rawfd(old_dirfd), in renameat2()
/third_party/toybox/lib/
H A 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/rustix/src/backend/libc/fs/
H A Dsyscalls.rs299 old_dirfd: BorrowedFd<'_>,
307 borrowed_fd(old_dirfd),
323 old_dirfd: BorrowedFd<'_>,
330 borrowed_fd(old_dirfd),
340 old_dirfd: BorrowedFd<'_>,
359 borrowed_fd(old_dirfd), in renameat2()
376 old_dirfd: BorrowedFd<'_>,
383 renameat(old_dirfd, old_path, new_dirfd, new_path)
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
H A Dsyscalls.rs1046 old_dirfd: BorrowedFd<'_>,
1055 old_dirfd,
1066 old_dirfd,
1076 old_dirfd: BorrowedFd<'_>,
1085 old_dirfd,
1139 old_dirfd: BorrowedFd<'_>,
1148 old_dirfd,

Completed in 7 milliseconds