Home
last modified time | relevance | path

Searched refs:encodebytes (Results 1 - 8 of 8) sorted by relevance

/third_party/python/Lib/encodings/
H A Dbase64_codec.py15 return (base64.encodebytes(input), len(input))
30 return base64.encodebytes(input)
/third_party/python/Lib/test/
H A 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)
[all...]
H A Dtest_urllib2.py1652 base64.encodebytes(userpass).strip().decode())
H A Dtest_xmlrpc.py592 de = base64.encodebytes(d)
/third_party/python/Lib/email/
H A Dencoders.py15 from base64 import encodebytes as _bencode
/third_party/python/Lib/
H A Dbase64.py16 'encode', 'decode', 'encodebytes', 'decodebytes',
549 def encodebytes(s): function
599 s1 = encodebytes(s0)
/third_party/python/Lib/xmlrpc/
H A Dclient.py424 encoded = base64.encodebytes(self.data)
575 encoded = base64.encodebytes(value)
1233 auth = base64.encodebytes(auth).decode("utf-8")
/third_party/PyYAML/lib/yaml/
H A Drepresenter.py151 if hasattr(base64, 'encodebytes'):
152 data = base64.encodebytes(data).decode('ascii')

Completed in 84 milliseconds