57 references to GzipHeaderState
System (57)
sys\System\IO\compression\GZipDecoder.cs (57)
9
private
GzipHeaderState
gzipHeaderSubstate;
10
private
GzipHeaderState
gzipFooterSubstate;
25
gzipHeaderSubstate =
GzipHeaderState
.ReadingID1;
26
gzipFooterSubstate =
GzipHeaderState
.ReadingCRC;
36
case
GzipHeaderState
.ReadingID1:
45
gzipHeaderSubstate =
GzipHeaderState
.ReadingID2;
46
goto case
GzipHeaderState
.ReadingID2;
48
case
GzipHeaderState
.ReadingID2:
58
gzipHeaderSubstate =
GzipHeaderState
.ReadingCM;
59
goto case
GzipHeaderState
.ReadingCM;
61
case
GzipHeaderState
.ReadingCM:
71
gzipHeaderSubstate =
GzipHeaderState
.ReadingFLG; ;
72
goto case
GzipHeaderState
.ReadingFLG;
74
case
GzipHeaderState
.ReadingFLG:
81
gzipHeaderSubstate =
GzipHeaderState
.ReadingMMTime;
83
goto case
GzipHeaderState
.ReadingMMTime;
85
case
GzipHeaderState
.ReadingMMTime:
96
gzipHeaderSubstate =
GzipHeaderState
.ReadingXFL;
98
goto case
GzipHeaderState
.ReadingXFL;
100
case
GzipHeaderState
.ReadingXFL: // ignore XFL
106
gzipHeaderSubstate =
GzipHeaderState
.ReadingOS;
107
goto case
GzipHeaderState
.ReadingOS;
109
case
GzipHeaderState
.ReadingOS: // ignore OS
115
gzipHeaderSubstate =
GzipHeaderState
.ReadingXLen1;
116
goto case
GzipHeaderState
.ReadingXLen1;
118
case
GzipHeaderState
.ReadingXLen1:
120
goto case
GzipHeaderState
.ReadingFileName;
129
gzipHeaderSubstate =
GzipHeaderState
.ReadingXLen2;
130
goto case
GzipHeaderState
.ReadingXLen2;
132
case
GzipHeaderState
.ReadingXLen2:
139
gzipHeaderSubstate =
GzipHeaderState
.ReadingXLenData;
141
goto case
GzipHeaderState
.ReadingXLenData;
143
case
GzipHeaderState
.ReadingXLenData:
153
gzipHeaderSubstate =
GzipHeaderState
.ReadingFileName;
155
goto case
GzipHeaderState
.ReadingFileName;
157
case
GzipHeaderState
.ReadingFileName:
159
gzipHeaderSubstate =
GzipHeaderState
.ReadingComment;
160
goto case
GzipHeaderState
.ReadingComment;
174
gzipHeaderSubstate =
GzipHeaderState
.ReadingComment;
175
goto case
GzipHeaderState
.ReadingComment;
177
case
GzipHeaderState
.ReadingComment:
179
gzipHeaderSubstate =
GzipHeaderState
.ReadingCRC16Part1;
180
goto case
GzipHeaderState
.ReadingCRC16Part1;
194
gzipHeaderSubstate =
GzipHeaderState
.ReadingCRC16Part1;
195
goto case
GzipHeaderState
.ReadingCRC16Part1;
197
case
GzipHeaderState
.ReadingCRC16Part1:
199
gzipHeaderSubstate =
GzipHeaderState
.Done;
200
goto case
GzipHeaderState
.Done;
208
gzipHeaderSubstate =
GzipHeaderState
.ReadingCRC16Part2;
209
goto case
GzipHeaderState
.ReadingCRC16Part2;
211
case
GzipHeaderState
.ReadingCRC16Part2:
217
gzipHeaderSubstate =
GzipHeaderState
.Done;
218
goto case
GzipHeaderState
.Done;
220
case
GzipHeaderState
.Done:
231
if (gzipFooterSubstate ==
GzipHeaderState
.ReadingCRC) {
241
gzipFooterSubstate =
GzipHeaderState
.ReadingFileSize;
246
if (gzipFooterSubstate ==
GzipHeaderState
.ReadingFileSize) {