11 references to Ok
System.IO.Compression (11)
src\runtime\src\libraries\Common\src\System\IO\Compression\ZLibNative.cs (3)
231
State.InitializedForDeflate => (DeflateEnd() == ErrorCode.
Ok
),
232
State.InitializedForInflate => (InflateEnd() == ErrorCode.
Ok
),
271
if (zlibErrorCode is not ErrorCode.
Ok
)
System\IO\Compression\DeflateDecoder.cs (1)
94
ZLibNative.ErrorCode.
Ok
or ZLibNative.ErrorCode.BufError => _state.AvailOut == 0
System\IO\Compression\DeflateEncoder.cs (3)
217
ZLibNative.ErrorCode.
Ok
when isFinalBlock => OperationStatus.DestinationTooSmall,
218
ZLibNative.ErrorCode.
Ok
=> _state.AvailIn == 0
272
ZLibNative.ErrorCode.
Ok
=> _state.AvailOut == 0
System\IO\Compression\DeflateZLib\Deflater.cs (2)
153
return ReadDeflateOutput(outputBuffer, ZFlushCode.SyncFlush, out bytesRead) == ZErrorCode.
Ok
;
210
case ZErrorCode.
Ok
:
System\IO\Compression\DeflateZLib\Inflater.cs (1)
310
case ZLibNative.ErrorCode.
Ok
: // progress has been made inflating
System\IO\Compression\DeflateZLib\ZLibException.cs (1)
18
private readonly ZLibNative.ErrorCode _zlibErrorCode = ZLibNative.ErrorCode.
Ok
;