Home
last modified time | relevance | path

Searched refs:decodebytes (Results 1 – 16 of 16) 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.py50 eq(base64.decodebytes(b"d3d3LnB5dGhvbi5vcmc=\n"), b"www.python.org")
51 eq(base64.decodebytes(b"YQ==\n"), b"a")
52 eq(base64.decodebytes(b"YWI=\n"), b"ab")
53 eq(base64.decodebytes(b"YWJj\n"), b"abc")
54 eq(base64.decodebytes(b"YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXpBQkNE"
60 eq(base64.decodebytes(b''), b'')
62 eq(base64.decodebytes(bytearray(b'YWJj\n')), b'abc')
63 eq(base64.decodebytes(memoryview(b'YWJj\n')), b'abc')
64 eq(base64.decodebytes(array('B', b'YWJj\n')), b'abc')
65 self.check_type_errors(base64.decodebytes)
Dtest_gettext.py119 fp.write(base64.decodebytes(GNU_MO_DATA))
121 fp.write(base64.decodebytes(GNU_MO_DATA_BAD_MAJOR_VERSION))
123 fp.write(base64.decodebytes(GNU_MO_DATA_BAD_MINOR_VERSION))
125 fp.write(base64.decodebytes(UMO_DATA))
127 fp.write(base64.decodebytes(MMO_DATA))
578 fp.write(base64.decodebytes(GNU_MO_DATA_ISSUE_17898))
Dtest_smtplib.py737 return base64.decodebytes(string.encode('ascii')).decode('utf-8')
/external/python/cpython3/Lib/
Dbase64.py543 def decodebytes(s): function
554 return decodebytes(s)
589 s2 = decodebytes(s1)
Dsmtplib.py636 challenge = base64.decodebytes(resp)
Dssl.py1281 return base64.decodebytes(d.encode('ASCII', 'strict'))
/external/scapy/scapy/
Dcompat.py129 return base64.decodebytes(raw(x))
/external/python/cpython3/Doc/library/
Dbase64.rst231 .. function:: decodebytes(s)
240 Deprecated alias of :func:`decodebytes`.
Dcodecs.rst1346 … | | MIME base64 (the result | :meth:`base64.decodebytes` |
/external/python/cpython3/Lib/xmlrpc/
Dclient.py408 self.data = base64.decodebytes(data)
904 mkbytes = base64.decodebytes
/external/python/cpython3/Lib/http/
Dserver.py1099 authorization = base64.decodebytes(authorization).\
/external/python/cpython3/Lib/urllib/
Drequest.py1629 data = base64.decodebytes(data)
2095 data = base64.decodebytes(data.encode('ascii')).decode('latin-1')
/external/python/cpython3/Lib/test/test_email/
Dtest_email.py1482 self.assertEqual(base64.decodebytes(bytes(payload, 'ascii')),
1522 self.assertEqual(base64.decodebytes(bytes(payload, 'ascii')),
/external/tensorflow/tensorflow/tools/docker/notebooks/
D3_mnist_from_scratch.ipynb45 …ernel/__main__.py:5: DeprecationWarning: decodestring() is a deprecated alias, use decodebytes()\n"
/external/python/cpython3/Misc/
DHISTORY3824 - Issue #17839: base64.decodebytes and base64.encodebytes now accept any