Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/encodings/
Dbase64_codec.py19 return (base64.decodebytes(input), len(input))
35 return base64.decodebytes(input)
/external/python/cpython3/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.py123 fp.write(base64.decodebytes(GNU_MO_DATA))
125 fp.write(base64.decodebytes(GNU_MO_DATA_BAD_MAJOR_VERSION))
127 fp.write(base64.decodebytes(GNU_MO_DATA_BAD_MINOR_VERSION))
129 fp.write(base64.decodebytes(UMO_DATA))
131 fp.write(base64.decodebytes(MMO_DATA))
681 fp.write(base64.decodebytes(GNU_MO_DATA_ISSUE_17898))
694 fp.write(base64.decodebytes(GNU_MO_DATA_ISSUE_17898))
Dtest_smtplib.py815 return base64.decodebytes(string.encode('ascii')).decode('utf-8')
/external/scapy/scapy/
Dcompat.py129 return base64.decodebytes(raw(x))
/external/python/cpython3/Lib/
Dbase64.py535 def decodebytes(s): function
573 s2 = decodebytes(s1)
Dsmtplib.py640 challenge = base64.decodebytes(resp)
Dssl.py1467 return base64.decodebytes(d.encode('ASCII', 'strict'))
/external/python/cpython3/Lib/xmlrpc/
Dclient.py414 self.data = base64.decodebytes(data)
908 mkbytes = base64.decodebytes
/external/python/cpython3/Doc/library/
Dbase64.rst231 .. function:: decodebytes(s)
Dcodecs.rst1339 … | | multiline MIME base64 (the | :meth:`base64.decodebytes` |
/external/python/cpython3/Lib/http/
Dserver.py1107 authorization = base64.decodebytes(authorization).\
/external/python/cpython3/Lib/urllib/
Drequest.py1655 data = base64.decodebytes(data)
2121 data = base64.decodebytes(data.encode('ascii')).decode('latin-1')
/external/python/cpython3/Misc/NEWS.d/
D3.9.0a3.rst375 :func:`base64.decodebytes` instead.
/external/python/cpython3/Lib/test/test_email/
Dtest_email.py1526 self.assertEqual(base64.decodebytes(bytes(payload, 'ascii')),
1566 self.assertEqual(base64.decodebytes(bytes(payload, 'ascii')),
/external/python/cpython3/Doc/whatsnew/
D3.9.rst997 :func:`base64.decodebytes` instead.
/external/python/cpython3/Misc/
DHISTORY3824 - Issue #17839: base64.decodebytes and base64.encodebytes now accept any