Home
last modified time | relevance | path

Searched refs:encodebytes (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython3/Lib/encodings/
Dbase64_codec.py15 return (base64.encodebytes(input), len(input))
30 return base64.encodebytes(input)
/external/python/cpython3/Lib/test/
Dtest_base64.py23 eq(base64.encodebytes(b"www.python.org"), b"d3d3LnB5dGhvbi5vcmc=\n")
24 eq(base64.encodebytes(b"a"), b"YQ==\n")
25 eq(base64.encodebytes(b"ab"), b"YWI=\n")
26 eq(base64.encodebytes(b"abc"), b"YWJj\n")
27 eq(base64.encodebytes(b""), b"")
28 eq(base64.encodebytes(b"abcdefghijklmnopqrstuvwxyz"
35 eq(base64.encodebytes(bytearray(b'abc')), b'YWJj\n')
36 eq(base64.encodebytes(memoryview(b'abc')), b'YWJj\n')
37 eq(base64.encodebytes(array('B', b'abc')), b'YWJj\n')
38 self.check_type_errors(base64.encodebytes)
Dtest_xmlrpc.py578 de = base64.encodebytes(d)
Dtest_urllib2.py1632 base64.encodebytes(userpass).strip().decode())
/external/python/cpython3/Lib/email/
Dencoders.py15 from base64 import encodebytes as _bencode
/external/scapy/scapy/
Dcompat.py135 return base64.encodebytes(raw(x)).replace(b'\n', b'')
/external/python/cpython3/Lib/
Dbase64.py524 def encodebytes(s): function
571 s1 = encodebytes(s0)
/external/python/cpython3/Lib/xmlrpc/
Dclient.py418 encoded = base64.encodebytes(self.data)
569 encoded = base64.encodebytes(value)
1227 auth = base64.encodebytes(auth).decode("utf-8")
/external/mesa3d/.gitlab-ci/tracie/
Dtracie.py74 return base64.encodebytes(signature).strip().decode()
/external/python/cpython3/Doc/library/
Dbase64.rst249 .. function:: encodebytes(s)
Dcodecs.rst1338 …64_codec [#b64]_ | base64, base_64 | Convert the operand to | :meth:`base64.encodebytes` / |
/external/python/cpython3/Misc/NEWS.d/
D3.9.0a3.rst374 deprecated since Python 3.1: use :func:`base64.encodebytes` and
/external/python/cpython3/Doc/whatsnew/
D3.9.rst996 since Python 3.1, have been removed: use :func:`base64.encodebytes` and
/external/python/cpython3/Misc/
DHISTORY3824 - Issue #17839: base64.decodebytes and base64.encodebytes now accept any