Lines Matching refs:data

141   unsigned char* data;  // data to be patched (uncompressed, for deflate chunks)  member
294 curr->data = img; in ReadZip()
314 curr->data = malloc(curr->len); in ReadZip()
328 strm.next_out = curr->data; in ReadZip()
354 curr->data = img + pos; in ReadZip()
421 curr->data = p; in ReadImage()
438 curr->data = malloc(allocated); in ReadImage()
455 strm.next_out = curr->data + curr->len; in ReadImage()
468 curr->data = realloc(curr->data, allocated); in ReadImage()
483 curr->data = img+pos; in ReadImage()
513 curr->data = p; in ReadImage()
552 strm.next_in = chunk->data; in TryReconstruction()
621 return tgt->data; in MakePatch()
628 int r = bsdiff(src->data, src->len, &(src->I), tgt->data, tgt->len, ptemp); in MakePatch()
641 unsigned char* data = malloc(st.st_size); in MakePatch() local
648 return tgt->data; in MakePatch()
658 if (fread(data, 1, st.st_size, f) != st.st_size) { in MakePatch()
677 return data; in MakePatch()
690 free(ch->data); in ChangeDeflateChunkToNormal()
691 ch->data = ch->deflate_data; in ChangeDeflateChunkToNormal()
704 return a->len == b->len && memcmp(a->data, b->data, a->len) == 0; in AreChunksEqual()
735 chunks[in_end].data == in MergeAdjacentNormalChunks()
736 chunks[in_end-1].data + chunks[in_end-1].len); in MergeAdjacentNormalChunks()
760 chunks[out].data = chunks[in_start].data; in MergeAdjacentNormalChunks()
971 src_chunks[i].data = realloc(src_chunks[i].data, src_chunks[i].len + bonus_size); in main()
972 memcpy(src_chunks[i].data+src_chunks[i].len, bonus_data, bonus_size); in main()