Searched refs:oldpath (Results 1 – 3 of 3) sorted by relevance
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() argument2397 if (!android::base::UTF8ToWide(oldpath, &oldpath_wide)) { in adb_rename()
522 const auto oldpath = top + (cleanup_all ? "" : ("/" + partition_name)); in fs_mgr_overlayfs_teardown_one() local527 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()