Searched refs:old_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 | 2709 std::string old_path = td.path + "/old"s; in TEST() local 2713 ASSERT_EQ(0, close(creat(old_path.c_str(), 0666))); in TEST() 2715 ASSERT_EQ(0, stat(old_path.c_str(), &sb)); in TEST() 2719 ASSERT_EQ(0, rename(old_path.c_str(), new_path.c_str())); in TEST() 2720 ASSERT_EQ(-1, stat(old_path.c_str(), &sb)); in TEST() 2727 std::string old_path = td.path + "/old"s; in TEST() local 2731 ASSERT_EQ(0, close(creat(old_path.c_str(), 0666))); in TEST() 2733 ASSERT_EQ(0, stat(old_path.c_str(), &sb)); in TEST() 2738 ASSERT_EQ(-1, stat(old_path.c_str(), &sb)); in TEST() 2748 std::string old_path = td.path + "/old"s; in TEST() [all …]
|