Searched refs:header_encode (Results 1 – 13 of 13) sorted by relevance
/external/python/cpython2/Lib/email/ |
D | charset.py | 347 def header_encode(self, s, convert=False): member in Charset 365 return email.base64mime.header_encode(s, cset) 367 return email.quoprimime.header_encode(s, cset, maxlinelen=None) 372 return email.base64mime.header_encode(s, cset) 374 return email.quoprimime.header_encode(s, cset, maxlinelen=None)
|
D | base64mime.py | 64 def header_encode(header, charset='iso-8859-1', keep_eols=False, function
|
D | quoprimime.py | 114 def header_encode(header, charset="iso-8859-1", keep_eols=False, function
|
D | header.py | 364 s = charset.header_encode(header)
|
/external/python/cpython3/Lib/email/ |
D | charset.py | 279 def header_encode(self, string): member in Charset 296 return encoder_module.header_encode(header_bytes, codec) 319 encoder = partial(encoder_module.header_encode, charset=codec)
|
D | base64mime.py | 61 def header_encode(header_bytes, charset='iso-8859-1'): function
|
D | quoprimime.py | 127 def header_encode(header_bytes, charset='iso-8859-1'): function
|
D | utils.py | 98 encoded_name = charset.header_encode(name)
|
/external/python/cpython3/Doc/library/ |
D | email.charset.rst | 121 .. method:: header_encode(string) 133 This is similar to :meth:`header_encode` except that the string is fit
|
/external/python/cpython2/Doc/library/ |
D | email.charset.rst | 158 .. method:: header_encode(s[, convert]) 179 :meth:`header_encode`, there are no issues with byte boundaries and
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_email.py | 3134 def header_encode(self, string): member in TestMiscellaneous.test_accepts_any_charset_like_object.CharsetMock 4285 he = base64mime.header_encode 4338 eq(len(quoprimime.header_encode(b'hello', charset='xxx')), 4344 eq(len(quoprimime.header_encode(b'h@e@l@l@o@', charset='xxx')), 4373 encoded_header = quoprimime.header_encode(header) 4375 encoded_header = quoprimime.header_encode(header, charset) 4629 eq(c.header_encode('Hello World!'), 'Hello World!') 4632 self.assertRaises(UnicodeError, c.header_encode, s) 4634 eq(c.header_encode(s), '=?utf-8?b?wqTCosKkwqTCpMKmwqTCqMKkwqo=?=')
|
/external/python/cpython2/Lib/email/test/ |
D | test_email_renamed.py | 2635 he = base64mime.header_encode 2690 enc = quoprimime.header_encode 2714 he = quoprimime.header_encode
|
D | test_email.py | 2873 he = base64MIME.header_encode 2928 enc = quopriMIME.header_encode 2952 he = quopriMIME.header_encode
|