Lines Matching refs:dest_path
944 const auto& dest_path = backup_path_fn(*apex_file);
945 if (link(apex_file->GetPath().c_str(), dest_path.c_str()) != 0) {
2185 std::string dest_path = StageDestPath(apex_file);
2186 if (access(dest_path.c_str(), F_OK) == 0) {
2187 LOG(DEBUG) << dest_path << " already exists. Deleting";
2188 if (TEMP_FAILURE_RETRY(unlink(dest_path.c_str())) != 0) {
2189 return ErrnoError() << "Failed to unlink " << dest_path;
2193 if (link(apex_file.GetPath().c_str(), dest_path.c_str()) != 0) {
2195 << dest_path;
2197 staged_files.insert(dest_path);
2201 << dest_path;