17 references to GetTokenLength
Microsoft.Net.Http.Headers (17)
CacheControlHeaderValue.cs (1)
742var tokenLength = HttpRuleParser.GetTokenLength(valueString, current);
ContentDispositionHeaderValue.cs (2)
323var typeLength = HttpRuleParser.GetTokenLength(input, startIndex); 483else if (!needsQuotes && HttpRuleParser.GetTokenLength(result, 0) != result.Length)
ContentRangeHeaderValue.cs (1)
239var unitLength = HttpRuleParser.GetTokenLength(input, startIndex);
CookieHeaderValue.cs (1)
172if (HttpRuleParser.GetTokenLength(name, 0) != name.Length)
HeaderUtilities.cs (3)
78if (HttpRuleParser.GetTokenLength(value, 0) != value.Length) 251var tokenLength = HttpRuleParser.GetTokenLength(headerValues[i], current); 307var tokenLength = HttpRuleParser.GetTokenLength(segment, current);
MediaTypeHeaderValue.cs (2)
612var typeLength = HttpRuleParser.GetTokenLength(input, startIndex); 631var subtypeLength = HttpRuleParser.GetTokenLength(input, current);
NameValueHeaderValue.cs (2)
349var nameLength = HttpRuleParser.GetTokenLength(input, startIndex); 461var valueLength = HttpRuleParser.GetTokenLength(input, startIndex);
RangeHeaderValue.cs (1)
164var unitLength = HttpRuleParser.GetTokenLength(input, startIndex);
SetCookieHeaderValue.cs (2)
492var itemLength = HttpRuleParser.GetTokenLength(input, offset); 528itemLength = HttpRuleParser.GetTokenLength(input, offset);
src\Http\Shared\CookieHeaderParserShared.cs (1)
157var itemLength = HttpRuleParser.GetTokenLength(input, offset);
StringWithQualityHeaderValue.cs (1)
197var valueLength = HttpRuleParser.GetTokenLength(input, startIndex);