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()
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()
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()
/bionic/tests/
Dstdio_test.cpp2710 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()