Searched refs:newpath (Results 1 – 3 of 3) sorted by relevance
| /system/utest/fs/ |
| A D | test-link.c | 38 const char* newpath = "::b"; in test_link_basic() local 51 ASSERT_EQ(link(oldpath, newpath), 0, ""); in test_link_basic() 56 int fd2 = open(newpath, O_RDONLY, 0644); in test_link_basic() 69 fd = open(newpath, O_RDONLY, 0644); in test_link_basic() 74 ASSERT_EQ(unlink(newpath), 0, ""); in test_link_basic() 237 const char* newpath = "::dirb/b"; in test_link_between_dirs() local 252 int fd2 = open(newpath, O_RDWR, 0644); in test_link_between_dirs() 263 fd = open(newpath, O_RDWR, 0644); in test_link_between_dirs() 268 ASSERT_EQ(unlink(newpath), 0, ""); in test_link_between_dirs() 284 const char* newpath = "::b"; in test_link_errors() local [all …]
|
| A D | wrap.c | 143 int FL(rename)(const char* oldpath, const char* newpath); 144 int FN(rename)(const char* oldpath, const char* newpath) { in FN() 148 PATH_WRAP(newpath, real_newpath); in FN() 161 int FL(renameat)(int olddirfd, const char* oldpath, int newdirfd, const char* newpath); 166 PATH_WRAP(newpath, real_newpath); in FN() 170 int FL(link)(const char* oldpath, const char* newpath); 171 int FN(link)(const char* oldpath, const char* newpath) { in FN() 175 PATH_WRAP(newpath, real_newpath); in FN() 179 int FL(symlink)(const char* oldpath, const char* newpath); 180 int FN(symlink)(const char* oldpath, const char* newpath) { in FN() [all …]
|
| /system/ulib/fdio/ |
| A D | unistd.c | 1447 int newdirfd, const char* newpath) { in two_path_op_at() argument 1457 if ((status = __fdio_opendir_containing_at(&io_newparent, newdirfd, newpath, newname)) < 0) { in two_path_op_at() 1488 int renameat(int olddirfd, const char* oldpath, int newdirfd, const char* newpath) { in renameat() argument 1489 return two_path_op_at(fuchsia_io_DirectoryRenameOrdinal, olddirfd, oldpath, newdirfd, newpath); in renameat() 1493 int rename(const char* oldpath, const char* newpath) { in rename() argument 1494 return two_path_op_at(fuchsia_io_DirectoryRenameOrdinal, AT_FDCWD, oldpath, AT_FDCWD, newpath); in rename() 1498 int link(const char* oldpath, const char* newpath) { in link() argument 1499 return two_path_op_at(fuchsia_io_DirectoryLinkOrdinal, AT_FDCWD, oldpath, AT_FDCWD, newpath); in link()
|
Completed in 9 milliseconds