23 references to HttpRuleParser
Microsoft.AspNetCore.Mvc.Core (23)
Formatters\AcceptHeaderParser.cs (3)
128
var current = startIndex +
HttpRuleParser
.GetWhitespaceLength(input, startIndex);
139
current = current +
HttpRuleParser
.GetWhitespaceLength(input, current);
144
current = current +
HttpRuleParser
.GetWhitespaceLength(input, current);
Formatters\MediaType.cs (7)
383
current +=
HttpRuleParser
.GetWhitespaceLength(input, current);
385
var nameLength =
HttpRuleParser
.GetTokenLength(input, current);
395
current +=
HttpRuleParser
.GetWhitespaceLength(input, current);
405
current +=
HttpRuleParser
.GetWhitespaceLength(input, current);
407
var valueLength =
HttpRuleParser
.GetTokenLength(input, current);
412
var result =
HttpRuleParser
.GetQuotedStringLength(input, current, out valueLength);
429
current +=
HttpRuleParser
.GetWhitespaceLength(input, current);
src\Shared\MediaType\ReadOnlyMediaTypeHeaderValue.cs (13)
97
var current = offset +
HttpRuleParser
.GetWhitespaceLength(input, offset);
100
var typeLength =
HttpRuleParser
.GetTokenLength(input, current);
110
current +=
HttpRuleParser
.GetWhitespaceLength(input, current);
127
current +=
HttpRuleParser
.GetWhitespaceLength(input, current);
129
var subtypeLength =
HttpRuleParser
.GetTokenLength(input, current);
139
current +=
HttpRuleParser
.GetWhitespaceLength(input, current);
535
current +=
HttpRuleParser
.GetWhitespaceLength(input, current);
537
var nameLength =
HttpRuleParser
.GetTokenLength(input, current);
547
current +=
HttpRuleParser
.GetWhitespaceLength(input, current);
557
current +=
HttpRuleParser
.GetWhitespaceLength(input, current);
559
var valueLength =
HttpRuleParser
.GetTokenLength(input, current);
564
var result =
HttpRuleParser
.GetQuotedStringLength(input, current, out valueLength);
581
current +=
HttpRuleParser
.GetWhitespaceLength(input, current);