33 references to SafeZstdCompressHandle
System.IO.Compression (33)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LibraryImports.g.cs (19)
256
internal static partial global::Microsoft.Win32.SafeHandles.
SafeZstdCompressHandle
ZSTD_createCCtx()
261
global::Microsoft.Win32.SafeHandles.
SafeZstdCompressHandle
__retVal = default;
264
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeZstdCompressHandle
>.ManagedToUnmanagedOut __retVal_native__marshaller = new();
468
internal static unsafe partial nuint ZSTD_compress2(global::Microsoft.Win32.SafeHandles.
SafeZstdCompressHandle
cctx, byte* dst, nuint dstCapacity, byte* src, nuint srcSize)
475
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeZstdCompressHandle
>.ManagedToUnmanagedIn __cctx_native__marshaller = new();
504
internal static unsafe partial nuint ZSTD_compress_usingCDict(global::Microsoft.Win32.SafeHandles.
SafeZstdCompressHandle
cctx, byte* dst, nuint dstCapacity, byte* src, nuint srcSize, global::Microsoft.Win32.SafeHandles.SafeZstdCDictHandle cdict)
513
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeZstdCompressHandle
>.ManagedToUnmanagedIn __cctx_native__marshaller = new();
785
internal static partial nuint ZSTD_compressStream2(global::Microsoft.Win32.SafeHandles.
SafeZstdCompressHandle
cctx, ref global::Interop.Zstd.ZstdOutBuffer output, ref global::Interop.Zstd.ZstdInBuffer input, global::Interop.Zstd.ZstdEndDirective endOp)
792
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeZstdCompressHandle
>.ManagedToUnmanagedIn __cctx_native__marshaller = new();
824
internal static partial nuint ZSTD_CCtx_setParameter(global::Microsoft.Win32.SafeHandles.
SafeZstdCompressHandle
cctx, global::Interop.Zstd.ZstdCParameter @param, int value)
831
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeZstdCompressHandle
>.ManagedToUnmanagedIn __cctx_native__marshaller = new();
860
internal static unsafe partial nuint ZSTD_CCtx_refPrefix(global::Microsoft.Win32.SafeHandles.
SafeZstdCompressHandle
cctx, byte* prefix, nuint prefixSize)
867
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeZstdCompressHandle
>.ManagedToUnmanagedIn __cctx_native__marshaller = new();
896
internal static partial nuint ZSTD_CCtx_reset(global::Microsoft.Win32.SafeHandles.
SafeZstdCompressHandle
cctx, global::Interop.Zstd.ZstdResetDirective reset)
903
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeZstdCompressHandle
>.ManagedToUnmanagedIn __cctx_native__marshaller = new();
932
internal static partial nuint ZSTD_CCtx_setPledgedSrcSize(global::Microsoft.Win32.SafeHandles.
SafeZstdCompressHandle
cctx, ulong pledgedSrcSize)
939
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeZstdCompressHandle
>.ManagedToUnmanagedIn __cctx_native__marshaller = new();
1049
internal static partial nuint ZSTD_CCtx_refCDict(global::Microsoft.Win32.SafeHandles.
SafeZstdCompressHandle
cctx, global::Microsoft.Win32.SafeHandles.SafeZstdCDictHandle cdict)
1058
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeZstdCompressHandle
>.ManagedToUnmanagedIn __cctx_native__marshaller = new();
src\runtime\src\libraries\Common\src\Interop\Interop.Zstd.cs (9)
48
internal static partial
SafeZstdCompressHandle
ZSTD_createCCtx();
81
internal static unsafe partial nuint ZSTD_compress2(
SafeZstdCompressHandle
cctx, byte* dst, nuint dstCapacity, byte* src, nuint srcSize);
84
internal static unsafe partial nuint ZSTD_compress_usingCDict(
SafeZstdCompressHandle
cctx, byte* dst, nuint dstCapacity, byte* src, nuint srcSize, SafeZstdCDictHandle cdict);
114
internal static partial nuint ZSTD_compressStream2(
SafeZstdCompressHandle
cctx, ref ZstdOutBuffer output, ref ZstdInBuffer input, ZstdEndDirective endOp);
117
internal static partial nuint ZSTD_CCtx_setParameter(
SafeZstdCompressHandle
cctx, ZstdCParameter param, int value);
120
internal static unsafe partial nuint ZSTD_CCtx_refPrefix(
SafeZstdCompressHandle
cctx, byte* prefix, nuint prefixSize);
123
internal static partial nuint ZSTD_CCtx_reset(
SafeZstdCompressHandle
cctx, ZstdResetDirective reset);
126
internal static partial nuint ZSTD_CCtx_setPledgedSrcSize(
SafeZstdCompressHandle
cctx, ulong pledgedSrcSize);
150
internal static partial nuint ZSTD_CCtx_refCDict(
SafeZstdCompressHandle
cctx, SafeZstdCDictHandle cdict);
System\IO\Compression\Zstandard\ZstandardEncoder.cs (5)
17
internal
SafeZstdCompressHandle
_context;
361
using
SafeZstdCompressHandle
ctx = Interop.Zstd.ZSTD_createCCtx();
472
internal static void SetQuality(
SafeZstdCompressHandle
handle, int quality)
483
internal static void SetWindowLog(
SafeZstdCompressHandle
handle, int windowLog2)
502
internal static void SetParameter(
SafeZstdCompressHandle
handle, Interop.Zstd.ZstdCParameter parameter, int value)