Home
last modified time | relevance | path

Searched refs:src_path (Results 1 – 2 of 2) sorted by relevance

/art/artd/
Dfile_utils.cc149 for (const auto& [src_path, dst_path] : files_to_move) { in MoveAllOrAbandon()
153 UnlinkIfExists(src_path); in MoveAllOrAbandon()
175 for (const auto& [src_path, dst_path] : files_to_move) { in MoveAllOrAbandon()
212 for (const auto& [src_path, dst_path] : files_to_move) { in MoveAllOrAbandon()
214 std::filesystem::rename(src_path, dst_path, ec); in MoveAllOrAbandon()
216 return Errorf("Failed to move file from '{}' to '{}': {}", src_path, dst_path, ec.message()); in MoveAllOrAbandon()
Dartd.cc308 Result<void> CopyFile(const std::string& src_path, const NewFile& dst_file) { in CopyFile() argument
310 if (!ReadFileToString(src_path, &content)) { in CopyFile()
311 return Errorf("Failed to read file '{}': {}", src_path, strerror(errno)); in CopyFile()
725 std::string src_path = OR_RETURN_FATAL(BuildProfileOrDmPath(in_src)); in copyAndRewriteProfile() local
727 Result<std::unique_ptr<File>> src = OpenFileForReading(src_path); in copyAndRewriteProfile()
734 ART_FORMAT("Failed to open src profile '{}': {}", src_path, src.error().message())); in copyAndRewriteProfile()
1445 for (const auto& [src_path, dst_path] : files_to_move) { in commitPreRebootStagedFiles()
1446 LOG(INFO) << ART_FORMAT("Committed Pre-reboot staged file '{}' to '{}'", src_path, dst_path); in commitPreRebootStagedFiles()