Searched refs:safeHeader (Results 1 – 1 of 1) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/platform/network/ |
D | HTTPParsers.cpp | 753 const String safeHeader = header.removeCharacters(isControlCharacter); in parseCacheHeader() local 754 unsigned max = safeHeader.length(); in parseCacheHeader() 756 size_t nextCommaPosition = safeHeader.find(',', pos); in parseCacheHeader() 757 size_t nextEqualSignPosition = safeHeader.find('=', pos); in parseCacheHeader() 760 …String directive = trimToNextSeparator(safeHeader.substring(pos, nextEqualSignPosition - pos).stri… in parseCacheHeader() 763 String value = safeHeader.substring(pos, max - pos).stripWhiteSpace(); in parseCacheHeader() 770 pos += (safeHeader.find('"', pos) - pos) + nextDoubleQuotePosition + 1; in parseCacheHeader() 772 size_t nextCommaPosition2 = safeHeader.find(',', pos); in parseCacheHeader() 788 pos += (safeHeader.find(',', pos) - pos) + 1; in parseCacheHeader() 797 …result.append(pair<String, String>(trimToNextSeparator(safeHeader.substring(pos, nextCommaPosition… in parseCacheHeader() [all …]
|