/third_party/curl/lib/ |
D | curl_fnmatch.c | 72 static int parsekeyword(unsigned char **pattern, unsigned char *charset) in parsekeyword() argument 104 charset[CURLFNM_DIGIT] = 1; in parsekeyword() 106 charset[CURLFNM_ALNUM] = 1; in parsekeyword() 108 charset[CURLFNM_ALPHA] = 1; in parsekeyword() 110 charset[CURLFNM_XDIGIT] = 1; in parsekeyword() 112 charset[CURLFNM_PRINT] = 1; in parsekeyword() 114 charset[CURLFNM_GRAPH] = 1; in parsekeyword() 116 charset[CURLFNM_SPACE] = 1; in parsekeyword() 118 charset[CURLFNM_BLANK] = 1; in parsekeyword() 120 charset[CURLFNM_UPPER] = 1; in parsekeyword() [all …]
|
/third_party/boost/libs/locale/src/encoding/ |
D | codepage.cpp | 66 char const *charset, in convert_to() argument 72 if(cvt->open(charset,how)) in convert_to() 77 if(cvt->open(charset,how)) in convert_to() 82 if(cvt->open(charset,how)) in convert_to() 85 throw invalid_charset_error(charset); in convert_to() 92 char const *charset, in convert_from() argument 98 if(cvt->open(charset,how)) in convert_from() 103 if(cvt->open(charset,how)) in convert_from() 108 if(cvt->open(charset,how)) in convert_from() 111 throw invalid_charset_error(charset); in convert_from() [all …]
|
/third_party/python/Lib/email/ |
D | header.py | 20 from email import charset as _charset 77 return [(_charset._encode(string, str(charset)), str(charset)) 78 for string, charset in header._chunks] 97 charset = parts.pop(0).lower() 100 words.append((encoded, encoding, charset)) 114 for encoded_string, encoding, charset in words: 117 decoded_words.append((encoded_string, charset)) 120 decoded_words.append((word, charset)) 130 decoded_words.append((word, charset)) 137 for word, charset in decoded_words: [all …]
|
D | _encoded_words.py | 173 _, charset, cte, cte_string, _ = ew.split('?') 174 charset, _, lang = charset.partition('*') 181 string = bstring.decode(charset) 184 "contains bytes not decodable using {} charset".format(charset))) 185 string = bstring.decode(charset, 'surrogateescape') 188 if charset.lower() != 'unknown-8bit': 190 "in encoded word; decoded as unknown bytes".format(charset))) 191 return string, charset, lang, defects 204 def encode(string, charset='utf-8', encoding=None, lang=''): argument 221 if charset == 'unknown-8bit': [all …]
|
D | utils.py | 40 from email.charset import Charset 76 def formataddr(pair, charset='utf-8'): argument 96 if isinstance(charset, str): 97 charset = Charset(charset) 98 encoded_name = charset.header_encode(name) 239 def encode_rfc2231(s, charset=None, language=None): argument 246 s = urllib.parse.quote(s, safe='', encoding=charset or 'ascii') 247 if charset is None and language is None: 251 return "%s'%s'%s" % (charset, language, s) 299 charset, language, value = decode_rfc2231(value) [all …]
|
D | message.py | 18 from email import charset as _charset 303 def set_payload(self, payload, charset=None): argument 310 if charset is None: 313 if not isinstance(charset, Charset): 314 charset = Charset(charset) 315 payload = payload.encode(charset.output_charset) 320 if charset is not None: 321 self.set_charset(charset) 323 def set_charset(self, charset): argument 337 if charset is None: [all …]
|
/third_party/boost/boost/spirit/home/support/ |
D | common_terminals.hpp | 160 #define BOOST_SPIRIT_TAG_CHAR_SPEC(charset) \ argument 161 typedef tag::char_code<tag::char_, charset> char_; \ 162 typedef tag::char_code<tag::string, charset> string; \ 167 #define BOOST_SPIRIT_CHAR_SPEC(charset) \ argument 168 typedef spirit::terminal<tag::charset::char_> char_type; \ 169 typedef spirit::terminal<tag::charset::string> string_type; \ 174 #define BOOST_SPIRIT_CHAR_SPEC(charset) \ argument 175 typedef spirit::terminal<tag::charset::char_> char_type; \ 180 typedef spirit::terminal<tag::charset::string> string_type; \ 190 #define BOOST_SPIRIT_CHAR_CODE(name, charset) \ argument [all …]
|
/third_party/glib/glib/ |
D | gcharset.c | 106 const char *charset = g_getenv ("CHARSET"); in g_utf8_get_charset_internal() local 108 if (charset && *charset) in g_utf8_get_charset_internal() 110 *a = charset; in g_utf8_get_charset_internal() 112 if (charset && strstr (charset, "UTF-8")) in g_utf8_get_charset_internal() 123 charset = _g_locale_charset_unalias (raw_data); in g_utf8_get_charset_internal() 126 if (charset && *charset) in g_utf8_get_charset_internal() 128 *a = charset; in g_utf8_get_charset_internal() 130 if (charset && strstr (charset, "UTF-8")) in g_utf8_get_charset_internal() 147 gchar *charset; member 155 g_free (cache->charset); in charset_cache_free() [all …]
|
/third_party/boost/boost/locale/ |
D | encoding.hpp | 38 …ng<CharType> to_utf(char const *begin,char const *end,std::string const &charset,method_type how=d… 44 …ng from_utf(CharType const *begin,CharType const *end,std::string const &charset,method_type how=d… 73 …std::basic_string<CharType> to_utf(std::string const &text,std::string const &charset,method_type … in to_utf() argument 75 return to_utf<CharType>(text.c_str(),text.c_str()+text.size(),charset,how); in to_utf() 82 …std::string from_utf(std::basic_string<CharType> const &text,std::string const &charset,method_typ… in from_utf() argument 84 return from_utf(text.c_str(),text.c_str()+text.size(),charset,how); in from_utf() 91 …std::basic_string<CharType> to_utf(char const *text,std::string const &charset,method_type how=def… in to_utf() argument 96 return to_utf<CharType>(text,text_end,charset,how); in to_utf() 103 …std::string from_utf(CharType const *text,std::string const &charset,method_type how=default_metho… in from_utf() argument 108 return from_utf(text,text_end,charset,how); in from_utf() [all …]
|
/third_party/node/deps/npm/node_modules/mime-types/ |
D | index.js | 31 exports.charset = charset 32 exports.charsets = { lookup: charset } 49 function charset (type) { function 58 if (mime && mime.charset) { 59 return mime.charset 93 var charset = exports.charset(mime) 94 if (charset) mime += '; charset=' + charset.toLowerCase()
|
/third_party/curl/tests/data/ |
D | test2031 | 16 Content-Type: text/html; charset=iso-8859-1 26 Content-Type: text/html; charset=iso-8859-1 36 Content-Type: text/html; charset=iso-8859-1 47 Content-Type: text/html; charset=iso-8859-1 57 Content-Type: text/html; charset=iso-8859-1 67 Content-Type: text/html; charset=iso-8859-1 77 Content-Type: text/html; charset=iso-8859-1 87 Content-Type: text/html; charset=iso-8859-1 97 Content-Type: text/html; charset=iso-8859-1 108 Content-Type: text/html; charset=iso-8859-1 [all …]
|
D | test2028 | 20 Content-Type: text/html; charset=iso-8859-1 31 Content-Type: text/html; charset=iso-8859-1 43 Content-Type: text/html; charset=iso-8859-1 54 Content-Type: text/html; charset=iso-8859-1 64 Content-Type: text/html; charset=iso-8859-1 74 Content-Type: text/html; charset=iso-8859-1 85 Content-Type: text/html; charset=iso-8859-1 97 Content-Type: text/html; charset=iso-8859-1 108 Content-Type: text/html; charset=iso-8859-1 118 Content-Type: text/html; charset=iso-8859-1 [all …]
|
D | test2025 | 20 Content-Type: text/html; charset=iso-8859-1 32 Content-Type: text/html; charset=iso-8859-1 43 Content-Type: text/html; charset=iso-8859-1 53 Content-Type: text/html; charset=iso-8859-1 63 Content-Type: text/html; charset=iso-8859-1 75 Content-Type: text/html; charset=iso-8859-1 86 Content-Type: text/html; charset=iso-8859-1 96 Content-Type: text/html; charset=iso-8859-1 108 Content-Type: text/html; charset=iso-8859-1 119 Content-Type: text/html; charset=iso-8859-1 [all …]
|
D | test2030 | 32 Content-Type: text/html; charset=iso-8859-1 43 Content-Type: text/html; charset=iso-8859-1 53 Content-Type: text/html; charset=iso-8859-1 65 Content-Type: text/html; charset=iso-8859-1 76 Content-Type: text/html; charset=iso-8859-1 86 Content-Type: text/html; charset=iso-8859-1 97 Content-Type: text/html; charset=iso-8859-1 107 Content-Type: text/html; charset=iso-8859-1 119 Content-Type: text/html; charset=iso-8859-1 130 Content-Type: text/html; charset=iso-8859-1 [all …]
|
D | test2029 | 20 Content-Type: text/html; charset=iso-8859-1 31 Content-Type: text/html; charset=iso-8859-1 41 Content-Type: text/html; charset=iso-8859-1 53 Content-Type: text/html; charset=iso-8859-1 63 Content-Type: text/html; charset=iso-8859-1 74 Content-Type: text/html; charset=iso-8859-1 84 Content-Type: text/html; charset=iso-8859-1 96 Content-Type: text/html; charset=iso-8859-1 108 Content-Type: text/html; charset=iso-8859-1 117 Content-Type: text/html; charset=iso-8859-1 [all …]
|
D | test2027 | 27 Content-Type: text/html; charset=iso-8859-1 37 Content-Type: text/html; charset=iso-8859-1 48 Content-Type: text/html; charset=iso-8859-1 58 Content-Type: text/html; charset=iso-8859-1 68 Content-Type: text/html; charset=iso-8859-1 78 Content-Type: text/html; charset=iso-8859-1 89 Content-Type: text/html; charset=iso-8859-1 99 Content-Type: text/html; charset=iso-8859-1 110 Content-Type: text/html; charset=iso-8859-1 119 Content-Type: text/html; charset=iso-8859-1 [all …]
|
/third_party/boost/libs/log/src/ |
D | spirit_encoding.cpp | 28 #define BOOST_LOG_DEFINE_CHARSET_PARSER(r, charset, parser)\ argument 29 …BOOST_LOG_API encoding_specific< spirit::char_encoding::charset >::BOOST_PP_TUPLE_ELEM(2, 0, parse… 30 encoding_specific< spirit::char_encoding::charset >::BOOST_PP_TUPLE_ELEM(2, 1, parser) =\ 31 spirit::charset::BOOST_PP_TUPLE_ELEM(2, 1, parser); 33 #define BOOST_LOG_DEFINE_CHARSET_PARSERS(charset)\ argument 34 BOOST_PP_SEQ_FOR_EACH(BOOST_LOG_DEFINE_CHARSET_PARSER, charset, BOOST_LOG_CHARSET_PARSERS)
|
/third_party/python/Lib/test/test_email/data/ |
D | msg_12.txt | 9 Content-Type: text/plain; charset="us-ascii" 13 Content-Type: text/html; charset="iso-8859-1" 20 Content-Type: text/plain; charset="iso-8859-2" 24 Content-Type: text/plain; charset="iso-8859-3" 29 Content-Type: text/plain; charset="us-ascii" 33 Content-Type: text/plain; charset="koi8-r"
|
D | msg_12a.txt | 9 Content-Type: text/plain; charset="us-ascii" 13 Content-Type: text/html; charset="iso-8859-1" 20 Content-Type: text/plain; charset="iso-8859-2" 24 Content-Type: text/plain; charset="iso-8859-3" 31 Content-Type: text/plain; charset="us-ascii" 35 Content-Type: text/plain; charset="koi8-r"
|
/third_party/gettext/gettext-tools/src/ |
D | msgl-charset.c | 74 char *charset; in compare_po_locale_charsets() local 79 charset = (char *) xmalloca (len + 1); in compare_po_locale_charsets() 80 memcpy (charset, charsetstr, len); in compare_po_locale_charsets() 81 charset[len] = '\0'; in compare_po_locale_charsets() 83 canon_charset = po_charset_canonicalize (charset); in compare_po_locale_charsets() 87 charset); in compare_po_locale_charsets() 88 freea (charset); in compare_po_locale_charsets()
|
/third_party/skia/third_party/externals/expat/expat/xmlwf/ |
D | xmlmime.c | 120 getXMLCharset(const char *buf, char *charset) { in getXMLCharset() argument 123 charset[0] = '\0'; in getXMLCharset() 127 strcpy(charset, "us-ascii"); in getXMLCharset() 136 if (! matchkey(p, next, "xml") && charset[0] == '\0') in getXMLCharset() 149 char *s = charset; in getXMLCharset() 154 if (s == charset + CHARSET_MAX - 1) { in getXMLCharset() 155 charset[0] = '\0'; in getXMLCharset()
|
/third_party/expat/xmlwf/ |
D | xmlmime.c | 120 getXMLCharset(const char *buf, char *charset) { in getXMLCharset() argument 123 charset[0] = '\0'; in getXMLCharset() 127 strcpy(charset, "us-ascii"); in getXMLCharset() 136 if (! matchkey(p, next, "xml") && charset[0] == '\0') in getXMLCharset() 149 char *s = charset; in getXMLCharset() 154 if (s == charset + CHARSET_MAX - 1) { in getXMLCharset() 155 charset[0] = '\0'; in getXMLCharset()
|
/third_party/icu/icu4c/source/common/ |
D | uinvchar.h | 68 # error Unknown charset family! 91 # error Unknown charset family! in uprv_upperOrdinal() 109 # error Unknown charset family! in uprv_lowerOrdinal() 137 # error Unknown charset family! 157 # error Unknown charset family! 177 # error Unknown charset family! 197 # error Unknown charset family!
|
/third_party/node/deps/icu-small/source/common/ |
D | uinvchar.h | 68 # error Unknown charset family! 91 # error Unknown charset family! in uprv_upperOrdinal() 109 # error Unknown charset family! in uprv_lowerOrdinal() 137 # error Unknown charset family! 157 # error Unknown charset family! 177 # error Unknown charset family! 197 # error Unknown charset family!
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | uinvchar.h | 68 # error Unknown charset family! 91 # error Unknown charset family! in uprv_upperOrdinal() 109 # error Unknown charset family! in uprv_lowerOrdinal() 137 # error Unknown charset family! 157 # error Unknown charset family! 177 # error Unknown charset family! 197 # error Unknown charset family!
|