Searched refs:patch_offset (Results 1 – 3 of 3) sorted by relevance
/bootable/recovery/applypatch/ |
D | bspatch.cpp | 69 size_t patch_offset, SinkFn sink) { in ApplyBSDiffPatch() argument 70 CHECK_LE(patch_offset, patch.data.size()); in ApplyBSDiffPatch() 73 reinterpret_cast<const uint8_t*>(&patch.data[patch_offset]), in ApplyBSDiffPatch() 74 patch.data.size() - patch_offset, sink); in ApplyBSDiffPatch() 80 SHA1(reinterpret_cast<const uint8_t*>(patch.data.data() + patch_offset), in ApplyBSDiffPatch() 81 patch.data.size() - patch_offset, digest); in ApplyBSDiffPatch() 83 LOG(ERROR) << "Patch may be corrupted, offset: " << patch_offset << ", SHA1: " << patch_sha1; in ApplyBSDiffPatch()
|
D | imgpatch.cpp | 54 const Value& patch, size_t patch_offset, in ApplyBSDiffPatchAndStreamOutput() argument 113 int bspatch_result = ApplyBSDiffPatch(src_data, src_len, patch, patch_offset, compression_sink); in ApplyBSDiffPatchAndStreamOutput() 178 size_t patch_offset = static_cast<size_t>(Read8(normal_header + 16)); in ApplyImagePatch() local 184 if (ApplyBSDiffPatch(old_data + src_start, src_len, patch, patch_offset, sink) != 0) { in ApplyImagePatch() 222 size_t patch_offset = static_cast<size_t>(Read8(deflate_header + 16)); in ApplyImagePatch() local 280 patch_offset, deflate_header, sink)) { in ApplyImagePatch()
|
/bootable/recovery/applypatch/include/applypatch/ |
D | applypatch.h | 110 size_t patch_offset, SinkFn sink);
|