Lines Matching refs:escaped_text
102 STR UnescapeURLWithOffsetsImpl(const STR& escaped_text, in UnescapeURLWithOffsetsImpl() argument
108 LimitOffset<std::wstring>(escaped_text.length())); in UnescapeURLWithOffsetsImpl()
112 return escaped_text; in UnescapeURLWithOffsetsImpl()
118 result.reserve(escaped_text.length()); in UnescapeURLWithOffsetsImpl()
121 for (size_t i = 0, max = escaped_text.size(); i < max; ++i) { in UnescapeURLWithOffsetsImpl()
122 if (static_cast<unsigned char>(escaped_text[i]) >= 128) { in UnescapeURLWithOffsetsImpl()
124 result.push_back(escaped_text[i]); in UnescapeURLWithOffsetsImpl()
128 char current_char = static_cast<char>(escaped_text[i]); in UnescapeURLWithOffsetsImpl()
131 static_cast<typename STR::value_type>(escaped_text[i + 1])); in UnescapeURLWithOffsetsImpl()
133 static_cast<typename STR::value_type>(escaped_text[i + 2])); in UnescapeURLWithOffsetsImpl()
162 escaped_text[i] == '+') { in UnescapeURLWithOffsetsImpl()
166 result.push_back(escaped_text[i]); in UnescapeURLWithOffsetsImpl()
181 STR UnescapeURLImpl(const STR& escaped_text, in UnescapeURLImpl() argument
187 STR result = UnescapeURLWithOffsetsImpl(escaped_text, rules, &offsets); in UnescapeURLImpl()
285 std::string UnescapeURLComponent(const std::string& escaped_text, in UnescapeURLComponent() argument
287 return UnescapeURLWithOffsetsImpl<std::string>(escaped_text, rules, NULL); in UnescapeURLComponent()
290 string16 UnescapeURLComponent(const string16& escaped_text, in UnescapeURLComponent() argument
292 return UnescapeURLWithOffsetsImpl<string16>(escaped_text, rules, NULL); in UnescapeURLComponent()