/third_party/ltp/testcases/kernel/syscalls/renameat2/ |
H A D | renameat201.c | 22 * already exists and the flag RENAME_NOREPLACE is used. 26 * 4) renameat2(2) returns 0 because the flag RENAME_NOREPLACE is used, 30 * RENAME_NOREPLACE and RENAME_EXCHANGE are used together 64 {&olddirfd, TEST_FILE, &newdirfd, TEST_FILE2, RENAME_NOREPLACE, EEXIST}, 67 {&olddirfd, TEST_FILE, &newdirfd, TEST_FILE3, RENAME_NOREPLACE, 0}, 68 {&olddirfd, TEST_FILE, &newdirfd, TEST_FILE2, RENAME_NOREPLACE
|
/third_party/musl/libc-test/src/functional/ |
H A D | renameat2_test.c | 98 if (renameat2(oldFolder, g_oldName, newFolder, g_newName, RENAME_NOREPLACE) == -1) {
in RenameNoReplaceTest() 111 if (renameat2(oldFolder, g_oldName, newFolder, g_newName, RENAME_NOREPLACE) == 0) {
in RenameNoReplaceTest() 120 if (renameat2(AT_FDCWD, g_oldPath, AT_FDCWD, g_newPath, RENAME_NOREPLACE) == -1) {
in RenameNoReplaceTest() 133 if (renameat2(AT_FDCWD, g_oldPath, AT_FDCWD, g_newPath, RENAME_NOREPLACE) == 0) {
in RenameNoReplaceTest() 241 t_error("%s renameat2 failed,flags: RENAME_NOREPLACE\n", __func__);
in main()
|
/third_party/ltp/include/lapi/ |
H A D | fcntl.h | 141 #ifndef RENAME_NOREPLACE 142 # define RENAME_NOREPLACE (1 << 0) macro
|
/third_party/musl/porting/linux/user/include/ |
H A D | stdio.h | 158 #define RENAME_NOREPLACE (1 << 0) macro
|
/third_party/musl/include/ |
H A D | stdio.h | 158 #define RENAME_NOREPLACE (1 << 0) macro
|
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/ |
H A D | types.rs | 241 /// `RENAME_NOREPLACE` 242 const NOREPLACE = linux_raw_sys::general::RENAME_NOREPLACE;
|
/third_party/rust/crates/nix/src/ |
H A D | fcntl.rs | 246 RENAME_NOREPLACE;
|
/third_party/rust/crates/nix/test/ |
H A D | test_fcntl.rs | 201 RenameFlags::RENAME_NOREPLACE in test_renameat2_noreplace()
|
/third_party/rust/crates/rustix/src/backend/libc/fs/ |
H A D | types.rs | 364 /// `RENAME_NOREPLACE` 365 const NOREPLACE = c::RENAME_NOREPLACE as _;
|
/third_party/rust/crates/libc/src/unix/linux_like/android/ |
H A D | mod.rs | 1223 pub const RENAME_NOREPLACE: ::c_int = 1; consts
|
/third_party/rust/crates/linux-raw-sys/src/aarch64/ |
H A D | general.rs | 458 pub const RENAME_NOREPLACE: u32 = 1; consts
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 2337 pub const RENAME_NOREPLACE: ::c_int = 1; consts
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
H A D | mod.rs | 1788 pub const RENAME_NOREPLACE: ::c_uint = 1; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv64/ |
H A D | general.rs | 463 pub const RENAME_NOREPLACE: u32 = 1; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv32/ |
H A D | general.rs | 463 pub const RENAME_NOREPLACE: u32 = 1; consts
|
/third_party/rust/crates/linux-raw-sys/src/powerpc64/ |
H A D | general.rs | 470 pub const RENAME_NOREPLACE: u32 = 1; consts
|
/third_party/rust/crates/linux-raw-sys/src/mips64/ |
H A D | general.rs | 467 pub const RENAME_NOREPLACE: u32 = 1; consts
|
/third_party/rust/crates/linux-raw-sys/src/powerpc/ |
H A D | general.rs | 470 pub const RENAME_NOREPLACE: u32 = 1; consts
|
/third_party/rust/crates/linux-raw-sys/src/mips/ |
H A D | general.rs | 467 pub const RENAME_NOREPLACE: u32 = 1; consts
|
/third_party/rust/crates/linux-raw-sys/src/arm/ |
H A D | general.rs | 457 pub const RENAME_NOREPLACE: u32 = 1; consts
|
/third_party/rust/crates/linux-raw-sys/src/sparc/ |
H A D | general.rs | 462 pub const RENAME_NOREPLACE: u32 = 1; consts
|
/third_party/rust/crates/linux-raw-sys/src/s390x/ |
H A D | general.rs | 458 pub const RENAME_NOREPLACE: u32 = 1; consts
|
/third_party/rust/crates/linux-raw-sys/src/sparc64/ |
H A D | general.rs | 462 pub const RENAME_NOREPLACE: u32 = 1; consts
|
/third_party/rust/crates/linux-raw-sys/src/x32/ |
H A D | general.rs | 458 pub const RENAME_NOREPLACE: u32 = 1; consts
|
/third_party/rust/crates/linux-raw-sys/src/x86/ |
H A D | general.rs | 459 pub const RENAME_NOREPLACE: u32 = 1; consts
|