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