Searched refs:chunk (Results 1 – 1 of 1) sorted by relevance
/bootable/recovery/applypatch/ |
D | imgdiff.c | 529 int TryReconstruction(ImageChunk* chunk, unsigned char* out) { in TryReconstruction() argument 534 chunk->level, chunk->method, chunk->windowBits, in TryReconstruction() 535 chunk->memLevel, chunk->strategy); in TryReconstruction() 542 strm.avail_in = chunk->len; in TryReconstruction() 543 strm.next_in = chunk->data; in TryReconstruction() 545 ret = deflateInit2(&strm, chunk->level, chunk->method, chunk->windowBits, in TryReconstruction() 546 chunk->memLevel, chunk->strategy); in TryReconstruction() 553 if (memcmp(out, chunk->deflate_data+p, have) != 0) { in TryReconstruction() 561 if (p != chunk->deflate_len) { in TryReconstruction() 574 int ReconstructDeflateChunk(ImageChunk* chunk) { in ReconstructDeflateChunk() argument [all …]
|