62 references to InflaterState
System (62)
sys\System\IO\compression\Inflater.cs (62)
65
InflaterState
state;
118
state =
InflaterState
.ReadingHeader; // start by reading Header info
121
state =
InflaterState
.ReadingBFinal; // start by reading BFinal bit
131
return (state ==
InflaterState
.Done || state==
InflaterState
.VerifyingFooter);
168
if( state ==
InflaterState
.VerifyingFooter) { // finished reading CRC
209
if (state ==
InflaterState
.ReadingHeader) {
213
state =
InflaterState
.ReadingBFinal;
215
else if (state ==
InflaterState
.StartReadingFooter || state ==
InflaterState
.ReadingFooter) {
219
state =
InflaterState
.VerifyingFooter;
224
if( state ==
InflaterState
.ReadingBFinal) { // reading bfinal bit
230
state =
InflaterState
.ReadingBType;
233
if( state ==
InflaterState
.ReadingBType) {
236
state =
InflaterState
.ReadingBType;
243
state =
InflaterState
.ReadingNumLitCodes;
249
state =
InflaterState
.DecodeTop;
253
state =
InflaterState
.UncompressedAligning;
261
if (state <
InflaterState
.DecodeTop) { // we are reading the header
284
state =
InflaterState
.StartReadingFooter;
286
state =
InflaterState
.Done;
310
case
InflaterState
.UncompressedAligning: // intial state when calling this function
313
state =
InflaterState
.UncompressedByte1;
314
goto case
InflaterState
.UncompressedByte1;
316
case
InflaterState
.UncompressedByte1: // decoding block length
317
case
InflaterState
.UncompressedByte2:
318
case
InflaterState
.UncompressedByte3:
319
case
InflaterState
.UncompressedByte4:
325
blockLengthBuffer[state -
InflaterState
.UncompressedByte1] = (byte)bits;
326
if( state ==
InflaterState
.UncompressedByte4) {
340
case
InflaterState
.DecodingUncompressed: // copying block data
348
state =
InflaterState
.ReadingBFinal;
379
case
InflaterState
.DecodeTop:
396
state =
InflaterState
.ReadingBFinal;
417
goto case
InflaterState
.HaveInitialLength;
421
case
InflaterState
.HaveInitialLength:
423
state =
InflaterState
.HaveInitialLength;
434
state =
InflaterState
.HaveFullLength;
435
goto case
InflaterState
.HaveFullLength;
437
case
InflaterState
.HaveFullLength:
452
state =
InflaterState
.HaveDistCode;
453
goto case
InflaterState
.HaveDistCode;
455
case
InflaterState
.HaveDistCode:
474
state =
InflaterState
.DecodeTop;
512
case
InflaterState
.ReadingNumLitCodes:
518
state =
InflaterState
.ReadingNumDistCodes;
519
goto case
InflaterState
.ReadingNumDistCodes;
521
case
InflaterState
.ReadingNumDistCodes:
527
state =
InflaterState
.ReadingNumCodeLengthCodes;
528
goto case
InflaterState
.ReadingNumCodeLengthCodes;
530
case
InflaterState
.ReadingNumCodeLengthCodes:
537
state =
InflaterState
.ReadingCodeLengthCodes;
538
goto case
InflaterState
.ReadingCodeLengthCodes;
540
case
InflaterState
.ReadingCodeLengthCodes:
559
state =
InflaterState
.ReadingTreeCodesBefore;
560
goto case
InflaterState
.ReadingTreeCodesBefore;
562
case
InflaterState
.ReadingTreeCodesBefore:
563
case
InflaterState
.ReadingTreeCodesAfter:
565
if( state ==
InflaterState
.ReadingTreeCodesBefore) {
588
state =
InflaterState
.ReadingTreeCodesAfter;
632
state =
InflaterState
.ReadingTreeCodesBefore; // we want to read the next code.
655
state =
InflaterState
.DecodeTop;