Home
last modified time | relevance | path

Searched refs:header_encode (Results 1 – 25 of 34) sorted by relevance

12

/aosp_15_r20/external/python/cpython2/Lib/email/
Dcharset.py347 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)
Dbase64mime.py64 def header_encode(header, charset='iso-8859-1', keep_eols=False, function
Dquoprimime.py114 def header_encode(header, charset="iso-8859-1", keep_eols=False, function
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/email/
Dcharset.py279 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)
Dbase64mime.py61 def header_encode(header_bytes, charset='iso-8859-1'): function
Dquoprimime.py127 def header_encode(header_bytes, charset='iso-8859-1'): function
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/email/
H A Dcharset.py279 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)
H A Dbase64mime.py61 def header_encode(header_bytes, charset='iso-8859-1'): function
H A Dquoprimime.py127 def header_encode(header_bytes, charset='iso-8859-1'): function
H A Dutils.py98 encoded_name = charset.header_encode(name)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/email/
Dcharset.py279 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)
Dbase64mime.py61 def header_encode(header_bytes, charset='iso-8859-1'): function
Dquoprimime.py127 def header_encode(header_bytes, charset='iso-8859-1'): function
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/email/
Dcharset.py279 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)
Dbase64mime.py61 def header_encode(header_bytes, charset='iso-8859-1'): function
Dquoprimime.py127 def header_encode(header_bytes, charset='iso-8859-1'): function
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/email/
Dcharset.py279 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)
Dbase64mime.py61 def header_encode(header_bytes, charset='iso-8859-1'): function
Dquoprimime.py127 def header_encode(header_bytes, charset='iso-8859-1'): function
/aosp_15_r20/external/python/cpython3/Lib/email/
Dcharset.py279 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)
Dbase64mime.py61 def header_encode(header_bytes, charset='iso-8859-1'): function
Dquoprimime.py127 def header_encode(header_bytes, charset='iso-8859-1'): function
/aosp_15_r20/external/python/cpython3/Doc/library/
Demail.charset.rst121 .. method:: header_encode(string)
133 This is similar to :meth:`header_encode` except that the string is fit
/aosp_15_r20/external/python/cpython2/Doc/library/
Demail.charset.rst158 .. method:: header_encode(s[, convert])
179 :meth:`header_encode`, there are no issues with byte boundaries and
/aosp_15_r20/external/python/cpython3/Lib/test/test_email/
Dtest_email.py3208 def header_encode(self, string): member in TestMiscellaneous.test_accepts_any_charset_like_object.CharsetMock
4365 he = base64mime.header_encode
4417 eq(len(quoprimime.header_encode(b'hello', charset='xxx')),
4423 eq(len(quoprimime.header_encode(b'h@e@l@l@o@', charset='xxx')),
4452 encoded_header = quoprimime.header_encode(header)
4454 encoded_header = quoprimime.header_encode(header, charset)
4708 eq(c.header_encode('Hello World!'), 'Hello World!')
4711 self.assertRaises(UnicodeError, c.header_encode, s)
4713 eq(c.header_encode(s), '=?utf-8?b?wqTCosKkwqTCpMKmwqTCqMKkwqo=?=')

12