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