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