Searched refs:encodebytes (Results 1 – 13 of 13) sorted by relevance
| /third_party/python/Lib/encodings/ |
| D | base64_codec.py | 15 return (base64.encodebytes(input), len(input)) 30 return base64.encodebytes(input)
|
| /third_party/python/Lib/test/ |
| D | test_base64.py | 23 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)
|
| D | test_xmlrpc.py | 592 de = base64.encodebytes(d)
|
| D | test_urllib2.py | 1652 base64.encodebytes(userpass).strip().decode())
|
| /third_party/python/Lib/email/ |
| D | encoders.py | 15 from base64 import encodebytes as _bencode
|
| /third_party/python/Lib/ |
| D | base64.py | 549 def encodebytes(s): function 599 s1 = encodebytes(s0)
|
| /third_party/python/Lib/xmlrpc/ |
| D | client.py | 424 encoded = base64.encodebytes(self.data) 575 encoded = base64.encodebytes(value) 1233 auth = base64.encodebytes(auth).decode("utf-8")
|
| /third_party/PyYAML/lib/yaml/ |
| D | representer.py | 152 data = base64.encodebytes(data).decode('ascii')
|
| /third_party/python/Doc/library/ |
| D | base64.rst | 275 .. function:: encodebytes(s)
|
| D | codecs.rst | 1393 …64_codec [#b64]_ | base64, base_64 | Convert the operand to | :meth:`base64.encodebytes` / |
|
| /third_party/python/Doc/whatsnew/ |
| D | 3.9.rst | 1019 since Python 3.1, have been removed: use :func:`base64.encodebytes` and
|
| /third_party/python/Misc/ |
| D | HISTORY | 3824 - Issue #17839: base64.decodebytes and base64.encodebytes now accept any
|
| D | NEWS | 14058 aliases deprecated since Python 3.1: use :func:`base64.encodebytes` and
|