Searched refs:decodebytes (Results 1 – 16 of 16) sorted by relevance
/external/python/cpython3/Lib/encodings/ |
D | base64_codec.py | 19 return (base64.decodebytes(input), len(input)) 35 return base64.decodebytes(input)
|
/external/python/cpython3/Lib/test/ |
D | test_base64.py | 50 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)
|
D | test_gettext.py | 119 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))
|
D | test_smtplib.py | 737 return base64.decodebytes(string.encode('ascii')).decode('utf-8')
|
/external/python/cpython3/Lib/ |
D | base64.py | 543 def decodebytes(s): function 554 return decodebytes(s) 589 s2 = decodebytes(s1)
|
D | smtplib.py | 636 challenge = base64.decodebytes(resp)
|
D | ssl.py | 1281 return base64.decodebytes(d.encode('ASCII', 'strict'))
|
/external/scapy/scapy/ |
D | compat.py | 129 return base64.decodebytes(raw(x))
|
/external/python/cpython3/Doc/library/ |
D | base64.rst | 231 .. function:: decodebytes(s) 240 Deprecated alias of :func:`decodebytes`.
|
D | codecs.rst | 1346 … | | MIME base64 (the result | :meth:`base64.decodebytes` |
|
/external/python/cpython3/Lib/xmlrpc/ |
D | client.py | 408 self.data = base64.decodebytes(data) 904 mkbytes = base64.decodebytes
|
/external/python/cpython3/Lib/http/ |
D | server.py | 1099 authorization = base64.decodebytes(authorization).\
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 1629 data = base64.decodebytes(data) 2095 data = base64.decodebytes(data.encode('ascii')).decode('latin-1')
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_email.py | 1482 self.assertEqual(base64.decodebytes(bytes(payload, 'ascii')), 1522 self.assertEqual(base64.decodebytes(bytes(payload, 'ascii')),
|
/external/tensorflow/tensorflow/tools/docker/notebooks/ |
D | 3_mnist_from_scratch.ipynb | 45 …ernel/__main__.py:5: DeprecationWarning: decodestring() is a deprecated alias, use decodebytes()\n"
|
/external/python/cpython3/Misc/ |
D | HISTORY | 3824 - Issue #17839: base64.decodebytes and base64.encodebytes now accept any
|