Home | History | Annotate | Download | only in applypatch

Lines Matching full:patch

25  * To patch these usefully, we break the source and target images up into
32 * originally to generate the patch.
41 * An "imgdiff" patch consists of a header describing the chunk structure
62 * The imgdiff patch header looks like this:
71 * bsdiff patch offset (8) [from start of patch file]
75 * bsdiff patch offset (8) [from start of patch file]
89 * bsdiff patch offset (8) [from start of patch file]
106 * the bsdiff patch. The next five parameters specify the zlib
594 * Given source and target chunks, compute a bsdiff patch between them
595 * by running bsdiff in a subprocess. Return the patch data, placing
608 char ptemp[] = "/tmp/imgdiff-patch-XXXXXX";
619 printf("failed to stat patch file %s: %s\n",
638 printf("failed to open patch %s: %s\n", ptemp, strerror(errno));
642 printf("failed to read patch %s: %s\n", ptemp, strerror(errno));
665 * of uninterpreted data). The resulting patch will likely be about
777 printf("usage: %s [-z] <src-img> <tgt-img> <patch-file>\n",
871 // patch to the compressed data, rather than uncompressing and
872 // recompressing to apply the trivial patch to the uncompressed
928 printf("patch %3d is %d bytes (of %d)\n",
933 // that we can correctly compute the offset of each bsdiff patch
999 // Append each chunk's bsdiff patch, in order.