Searched refs:newpath (Results 1 – 3 of 3) sorted by relevance
523 const auto newpath = cleanup_all ? overlay + "/." + kOverlayTopDir.substr(1) + ".teardown" in fs_mgr_overlayfs_teardown_one() local525 auto ret = fs_mgr_rm_all(newpath); in fs_mgr_overlayfs_teardown_one()527 if (!rename(oldpath.c_str(), newpath.c_str())) { in fs_mgr_overlayfs_teardown_one()531 PERROR << "mv " << oldpath << " " << newpath; in fs_mgr_overlayfs_teardown_one()535 ret &= fs_mgr_rm_all(newpath, change); in fs_mgr_overlayfs_teardown_one()537 if (!rmdir(newpath.c_str())) { in fs_mgr_overlayfs_teardown_one()541 PERROR << "rmdir " << newpath; in fs_mgr_overlayfs_teardown_one()
97 extern int adb_rename(const char* oldpath, const char* newpath);662 static inline int adb_rename(const char* oldpath, const char* newpath) { in adb_rename() argument663 return rename(oldpath, newpath); in adb_rename()
2395 int adb_rename(const char* oldpath, const char* newpath) { in adb_rename() argument2400 if (!android::base::UTF8ToWide(newpath, &newpath_wide)) { in adb_rename()