Searched refs:new_path (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/bionic/ |
D | symlink.cpp | 32 int symlink(const char* old_path, const char* new_path) { in symlink() argument 33 return symlinkat(old_path, AT_FDCWD, new_path); in symlink()
|
D | rename.cpp | 32 int rename(const char* old_path, const char* new_path) { in rename() argument 33 return renameat(AT_FDCWD, old_path, AT_FDCWD, new_path); in rename()
|
D | link.cpp | 32 int link(const char* old_path, const char* new_path) { in link() argument 33 return linkat(AT_FDCWD, old_path, AT_FDCWD, new_path, 0); in link()
|
/bionic/tests/ |
D | stdio_test.cpp | 2710 std::string new_path = td.path + "/new"s; in TEST() local 2716 ASSERT_EQ(-1, stat(new_path.c_str(), &sb)); in TEST() 2719 ASSERT_EQ(0, rename(old_path.c_str(), new_path.c_str())); in TEST() 2721 ASSERT_EQ(0, stat(new_path.c_str(), &sb)); in TEST() 2728 std::string new_path = td.path + "/new"s; in TEST() local 2734 ASSERT_EQ(-1, stat(new_path.c_str(), &sb)); in TEST() 2739 ASSERT_EQ(0, stat(new_path.c_str(), &sb)); in TEST() 2749 std::string new_path = td.path + "/new"s; in TEST() 2755 ASSERT_EQ(-1, stat(new_path.c_str(), &sb)); in TEST() 2760 ASSERT_EQ(0, stat(new_path.c_str(), &sb)); in TEST()
|