Lines Matching refs:PatchChunk

444 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()
1100 std::vector<PatchChunk>* patch_chunks) { in GeneratePatchesInternal()
1108 if (PatchChunk::RawDataIsSmaller(tgt_chunk, 0)) { in GeneratePatchesInternal()
1130 if (PatchChunk::RawDataIsSmaller(tgt_chunk, patch_data.size())) { in GeneratePatchesInternal()
1144 std::vector<PatchChunk> patch_chunks; in GeneratePatches()
1157 return PatchChunk::WritePatchDataToFd(patch_chunks, patch_fd); in GeneratePatches()
1177 std::vector<PatchChunk> patch_chunks; in GeneratePatches()
1190 if (!PatchChunk::WritePatchDataToFd(patch_chunks, patch_fd)) { in GeneratePatches()
1224 if (!PatchChunk::WritePatchDataToFd(patch_chunks, fd)) { in GeneratePatches()
1435 std::vector<PatchChunk> patch_chunks; in GeneratePatches()
1442 if (PatchChunk::RawDataIsSmaller(tgt_chunk, 0)) { in GeneratePatches()
1455 if (PatchChunk::RawDataIsSmaller(tgt_chunk, patch_data.size())) { in GeneratePatches()
1471 return PatchChunk::WritePatchDataToFd(patch_chunks, patch_fd); in GeneratePatches()