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