Searched refs:patch_chunks (Results 1 – 2 of 2) sorted by relevance
545 bool PatchChunk::WritePatchDataToFd(const std::vector<PatchChunk>& patch_chunks, int patch_fd) { in WritePatchDataToFd() argument549 for (const auto& patch : patch_chunks) { in WritePatchDataToFd()561 Write4(patch_fd, static_cast<int32_t>(patch_chunks.size())); in WritePatchDataToFd()562 LOG(INFO) << "Writing " << patch_chunks.size() << " patch headers..."; in WritePatchDataToFd()563 for (size_t i = 0; i < patch_chunks.size(); ++i) { in WritePatchDataToFd()564 offset = patch_chunks[i].WriteHeaderToFd(patch_fd, offset, i); in WritePatchDataToFd()568 for (const auto& patch : patch_chunks) { in WritePatchDataToFd()1099 std::vector<PatchChunk>* patch_chunks) { in GeneratePatchesInternal() argument1101 patch_chunks->clear(); in GeneratePatchesInternal()1108 patch_chunks->emplace_back(tgt_chunk); in GeneratePatchesInternal()[all …]
137 static bool WritePatchDataToFd(const std::vector<PatchChunk>& patch_chunks, int patch_fd);281 std::vector<PatchChunk>* patch_chunks);