Searched refs:new_path (Results 1 – 2 of 2) sorted by relevance
482 bool FdFile::Rename(const std::string& new_path) { in Rename() argument500 int rc = std::rename(old_path.c_str(), new_path.c_str()); in Rename()502 LOG(ERROR) << "Rename from '" << old_path << "' to '" << new_path << "' failed."; in Rename()505 file_path_ = new_path; in Rename()511 std::string new_dir = android::base::Dirname(new_path); in Rename()
119 bool Rename(const std::string& new_path);