Home
last modified time | relevance | path

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

/bootable/recovery/applypatch/
Dimgdiff.cpp545 bool PatchChunk::WritePatchDataToFd(const std::vector<PatchChunk>& patch_chunks, int patch_fd) { in WritePatchDataToFd() argument
549 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()
1100 std::vector<PatchChunk>* patch_chunks) { in GeneratePatchesInternal() argument
1102 patch_chunks->clear(); in GeneratePatchesInternal()
1109 patch_chunks->emplace_back(tgt_chunk); in GeneratePatchesInternal()
[all …]
/bootable/recovery/applypatch/include/applypatch/
Dimgdiff_image.h137 static bool WritePatchDataToFd(const std::vector<PatchChunk>& patch_chunks, int patch_fd);
281 std::vector<PatchChunk>* patch_chunks);