Searched refs:strm (Results 1 – 2 of 2) sorted by relevance
/bootable/recovery/applypatch/ |
D | imgpatch.cpp | 64 z_stream strm; in ApplyBSDiffPatchAndStreamOutput() local 65 strm.zalloc = Z_NULL; in ApplyBSDiffPatchAndStreamOutput() 66 strm.zfree = Z_NULL; in ApplyBSDiffPatchAndStreamOutput() 67 strm.opaque = Z_NULL; in ApplyBSDiffPatchAndStreamOutput() 68 strm.avail_in = 0; in ApplyBSDiffPatchAndStreamOutput() 69 strm.next_in = nullptr; in ApplyBSDiffPatchAndStreamOutput() 70 int ret = deflateInit2(&strm, level, method, window_bits, mem_level, strategy); in ApplyBSDiffPatchAndStreamOutput() 81 auto compression_sink = [&strm, &actual_target_length, &expected_target_length, &total_written, in ApplyBSDiffPatchAndStreamOutput() 84 strm.avail_in = len; in ApplyBSDiffPatchAndStreamOutput() 85 strm.next_in = data; in ApplyBSDiffPatchAndStreamOutput() [all …]
|
D | imgdiff.cpp | 404 z_stream strm; in TryReconstruction() local 405 strm.zalloc = Z_NULL; in TryReconstruction() 406 strm.zfree = Z_NULL; in TryReconstruction() 407 strm.opaque = Z_NULL; in TryReconstruction() 408 strm.avail_in = uncompressed_data_.size(); in TryReconstruction() 409 strm.next_in = uncompressed_data_.data(); in TryReconstruction() 410 int ret = deflateInit2(&strm, level, METHOD, WINDOWBITS, MEMLEVEL, STRATEGY); in TryReconstruction() 419 strm.avail_out = buffer.size(); in TryReconstruction() 420 strm.next_out = buffer.data(); in TryReconstruction() 421 ret = deflate(&strm, Z_FINISH); in TryReconstruction() [all …]
|