Lines Matching refs:src
332 bool ImageChunk::MakePatch(const ImageChunk& tgt, const ImageChunk& src, in MakePatch() argument
348 int r = bsdiff::bsdiff(src.DataForPatch(), src.DataLengthForPatch(), tgt.DataForPatch(), in MakePatch()
444 PatchChunk::PatchChunk(const ImageChunk& tgt, const ImageChunk& src, std::vector<uint8_t> data) in PatchChunk() argument
446 source_start_(src.GetStartOffset()), in PatchChunk()
447 source_len_(src.GetRawDataLength()), in PatchChunk()
448 source_uncompressed_len_(src.DataLengthForPatch()), in PatchChunk()
926 const ImageChunk* src = src_image.FindChunkByName(tgt->GetEntryName(), true); in SplitZipModeImageWithLimit() local
927 if (src == nullptr) { in SplitZipModeImageWithLimit()
933 size_t src_offset = src->GetStartOffset(); in SplitZipModeImageWithLimit()
934 size_t src_length = src->GetRawDataLength(); in SplitZipModeImageWithLimit()
948 if (src->GetType() == CHUNK_DEFLATE && src_length == src->GetRawDataLength()) { in SplitZipModeImageWithLimit()
949 split_src_chunks.push_back(*src); in SplitZipModeImageWithLimit()