13 references to BOOL
System.IO.Compression.Brotli (13)
src\libraries\Common\src\Interop\Interop.Brotli.cs (6)
22internal static unsafe partial BOOL BrotliDecoderDecompress(nuint availableInput, byte* inBytes, nuint* availableOutput, byte* outBytes); 28internal static partial BOOL BrotliDecoderIsFinished(SafeBrotliDecoderHandle state); 34internal static partial BOOL BrotliEncoderSetParameter(SafeBrotliEncoderHandle state, BrotliEncoderParameter parameter, uint value); 37internal static unsafe partial BOOL BrotliEncoderCompressStream( 42internal static partial BOOL BrotliEncoderHasMoreOutput(SafeBrotliEncoderHandle state); 48internal static unsafe partial BOOL BrotliEncoderCompress(int quality, int window, int v, nuint availableInput, byte* inBytes, nuint* availableOutput, byte* outBytes);
System\IO\Compression\dec\BrotliDecoder.cs (2)
62if (Interop.Brotli.BrotliDecoderIsFinished(_state) != Interop.BOOL.FALSE) 120bool success = Interop.Brotli.BrotliDecoderDecompress((nuint)source.Length, inBytes, &availableOutput, outBytes) != Interop.BOOL.FALSE;
System\IO\Compression\enc\BrotliEncoder.cs (5)
81if (Interop.Brotli.BrotliEncoderSetParameter(_state, BrotliEncoderParameter.Quality, (uint)quality) == Interop.BOOL.FALSE) 99if (Interop.Brotli.BrotliEncoderSetParameter(_state, BrotliEncoderParameter.LGWin, (uint)window) == Interop.BOOL.FALSE) 166if (Interop.Brotli.BrotliEncoderCompressStream(_state, operation, ref availableInput, &inBytes, ref availableOutput, &outBytes, out _) == Interop.BOOL.FALSE) 178if ((int)availableOutput == destination.Length && Interop.Brotli.BrotliEncoderHasMoreOutput(_state) == Interop.BOOL.FALSE && availableInput == 0) 223bool success = Interop.Brotli.BrotliEncoderCompress(quality, window, /*BrotliEncoderMode*/ 0, (nuint)source.Length, inBytes, &availableOutput, outBytes) != Interop.BOOL.FALSE;