Lines Matching refs:src
607 unsigned char* MakePatch(ImageChunk* src, ImageChunk* tgt, size_t* size) { in MakePatch() argument
619 int r = bsdiff(src->data, src->len, &(src->I), tgt->data, tgt->len, ptemp); in MakePatch()
657 tgt->source_start = src->start; in MakePatch()
660 tgt->source_len = src->len; in MakePatch()
663 tgt->source_len = src->deflate_len; in MakePatch()
664 tgt->source_uncompressed_len = src->len; in MakePatch()
890 ImageChunk* src = FindChunkByName(tgt_chunks[i].filename, src_chunks, num_src_chunks); in main() local
891 if (src) { in main()
892 ChangeDeflateChunkToNormal(src); in main()
906 ImageChunk* src; in main() local
908 src = FindChunkByName(tgt_chunks[i].filename, src_chunks, num_src_chunks); in main()
910 src = src_chunks+i; in main()
913 if (src == NULL || AreChunksEqual(tgt_chunks+i, src)) { in main()
915 if (src) { in main()
916 ChangeDeflateChunkToNormal(src); in main()
951 ImageChunk* src; in main() local
953 (src = FindChunkByName(tgt_chunks[i].filename, src_chunks, in main()
955 patch_data[i] = MakePatch(src, tgt_chunks+i, patch_size+i); in main()