Home
last modified time | relevance | path

Searched refs:oldpath (Results 1 – 3 of 3) sorted by relevance

/system/core/adb/
Dsysdeps.h97 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() argument
663 return rename(oldpath, newpath); in adb_rename()
Dsysdeps_win32.cpp2395 int adb_rename(const char* oldpath, const char* newpath) { in adb_rename() argument
2397 if (!android::base::UTF8ToWide(oldpath, &oldpath_wide)) { in adb_rename()
/system/core/fs_mgr/
Dfs_mgr_overlayfs.cpp522 const auto oldpath = top + (cleanup_all ? "" : ("/" + partition_name)); in fs_mgr_overlayfs_teardown_one() local
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()