Home
last modified time | relevance | path

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

/bootable/recovery/applypatch/
Dimgdiff.cpp864 for (auto& tgt_chunk : *tgt_image) { in CheckAndProcessChunks()
865 if (tgt_chunk.GetType() != CHUNK_DEFLATE) { in CheckAndProcessChunks()
869 ImageChunk* src_chunk = src_image->FindChunkByName(tgt_chunk.GetEntryName()); in CheckAndProcessChunks()
871 tgt_chunk.ChangeDeflateChunkToNormal(); in CheckAndProcessChunks()
872 } else if (tgt_chunk == *src_chunk) { in CheckAndProcessChunks()
877 tgt_chunk.ChangeDeflateChunkToNormal(); in CheckAndProcessChunks()
879 } else if (!tgt_chunk.ReconstructDeflateChunk()) { in CheckAndProcessChunks()
882 LOG(WARNING) << "Failed to reconstruct target deflate chunk [" << tgt_chunk.GetEntryName() in CheckAndProcessChunks()
885 tgt_chunk.ChangeDeflateChunkToNormal(); in CheckAndProcessChunks()
1105 const auto& tgt_chunk = tgt_image[i]; in GeneratePatchesInternal() local
[all …]