Lines Matching refs:dest_path
978 const auto& dest_path = backup_path_fn(*apex_file);
979 if (link(apex_file->GetPath().c_str(), dest_path.c_str()) != 0) {
2199 std::string dest_path = StageDestPath(apex_file);
2200 if (access(dest_path.c_str(), F_OK) == 0) {
2201 LOG(DEBUG) << dest_path << " already exists. Deleting";
2202 if (TEMP_FAILURE_RETRY(unlink(dest_path.c_str())) != 0) {
2203 return ErrnoError() << "Failed to unlink " << dest_path;
2207 if (link(apex_file.GetPath().c_str(), dest_path.c_str()) != 0) {
2209 << dest_path;
2211 staged_files.insert(dest_path);
2215 << dest_path;