Lines Matching refs:patch_data
333 std::vector<uint8_t>* patch_data, in MakePatch() argument
368 patch_data->resize(sz); in MakePatch()
369 if (!android::base::ReadFully(patch_fd, patch_data->data(), sz)) { in MakePatch()
1121 std::vector<uint8_t> patch_data; in GeneratePatchesInternal() local
1122 if (!ImageChunk::MakePatch(tgt_chunk, src_ref, &patch_data, bsdiff_cache_ptr)) { in GeneratePatchesInternal()
1127 LOG(INFO) << "patch " << i << " is " << patch_data.size() << " bytes (of " in GeneratePatchesInternal()
1130 if (PatchChunk::RawDataIsSmaller(tgt_chunk, patch_data.size())) { in GeneratePatchesInternal()
1133 patch_chunks->emplace_back(tgt_chunk, src_ref, std::move(patch_data)); in GeneratePatchesInternal()
1447 std::vector<uint8_t> patch_data; in GeneratePatches() local
1448 if (!ImageChunk::MakePatch(tgt_chunk, src_chunk, &patch_data, nullptr)) { in GeneratePatches()
1452 LOG(INFO) << "patch " << i << " is " << patch_data.size() << " bytes (of " in GeneratePatches()
1455 if (PatchChunk::RawDataIsSmaller(tgt_chunk, patch_data.size())) { in GeneratePatches()
1458 patch_chunks.emplace_back(tgt_chunk, src_chunk, std::move(patch_data)); in GeneratePatches()