Home
last modified time | relevance | path

Searched refs:input_encoding (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/components/search_engines/
Dtemplate_url_parser.cc62 bool IsValidEncodingString(const std::string& input_encoding) { in IsValidEncodingString() argument
63 if (input_encoding.empty()) in IsValidEncodingString()
66 if (!IsAsciiAlpha(input_encoding[0])) in IsValidEncodingString()
69 for (size_t i = 1, max = input_encoding.size(); i < max; ++i) { in IsValidEncodingString()
70 char c = input_encoding[i]; in IsValidEncodingString()
272 std::string input_encoding = base::UTF16ToASCII(context->string_); in EndElementImpl() local
273 if (IsValidEncodingString(input_encoding)) in EndElementImpl()
274 context->data_.input_encodings.push_back(input_encoding); in EndElementImpl()
Dtemplate_url.cc829 std::string input_encoding; in HandleReplacements() local
832 owner_->EncodeSearchTerms(search_terms_args, is_in_query, &input_encoding, in HandleReplacements()
843 HandleReplacement(std::string(), input_encoding, *i, &url); in HandleReplacements()
1079 input_encoding.c_str(), in HandleReplacements()
1351 std::string input_encoding; in ReplaceSearchTermsInURL() local
1354 EncodeSearchTerms(search_terms_args, true, &input_encoding, in ReplaceSearchTermsInURL()
1374 std::string* input_encoding, in EncodeSearchTerms() argument
1386 *input_encoding = *i; in EncodeSearchTerms()
Dtemplate_url.h680 std::string* input_encoding,
/external/chromium_org/tools/grit/grit/tool/
Drc2grd.py152 self.input_encoding = 'cp1252'
167 self.input_encoding = val
194 rctext = util.ReadFile(path, self.input_encoding)
300 encoding=self.input_encoding))
Dtransl2tc.py78 source_rc = util.ReadFile(args[0], self.rc2grd.input_encoding)
79 transl_rc = util.ReadFile(args[1], self.rc2grd.input_encoding)