/dports/lang/zig-devel/zig-0.9.0/lib/libc/wasi/libc-bottom-half/sources/ |
H A D | posix.c | 253 int old_dirfd = find_relpath_alt(old, &old_relative_path); in link() local 255 if (old_dirfd != -1) { in link() 260 return __wasilibc_nocwd_linkat(old_dirfd, old_relative_path, in link() 271 int old_dirfd = find_relpath_alt(old, &old_relative_path); in rename() local 273 if (old_dirfd != -1) { in rename() 343 int old_dirfd = find_relpath(oldpath, &old_relative_path); in __wasilibc_link() local 347 if (old_dirfd == -1 || new_dirfd == -1) { in __wasilibc_link() 352 return __wasilibc_nocwd_linkat(old_dirfd, old_relative_path, in __wasilibc_link() 380 int old_dirfd = find_relpath(oldpath, &old_relative_path); in __wasilibc_link_newat() local 383 if (old_dirfd == -1) { in __wasilibc_link_newat() [all …]
|
/dports/devel/wasi-libc/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/libc-bottom-half/sources/ |
H A D | posix.c | 253 int old_dirfd = find_relpath_alt(old, &old_relative_path); in link() local 255 if (old_dirfd != -1) { in link() 260 return __wasilibc_nocwd_linkat(old_dirfd, old_relative_path, in link() 271 int old_dirfd = find_relpath_alt(old, &old_relative_path); in rename() local 273 if (old_dirfd != -1) { in rename() 343 int old_dirfd = find_relpath(oldpath, &old_relative_path); in __wasilibc_link() local 347 if (old_dirfd == -1 || new_dirfd == -1) { in __wasilibc_link() 352 return __wasilibc_nocwd_linkat(old_dirfd, old_relative_path, in __wasilibc_link() 380 int old_dirfd = find_relpath(oldpath, &old_relative_path); in __wasilibc_link_newat() local 383 if (old_dirfd == -1) { in __wasilibc_link_newat() [all …]
|
/dports/lang/zig/zig-0.9.0/lib/libc/wasi/libc-bottom-half/sources/ |
H A D | posix.c | 253 int old_dirfd = find_relpath_alt(old, &old_relative_path); in link() local 255 if (old_dirfd != -1) { in link() 260 return __wasilibc_nocwd_linkat(old_dirfd, old_relative_path, in link() 271 int old_dirfd = find_relpath_alt(old, &old_relative_path); in rename() local 273 if (old_dirfd != -1) { in rename() 343 int old_dirfd = find_relpath(oldpath, &old_relative_path); in __wasilibc_link() local 347 if (old_dirfd == -1 || new_dirfd == -1) { in __wasilibc_link() 352 return __wasilibc_nocwd_linkat(old_dirfd, old_relative_path, in __wasilibc_link() 380 int old_dirfd = find_relpath(oldpath, &old_relative_path); in __wasilibc_link_newat() local 383 if (old_dirfd == -1) { in __wasilibc_link_newat() [all …]
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/nix-0.23.1/test/ |
H A D | test_fcntl.rs | 58 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat() localVariable 63 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap(); in test_renameat() 66 close(old_dirfd).unwrap(); in test_renameat() 84 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags() localVariable 90 Some(old_dirfd), in test_renameat2_behaves_like_renameat_with_no_flags() 99 Some(old_dirfd), in test_renameat2_behaves_like_renameat_with_no_flags() 108 close(old_dirfd).unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags() 140 Some(old_dirfd), in test_renameat2_exchange() 155 close(old_dirfd).unwrap(); in test_renameat2_exchange() 181 Some(old_dirfd), in test_renameat2_noreplace() [all …]
|
/dports/shells/nsh/nsh-0.4.2/cargo-crates/nix-0.22.0/test/ |
H A D | test_fcntl.rs | 60 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat() localVariable 65 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap(); in test_renameat() 68 close(old_dirfd).unwrap(); in test_renameat() 86 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags() localVariable 92 Some(old_dirfd), in test_renameat2_behaves_like_renameat_with_no_flags() 101 Some(old_dirfd), in test_renameat2_behaves_like_renameat_with_no_flags() 110 close(old_dirfd).unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags() 142 Some(old_dirfd), in test_renameat2_exchange() 157 close(old_dirfd).unwrap(); in test_renameat2_exchange() 183 Some(old_dirfd), in test_renameat2_noreplace() [all …]
|
/dports/net/routinator/routinator-0.10.2/cargo-crates/nix-0.22.0/test/ |
H A D | test_fcntl.rs | 60 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat() localVariable 65 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap(); in test_renameat() 68 close(old_dirfd).unwrap(); in test_renameat() 86 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags() localVariable 92 Some(old_dirfd), in test_renameat2_behaves_like_renameat_with_no_flags() 101 Some(old_dirfd), in test_renameat2_behaves_like_renameat_with_no_flags() 110 close(old_dirfd).unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags() 142 Some(old_dirfd), in test_renameat2_exchange() 157 close(old_dirfd).unwrap(); in test_renameat2_exchange() 183 Some(old_dirfd), in test_renameat2_noreplace() [all …]
|
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/nix-0.22.0/test/ |
H A D | test_fcntl.rs | 60 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat() localVariable 65 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap(); in test_renameat() 68 close(old_dirfd).unwrap(); in test_renameat() 86 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags() localVariable 92 Some(old_dirfd), in test_renameat2_behaves_like_renameat_with_no_flags() 101 Some(old_dirfd), in test_renameat2_behaves_like_renameat_with_no_flags() 110 close(old_dirfd).unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags() 142 Some(old_dirfd), in test_renameat2_exchange() 157 close(old_dirfd).unwrap(); in test_renameat2_exchange() 183 Some(old_dirfd), in test_renameat2_noreplace() [all …]
|
/dports/x11/inputplug/inputplug-0.4.0/cargo-crates/nix-0.22.2/test/ |
H A D | test_fcntl.rs | 60 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat() localVariable 65 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap(); in test_renameat() 68 close(old_dirfd).unwrap(); in test_renameat() 86 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags() localVariable 92 Some(old_dirfd), in test_renameat2_behaves_like_renameat_with_no_flags() 101 Some(old_dirfd), in test_renameat2_behaves_like_renameat_with_no_flags() 110 close(old_dirfd).unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags() 142 Some(old_dirfd), in test_renameat2_exchange() 157 close(old_dirfd).unwrap(); in test_renameat2_exchange() 183 Some(old_dirfd), in test_renameat2_noreplace() [all …]
|
/dports/sysutils/fselect/fselect-0.7.7/cargo-crates/nix-0.22.2/test/ |
H A D | test_fcntl.rs | 60 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat() localVariable 65 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap(); in test_renameat() 68 close(old_dirfd).unwrap(); in test_renameat() 86 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags() localVariable 92 Some(old_dirfd), in test_renameat2_behaves_like_renameat_with_no_flags() 101 Some(old_dirfd), in test_renameat2_behaves_like_renameat_with_no_flags() 110 close(old_dirfd).unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags() 142 Some(old_dirfd), in test_renameat2_exchange() 157 close(old_dirfd).unwrap(); in test_renameat2_exchange() 183 Some(old_dirfd), in test_renameat2_noreplace() [all …]
|
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/crates/wasi-common/src/sys/unix/bsd/ |
H A D | path.rs | 72 old_dirfd: &OsDir, in rename() 80 old_dirfd.as_raw_fd(), in rename() 98 match unsafe { fstatat(old_dirfd.as_raw_fd(), old_path, AtFlag::SYMLINK_NOFOLLOW) } in rename()
|
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/crates/wasi-common/src/sys/unix/linux/ |
H A D | path.rs | 26 old_dirfd: &OsDir, in rename() 34 old_dirfd.as_raw_fd(), in rename()
|
/dports/www/firefox/firefox-99.0/third_party/rust/nix/test/ |
H A D | test_fcntl.rs | 36 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat() localVariable 41 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap(); in test_renameat() 42 assert_eq!(renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap_err(), in test_renameat() 44 close(old_dirfd).unwrap(); in test_renameat()
|
/dports/games/genact/genact-0.10.0/cargo-crates/nix-0.17.0/test/ |
H A D | test_fcntl.rs | 36 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat() localVariable 41 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap(); in test_renameat() 42 assert_eq!(renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap_err(), in test_renameat() 44 close(old_dirfd).unwrap(); in test_renameat()
|
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/crates/wasi-common/yanix/src/ |
H A D | file.rs | 172 old_dirfd: RawFd, in linkat() 181 old_dirfd, in linkat() 195 old_dirfd: RawFd, in renameat() 203 old_dirfd, in renameat()
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/nix-0.17.0/test/ |
H A D | test_fcntl.rs | 36 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat() localVariable 41 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap(); in test_renameat() 42 assert_eq!(renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap_err(), in test_renameat() 44 close(old_dirfd).unwrap(); in test_renameat()
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/nix-0.16.1/test/ |
H A D | test_fcntl.rs | 36 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat() localVariable 41 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap(); in test_renameat() 42 assert_eq!(renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap_err(), in test_renameat() 44 close(old_dirfd).unwrap(); in test_renameat()
|
/dports/textproc/sonic/sonic-1.3.0/cargo-crates/nix-0.17.0/test/ |
H A D | test_fcntl.rs | 36 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat() localVariable 41 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap(); in test_renameat() 42 assert_eq!(renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap_err(), in test_renameat() 44 close(old_dirfd).unwrap(); in test_renameat()
|
/dports/graphics/viu/viu-1.1/cargo-crates/nix-0.17.0/test/ |
H A D | test_fcntl.rs | 36 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat() localVariable 41 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap(); in test_renameat() 42 assert_eq!(renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap_err(), in test_renameat() 44 close(old_dirfd).unwrap(); in test_renameat()
|
/dports/devel/gitui/gitui-0.10.1/cargo-crates/nix-0.17.0/test/ |
H A D | test_fcntl.rs | 36 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat() localVariable 41 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap(); in test_renameat() 42 assert_eq!(renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap_err(), in test_renameat() 44 close(old_dirfd).unwrap(); in test_renameat()
|
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/nix-0.17.0/test/ |
H A D | test_fcntl.rs | 36 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat() localVariable 41 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap(); in test_renameat() 42 assert_eq!(renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap_err(), in test_renameat() 44 close(old_dirfd).unwrap(); in test_renameat()
|
/dports/sysutils/diskonaut/diskonaut-0.11.0/cargo-crates/nix-0.17.0/test/ |
H A D | test_fcntl.rs | 36 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat() localVariable 41 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap(); in test_renameat() 42 assert_eq!(renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap_err(), in test_renameat() 44 close(old_dirfd).unwrap(); in test_renameat()
|
/dports/sysutils/flowgger/flowgger-0.2.10/cargo-crates/nix-0.17.0/test/ |
H A D | test_fcntl.rs | 36 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat() localVariable 41 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap(); in test_renameat() 42 assert_eq!(renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap_err(), in test_renameat() 44 close(old_dirfd).unwrap(); in test_renameat()
|
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/crates/wasi-common/src/sys/windows/ |
H A D | path.rs | 162 old_dirfd: &OsDir, in link() 169 let mut old_path = concatenate(old_dirfd, old_path)?; in link() 326 old_dirfd: &OsDir, in rename() 333 let old_path = concatenate(old_dirfd, old_path_)?; in rename() 375 strip_trailing_slashes_and_concatenate(old_dirfd, old_path_)? in rename()
|
/dports/devel/tinygo/tinygo-0.14.1/lib/wasi-libc/libc-bottom-half/libpreopen/ |
H A D | libpreopen.c | 225 int old_dirfd = __wasilibc_find_relpath(oldpath, &old_relative_path); in link() local 232 if (old_dirfd == -1 || new_dirfd == -1) { in link() 237 return linkat(old_dirfd, old_relative_path, new_dirfd, new_relative_path, 0); in link()
|
/dports/devel/sccache/sccache-0.2.15/cargo-crates/nix-0.19.1/test/ |
H A D | test_fcntl.rs | 49 let old_dirfd = open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat() localVariable 54 renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap(); in test_renameat() 55 assert_eq!(renameat(Some(old_dirfd), "old", Some(new_dirfd), "new").unwrap_err(), in test_renameat() 57 close(old_dirfd).unwrap(); in test_renameat()
|