Home | History | Annotate | Download | only in applypatch

Lines Matching defs:header

45     char* header = patch->data;
47 printf("patch too short to contain header\n");
54 if (memcmp(header, "IMGDIFF2", 8) != 0) {
55 printf("corrupt patch file header (magic number)\n");
59 int num_chunks = Read4(header+8);
63 // each chunk's header record starts with 4 bytes.
75 printf("failed to read chunk %d normal header data\n", i);
89 printf("failed to read chunk %d raw header data\n", i);
107 // deflate chunks have an additional 60 bytes in their chunk header.
111 printf("failed to read chunk %d deflate header data\n", i);
126 // Decompress the source data; the chunk header tells us exactly