Home | History | Annotate | Download | only in bsdiff

Lines Matching refs:patch_data

21 bool BsdiffPatchReader::Init(const uint8_t* patch_data, size_t patch_size) {
40 if (memcmp(patch_data, kLegacyMagicHeader, 8) == 0) {
44 } else if (memcmp(patch_data, kBSDF2MagicHeader, 5) == 0) {
51 uint8_t type = patch_data[i];
71 int64_t ctrl_len = ParseInt64(patch_data + 8);
72 int64_t diff_len = ParseInt64(patch_data + 16);
73 int64_t signed_newsize = ParseInt64(patch_data + 24);
95 if (!ctrl_stream_->SetInputData(const_cast<uint8_t*>(patch_data) + offset,
102 if (!diff_stream_->SetInputData(const_cast<uint8_t*>(patch_data) + offset,
109 if (!extra_stream_->SetInputData(const_cast<uint8_t*>(patch_data) + offset,