Lines Matching refs:patch
41 size_t srcStart = static_cast<size_t>(ReadLE<int64_t>(param.patch + offset));
43 size_t srcLen = static_cast<size_t>(ReadLE<int64_t>(param.patch + offset));
45 size_t patchOffset = static_cast<size_t>(ReadLE<int64_t>(param.patch + offset));
54 PatchBuffer patchInfo = {param.patch, patchOffset, param.patchSize};
58 PATCH_LOGE("Failed to apply bsdiff patch");
72 size_t dataLen = static_cast<size_t>(ReadLE<uint32_t>(param.patch + offset));
79 BlockBuffer data = {param.patch + offset, dataLen};
102 PATCH_LOGE("Failed to check patch");
144 // apply patch
145 PatchBuffer patchInfo = {param.patch, header.patchOffset, param.patchSize};
147 PATCH_LOGE("Failed to apply bsdiff patch");
156 PATCH_LOGE("Failed to apply bsdiff patch");
221 header.srcStart = static_cast<size_t>(ReadLE<uint64_t>(param.patch + offset));
223 header.srcLength = static_cast<size_t>(ReadLE<uint64_t>(param.patch + offset));
225 header.patchOffset = static_cast<size_t>(ReadLE<uint64_t>(param.patch + offset));
227 header.expandedLen = static_cast<size_t>(ReadLE<uint64_t>(param.patch + offset));
229 header.targetSize = static_cast<size_t>(ReadLE<uint64_t>(param.patch + offset));
232 level_ = ReadLE<int32_t>(param.patch + offset);
234 method_ = ReadLE<int32_t>(param.patch + offset);
236 windowBits_ = ReadLE<int32_t>(param.patch + offset);
238 memLevel_ = ReadLE<int32_t>(param.patch + offset);
240 strategy_ = ReadLE<int32_t>(param.patch + offset);
274 header.srcStart = static_cast<size_t>(ReadLE<uint64_t>(param.patch + offset));
276 header.srcLength = static_cast<size_t>(ReadLE<uint64_t>(param.patch + offset));
278 header.patchOffset = static_cast<size_t>(ReadLE<uint64_t>(param.patch + offset));
280 header.expandedLen = static_cast<size_t>(ReadLE<uint64_t>(param.patch + offset));
282 header.targetSize = static_cast<size_t>(ReadLE<uint64_t>(param.patch + offset));
285 compressionLevel_ = static_cast<int32_t>(ReadLE<int32_t>(param.patch + offset));
287 method_ = static_cast<int32_t>(ReadLE<int32_t>(param.patch + offset));
289 blockIndependence_ = static_cast<int32_t>(ReadLE<int32_t>(param.patch + offset));
291 contentChecksumFlag_ = static_cast<int32_t>(ReadLE<int32_t>(param.patch + offset));
293 blockSizeID_ = static_cast<int32_t>(ReadLE<int32_t>(param.patch + offset));
295 autoFlush_ = static_cast<int32_t>(ReadLE<int32_t>(param.patch + offset));