Searched refs:_ztream (Results 1 – 3 of 3) sorted by relevance
/external/rust/crates/libz-sys/src/zlib/contrib/dotzlib/DotZLib/ |
D | Deflater.cs | 40 … int retval = deflateInit_(ref _ztream, (int)level, Info.Version, Marshal.SizeOf(_ztream)); in Deflater() 67 while (err >= 0 && _ztream.avail_in > 0) in Add() 69 err = deflate(ref _ztream, (int)FlushTypes.None); in Add() 71 while (_ztream.avail_out == 0) in Add() 74 err = deflate(ref _ztream, (int)FlushTypes.None); in Add() 76 inputIndex += (int)_ztream.total_in; in Add() 79 setChecksum( _ztream.adler ); in Add() 91 err = deflate(ref _ztream, (int)FlushTypes.Finish); in Finish() 95 setChecksum( _ztream.adler ); in Finish() 96 deflateReset(ref _ztream); in Finish() [all …]
|
D | Inflater.cs | 39 int retval = inflateInit_(ref _ztream, Info.Version, Marshal.SizeOf(_ztream)); in Inflater() 67 err = inflate(ref _ztream, (int)FlushTypes.None); in Add() 69 while (_ztream.avail_out == 0) in Add() 72 err = inflate(ref _ztream, (int)FlushTypes.None); in Add() 75 inputIndex += (int)_ztream.total_in; in Add() 77 setChecksum( _ztream.adler ); in Add() 89 err = inflate(ref _ztream, (int)FlushTypes.Finish); in Finish() 93 setChecksum( _ztream.adler ); in Finish() 94 inflateReset(ref _ztream); in Finish() 101 protected override void CleanUp() { inflateEnd(ref _ztream); } in CleanUp()
|
D | CodecBase.cs | 25 internal ZStream _ztream = new ZStream(); field in DotZLib.CodecBase 77 if (_ztream.total_out > 0) in OnDataAvailable() 80 DataAvailable( _outBuffer, 0, (int)_ztream.total_out); in OnDataAvailable() 171 _ztream.next_in = _hInput.AddrOfPinnedObject(); in copyInput() 172 _ztream.total_in = 0; in copyInput() 173 _ztream.avail_in = (uint)count; in copyInput() 182 _ztream.total_out = 0; in resetOutput() 183 _ztream.avail_out = kBufferSize; in resetOutput() 184 _ztream.next_out = _hOutput.AddrOfPinnedObject(); in resetOutput()
|