Home
last modified time | relevance | path

Searched refs:new_path (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/bionic/
Dsymlink.cpp32 int symlink(const char* old_path, const char* new_path) { in symlink() argument
33 return symlinkat(old_path, AT_FDCWD, new_path); in symlink()
Dlink.cpp32 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()
Drename.cpp32 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()
/bionic/tests/
Dstdio_test.cpp2666 std::string new_path = td.path + "/new"s; in TEST() local
2672 ASSERT_EQ(-1, stat(new_path.c_str(), &sb)); in TEST()
2675 ASSERT_EQ(0, rename(old_path.c_str(), new_path.c_str())); in TEST()
2677 ASSERT_EQ(0, stat(new_path.c_str(), &sb)); in TEST()
2684 std::string new_path = td.path + "/new"s; in TEST() local
2690 ASSERT_EQ(-1, stat(new_path.c_str(), &sb)); in TEST()
2695 ASSERT_EQ(0, stat(new_path.c_str(), &sb)); in TEST()
2705 std::string new_path = td.path + "/new"s; in TEST()
2711 ASSERT_EQ(-1, stat(new_path.c_str(), &sb)); in TEST()
2716 ASSERT_EQ(0, stat(new_path.c_str(), &sb)); in TEST()