20 references to FlushCode
System.IO.Compression (20)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LibraryImports.g.cs (2)
15internal static unsafe extern partial global::System.IO.Compression.ZLibNative.ErrorCode Deflate(global::System.IO.Compression.ZLibNative.ZStream* stream, global::System.IO.Compression.ZLibNative.FlushCode flush); 55internal static unsafe extern partial global::System.IO.Compression.ZLibNative.ErrorCode Inflate(global::System.IO.Compression.ZLibNative.ZStream* stream, global::System.IO.Compression.ZLibNative.FlushCode flush);
src\runtime\src\libraries\Common\src\Interop\Interop.zlib.cs (2)
21internal static unsafe partial ZLibNative.ErrorCode Deflate(ZLibNative.ZStream* stream, ZLibNative.FlushCode flush); 36internal static unsafe partial ZLibNative.ErrorCode Inflate(ZLibNative.ZStream* stream, ZLibNative.FlushCode flush);
src\runtime\src\libraries\Common\src\System\IO\Compression\ZLibNative.cs (2)
314public unsafe ErrorCode Deflate(FlushCode flush) 415public unsafe ErrorCode Inflate(FlushCode flush)
System\IO\Compression\DeflateDecoder.cs (1)
87ZLibNative.ErrorCode errorCode = _state.Inflate(ZLibNative.FlushCode.NoFlush);
System\IO\Compression\DeflateEncoder.cs (4)
198ZLibNative.FlushCode flushCode = isFinalBlock ? ZLibNative.FlushCode.Finish : ZLibNative.FlushCode.NoFlush; 266ZLibNative.ErrorCode errorCode = _state.Deflate(ZLibNative.FlushCode.SyncFlush);
System\IO\Compression\DeflateZLib\Deflater.cs (6)
8using ZFlushCode = System.IO.Compression.ZLibNative.FlushCode; 98ReadDeflateOutput(outputBuffer, ZFlushCode.NoFlush, out bytesRead); 111private unsafe ZErrorCode ReadDeflateOutput(byte[] outputBuffer, ZFlushCode flushCode, out int bytesRead) 135ZErrorCode errC = ReadDeflateOutput(outputBuffer, ZFlushCode.Finish, out bytesRead); 153return ReadDeflateOutput(outputBuffer, ZFlushCode.SyncFlush, out bytesRead) == ZErrorCode.Ok; 196private ZErrorCode Deflate(ZFlushCode flushCode)
System\IO\Compression\DeflateZLib\Inflater.cs (3)
129if (ReadInflateOutput(bufPtr, length, ZLibNative.FlushCode.NoFlush, out bytesRead) == ZLibNative.ErrorCode.StreamEnd) 280private unsafe ZLibNative.ErrorCode ReadInflateOutput(byte* bufPtr, int length, ZLibNative.FlushCode flushCode, out int bytesRead) 297private ZLibNative.ErrorCode Inflate(ZLibNative.FlushCode flushCode)