Home
last modified time | relevance | path

Searched refs:decodebytes (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Lib/encodings/
Dbase64_codec.py19 return (base64.decodebytes(input), len(input))
35 return base64.decodebytes(input)
/third_party/python/Lib/test/
Dtest_base64.py42 eq(base64.decodebytes(b"d3d3LnB5dGhvbi5vcmc=\n"), b"www.python.org")
43 eq(base64.decodebytes(b"YQ==\n"), b"a")
44 eq(base64.decodebytes(b"YWI=\n"), b"ab")
45 eq(base64.decodebytes(b"YWJj\n"), b"abc")
46 eq(base64.decodebytes(b"YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXpBQkNE"
52 eq(base64.decodebytes(b''), b'')
54 eq(base64.decodebytes(bytearray(b'YWJj\n')), b'abc')
55 eq(base64.decodebytes(memoryview(b'YWJj\n')), b'abc')
56 eq(base64.decodebytes(array('B', b'YWJj\n')), b'abc')
57 self.check_type_errors(base64.decodebytes)
Dtest_gettext.py124 fp.write(base64.decodebytes(GNU_MO_DATA))
126 fp.write(base64.decodebytes(GNU_MO_DATA_BAD_MAJOR_VERSION))
128 fp.write(base64.decodebytes(GNU_MO_DATA_BAD_MINOR_VERSION))
130 fp.write(base64.decodebytes(UMO_DATA))
132 fp.write(base64.decodebytes(MMO_DATA))
682 fp.write(base64.decodebytes(GNU_MO_DATA_ISSUE_17898))
695 fp.write(base64.decodebytes(GNU_MO_DATA_ISSUE_17898))
Dtest_smtplib.py885 return base64.decodebytes(string.encode('ascii')).decode('utf-8')
/third_party/python/Lib/
Dbase64.py559 def decodebytes(s): function
597 s2 = decodebytes(s1)
Dsmtplib.py650 challenge = base64.decodebytes(resp)
Dssl.py1503 return base64.decodebytes(d.encode('ASCII', 'strict'))
/third_party/PyYAML/lib/yaml/
Dconstructor.py303 return base64.decodebytes(value)
509 return base64.decodebytes(value)
/third_party/python/Lib/xmlrpc/
Dclient.py420 self.data = base64.decodebytes(data)
914 mkbytes = base64.decodebytes
/third_party/python/Doc/library/
Dbase64.rst252 .. function:: decodebytes(s)
Dcodecs.rst1346 … | | multiline MIME base64 (the | :meth:`base64.decodebytes` |
/third_party/python/Lib/http/
Dserver.py1107 authorization = base64.decodebytes(authorization).\
/third_party/python/Lib/urllib/
Drequest.py1661 data = base64.decodebytes(data)
2127 data = base64.decodebytes(data.encode('ascii')).decode('latin-1')
/third_party/python/Misc/NEWS.d/
D3.9.0a3.rst375 :func:`base64.decodebytes` instead.
/third_party/python/Lib/test/test_email/
Dtest_email.py1527 self.assertEqual(base64.decodebytes(bytes(payload, 'ascii')),
1567 self.assertEqual(base64.decodebytes(bytes(payload, 'ascii')),
/third_party/python/Doc/whatsnew/
D3.9.rst1005 :func:`base64.decodebytes` instead.
/third_party/python/Misc/
DHISTORY3824 - Issue #17839: base64.decodebytes and base64.encodebytes now accept any