44 references to State
Microsoft.AspNetCore.Shared.Tests (44)
src\Shared\runtime\Http3\QPack\QPackDecoder.cs (44)
109
private
State
_state =
State
.RequiredInsertCount;
163
_state =
State
.RequiredInsertCount;
189
case
State
.RequiredInsertCount:
192
case
State
.RequiredInsertCountContinue:
195
case
State
.Base:
198
case
State
.BaseContinue:
201
case
State
.CompressedHeaders:
204
case
State
.HeaderFieldIndex:
207
case
State
.HeaderNameIndex:
210
case
State
.HeaderNameLength:
213
case
State
.HeaderName:
216
case
State
.HeaderValueLength:
219
case
State
.HeaderValueLengthContinue:
222
case
State
.HeaderValue:
225
case
State
.PostBaseIndex:
228
case
State
.HeaderNameIndexPostBase:
279
OnStringLength(intResult, nextState:
State
.HeaderName);
299
_state =
State
.HeaderValueLength;
317
OnString(nextState:
State
.HeaderValueLength);
350
OnStringLength(intResult, nextState:
State
.HeaderValue);
354
_state =
State
.CompressedHeaders;
364
_state =
State
.HeaderValueLengthContinue;
383
_state =
State
.CompressedHeaders;
401
OnString(nextState:
State
.CompressedHeaders);
413
_state =
State
.CompressedHeaders;
418
OnStringLength(intResult, nextState:
State
.HeaderValue);
428
Debug.Assert(_state ==
State
.CompressedHeaders, "Should be ready to parse a new header.");
452
_state =
State
.HeaderFieldIndex;
472
_state =
State
.HeaderNameIndex;
486
OnStringLength(intResult,
State
.HeaderName);
491
_state =
State
.HeaderNameLength;
503
_state =
State
.PostBaseIndex;
515
_state =
State
.HeaderNameIndexPostBase;
546
_state =
State
.BaseContinue;
574
_state =
State
.RequiredInsertCountContinue;
584
if (_state !=
State
.CompressedHeaders)
617
private void OnStringLength(int length,
State
nextState)
629
private void OnString(
State
nextState)
650
if (_state ==
State
.HeaderName)
710
_state =
State
.HeaderValueLength;
734
_state =
State
.CompressedHeaders;
743
_state =
State
.Base;
749
_state =
State
.CompressedHeaders;