Home
last modified time | relevance | path

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

/bootable/recovery/applypatch/include/applypatch/
Dimgdiff_image.h121 class PatchChunk {
123 PatchChunk(const ImageChunk& tgt, const ImageChunk& src, std::vector<uint8_t> data);
126 explicit PatchChunk(const ImageChunk& tgt);
137 static bool WritePatchDataToFd(const std::vector<PatchChunk>& patch_chunks, int patch_fd);
281 std::vector<PatchChunk>* patch_chunks);
/bootable/recovery/applypatch/
Dimgdiff.cpp444 PatchChunk::PatchChunk(const ImageChunk& tgt, const ImageChunk& src, std::vector<uint8_t> data) in PatchChunk() function in PatchChunk
456 PatchChunk::PatchChunk(const ImageChunk& tgt) in PatchChunk() function in PatchChunk
468 bool PatchChunk::RawDataIsSmaller(const ImageChunk& tgt, size_t patch_size) { in RawDataIsSmaller()
473 void PatchChunk::UpdateSourceOffset(const SortedRangeSet& src_range) { in UpdateSourceOffset()
484 size_t PatchChunk::GetHeaderSize() const { in GetHeaderSize()
499 size_t PatchChunk::WriteHeaderToFd(int fd, size_t offset, size_t index) const { in WriteHeaderToFd()
537 size_t PatchChunk::PatchSize() const { in PatchSize()
545 bool PatchChunk::WritePatchDataToFd(const std::vector<PatchChunk>& patch_chunks, int patch_fd) { in WritePatchDataToFd()
1099 std::vector<PatchChunk>* patch_chunks) { in GeneratePatchesInternal()
1107 if (PatchChunk::RawDataIsSmaller(tgt_chunk, 0)) { in GeneratePatchesInternal()
[all …]