Home
last modified time | relevance | path

Searched refs:referrer_charset (Results 1 – 8 of 8) sorted by relevance

/external/cronet/net/base/
Dfilename_util_icu.cc50 const std::string& referrer_charset, in GetSuggestedFilename() argument
54 return GetSuggestedFilenameImpl(url, content_disposition, referrer_charset, in GetSuggestedFilename()
62 const std::string& referrer_charset, in GenerateFileName() argument
66 return GenerateFileName(url, content_disposition, referrer_charset, in GenerateFileName()
73 const std::string& referrer_charset, in GenerateFileName() argument
79 url, content_disposition, referrer_charset, suggested_name, mime_type, in GenerateFileName()
Dfilename_util_internal.cc120 const std::string& referrer_charset, in GetFileNameFromURL() argument
137 if (!referrer_charset.empty() && in GetFileNameFromURL()
138 ConvertToUTF16(unescaped_url_filename, referrer_charset.c_str(), in GetFileNameFromURL()
222 const std::string& referrer_charset, in GetSuggestedFilenameImpl() argument
240 HttpContentDisposition header(content_disposition, referrer_charset); in GetSuggestedFilenameImpl()
254 filename = GetFileNameFromURL(url, referrer_charset, &overwrite_extension); in GetSuggestedFilenameImpl()
310 const std::string& referrer_charset, in GenerateFileNameImpl() argument
317 url, content_disposition, referrer_charset, suggested_name, mime_type, in GenerateFileNameImpl()
Dfilename_util.h70 const std::string& referrer_charset,
79 const std::string& referrer_charset,
90 const std::string& referrer_charset,
Dfilename_util_internal.h39 const std::string& referrer_charset,
53 const std::string& referrer_charset,
Dfilename_util_unittest.cc31 const char* referrer_charset; member
79 test_case->referrer_charset, test_case->suggested_filename, in RunGenerateFileNameTestCase()
793 test_case.referrer_charset = "GBK"; in TEST()
/external/cronet/net/http/
Dhttp_content_disposition.cc82 const std::string& referrer_charset, in DecodeWord() argument
97 if (!referrer_charset.empty() && in DecodeWord()
98 ConvertToUTF16(encoded_word, referrer_charset.c_str(), in DecodeWord()
216 const std::string& referrer_charset, in DecodeFilenameValue() argument
240 if (!DecodeWord(t.token_piece(), referrer_charset, in DecodeFilenameValue()
338 const std::string& referrer_charset) { in HttpContentDisposition() argument
339 Parse(header, referrer_charset); in HttpContentDisposition()
392 const std::string& referrer_charset) { in Parse() argument
407 DecodeFilenameValue(iter.value(), referrer_charset, &filename, in Parse()
Dhttp_content_disposition.h55 const std::string& referrer_charset);
71 void Parse(const std::string& header, const std::string& referrer_charset);
Dhttp_content_disposition_unittest.cc16 const char* referrer_charset; member
205 HttpContentDisposition header(test.header, test.referrer_charset); in TEST()