Home
last modified time | relevance | path

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

/system/core/fs_mgr/
Dfs_mgr_overlayfs.cpp523 const auto newpath = cleanup_all ? overlay + "/." + kOverlayTopDir.substr(1) + ".teardown" in fs_mgr_overlayfs_teardown_one() local
525 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()
/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
2400 if (!android::base::UTF8ToWide(newpath, &newpath_wide)) { in adb_rename()