Home
last modified time | relevance | path

Searched refs:patch_header (Results 1 – 1 of 1) sorted by relevance

/bootable/recovery/applypatch/
Dimgpatch.cpp151 const char* const patch_header = patch.data.data(); in ApplyImagePatch() local
152 if (memcmp(patch_header, "IMGDIFF2", 8) != 0) { in ApplyImagePatch()
157 int num_chunks = Read4(patch_header + 8); in ApplyImagePatch()
165 int type = Read4(patch_header + pos); in ApplyImagePatch()
169 const char* normal_header = patch_header + pos; in ApplyImagePatch()
191 const char* raw_header = patch_header + pos; in ApplyImagePatch()
204 if (sink(reinterpret_cast<const unsigned char*>(patch_header + pos), data_len) != data_len) { in ApplyImagePatch()
213 const char* deflate_header = patch_header + pos; in ApplyImagePatch()