Home
last modified time | relevance | path

Searched refs:SubstringRange (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/network/
DParsedContentType.cpp42 void setContentType(const SubstringRange&) const { } in setContentType()
43 void setContentTypeParameter(const SubstringRange&, const SubstringRange&) const { } in setContentTypeParameter() argument
52 static SubstringRange parseParameterPart(const String& input, unsigned& startIndex) in parseParameterPart()
59 return SubstringRange(); in parseParameterPart()
67 return SubstringRange(tokenStart + 1, tokenEnd++ - tokenStart - 1); in parseParameterPart()
69 return SubstringRange(tokenStart, tokenEnd - tokenStart); in parseParameterPart()
75 return SubstringRange(); in parseParameterPart()
76 return SubstringRange(tokenStart, tokenEnd - tokenStart); in parseParameterPart()
79 static String substringForRange(const String& string, const SubstringRange& range) in substringForRange()
144 receiver.setContentType(SubstringRange(index, contentTypeLength - index)); in parseContentType()
[all …]
DParsedContentType.h42 typedef std::pair<unsigned, unsigned> SubstringRange; typedef
60 void setContentType(const SubstringRange&);
61 void setContentTypeParameter(const SubstringRange&, const SubstringRange&);