Home
last modified time | relevance | path

Searched refs:RENAME_NOREPLACE (Results 1 - 25 of 26) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/renameat2/
H A Drenameat201.c22 * 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 Drenameat2_test.c98 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 Dfcntl.h141 #ifndef RENAME_NOREPLACE
142 # define RENAME_NOREPLACE (1 << 0) macro
/third_party/musl/porting/linux/user/include/
H A Dstdio.h158 #define RENAME_NOREPLACE (1 << 0) macro
/third_party/musl/include/
H A Dstdio.h158 #define RENAME_NOREPLACE (1 << 0) macro
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
H A Dtypes.rs241 /// `RENAME_NOREPLACE`
242 const NOREPLACE = linux_raw_sys::general::RENAME_NOREPLACE;
/third_party/rust/crates/nix/src/
H A Dfcntl.rs246 RENAME_NOREPLACE;
/third_party/rust/crates/nix/test/
H A Dtest_fcntl.rs201 RenameFlags::RENAME_NOREPLACE in test_renameat2_noreplace()
/third_party/rust/crates/rustix/src/backend/libc/fs/
H A Dtypes.rs364 /// `RENAME_NOREPLACE`
365 const NOREPLACE = c::RENAME_NOREPLACE as _;
/third_party/rust/crates/libc/src/unix/linux_like/android/
H A Dmod.rs1223 pub const RENAME_NOREPLACE: ::c_int = 1; consts
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dgeneral.rs458 pub const RENAME_NOREPLACE: u32 = 1; consts
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs2337 pub const RENAME_NOREPLACE: ::c_int = 1; consts
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs1788 pub const RENAME_NOREPLACE: ::c_uint = 1; consts
/third_party/rust/crates/linux-raw-sys/src/riscv64/
H A Dgeneral.rs463 pub const RENAME_NOREPLACE: u32 = 1; consts
/third_party/rust/crates/linux-raw-sys/src/riscv32/
H A Dgeneral.rs463 pub const RENAME_NOREPLACE: u32 = 1; consts
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
H A Dgeneral.rs470 pub const RENAME_NOREPLACE: u32 = 1; consts
/third_party/rust/crates/linux-raw-sys/src/mips64/
H A Dgeneral.rs467 pub const RENAME_NOREPLACE: u32 = 1; consts
/third_party/rust/crates/linux-raw-sys/src/powerpc/
H A Dgeneral.rs470 pub const RENAME_NOREPLACE: u32 = 1; consts
/third_party/rust/crates/linux-raw-sys/src/mips/
H A Dgeneral.rs467 pub const RENAME_NOREPLACE: u32 = 1; consts
/third_party/rust/crates/linux-raw-sys/src/arm/
H A Dgeneral.rs457 pub const RENAME_NOREPLACE: u32 = 1; consts
/third_party/rust/crates/linux-raw-sys/src/sparc/
H A Dgeneral.rs462 pub const RENAME_NOREPLACE: u32 = 1; consts
/third_party/rust/crates/linux-raw-sys/src/s390x/
H A Dgeneral.rs458 pub const RENAME_NOREPLACE: u32 = 1; consts
/third_party/rust/crates/linux-raw-sys/src/sparc64/
H A Dgeneral.rs462 pub const RENAME_NOREPLACE: u32 = 1; consts
/third_party/rust/crates/linux-raw-sys/src/x32/
H A Dgeneral.rs458 pub const RENAME_NOREPLACE: u32 = 1; consts
/third_party/rust/crates/linux-raw-sys/src/x86/
H A Dgeneral.rs459 pub const RENAME_NOREPLACE: u32 = 1; consts

Completed in 191 milliseconds

12