Home
last modified time | relevance | path

Searched refs:_ew (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/test/test_email/
Dtest__encoded_words.py2 from email import _encoded_words as _ew unknown
10 result, defects = _ew.decode_q(source)
28 result, defects = _ew.decode_b(source)
56 _ew.decode('=?badone?=')
58 _ew.decode('=?')
60 _ew.decode('')
62 _ew.decode('=?utf-8?X?somevalue?=')
65 res, char, l, d = _ew.decode(source)
142 self.assertEqual(_ew.encode_q(src), expected)
157 self.assertEqual(_ew.encode_b(b'foo'), 'Zm9v')
[all …]
/external/python/cpython3/Lib/email/
D_header_value_parser.py75 from email import _encoded_words as _ew unknown
1064 text, charset, lang, defects = _ew.decode('=?' + tok + '?=')
2913 encoded_word = _ew.encode(to_encode_word, charset=encode_as)
2919 encoded_word = _ew.encode(to_encode_word, charset=encode_as)