Home
last modified time | relevance | path

Searched refs:encodestring (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_base64.py10 eq(base64.encodestring("www.python.org"), "d3d3LnB5dGhvbi5vcmc=\n")
11 eq(base64.encodestring("a"), "YQ==\n")
12 eq(base64.encodestring("ab"), "YWI=\n")
13 eq(base64.encodestring("abc"), "YWJj\n")
14 eq(base64.encodestring(""), "")
15 eq(base64.encodestring("abcdefghijklmnopqrstuvwxyz"
22 eq(base64.encodestring(bytearray('abc')), 'YWJj\n')
Dtest_quopri.py133 self.assertTrue(quopri.encodestring(p) == e)
143 self.assertTrue(quopri.decodestring(quopri.encodestring(e)) == e)
164 self.assertTrue(quopri.encodestring(p, quotetabs=True) == e)
170 self.assertTrue(quopri.encodestring(p, header=True) == e)
Dtest_xmlrpc.py301 de = base64.encodestring(d)
Dtest_urllib2.py1252 auth_hdr_value = 'Basic '+base64.encodestring(userpass).strip()
/external/python/cpython2/Lib/email/
Dencoders.py16 from quopri import encodestring as _encodestring
32 value = base64.encodestring(s)
Dbase64mime.py156 encodestring = encode variable
Dquoprimime.py262 encodestring = encode variable
/external/python/cpython2/Lib/encodings/
Dbase64_codec.py24 output = base64.encodestring(input)
55 return base64.encodestring(input)
/external/python/cpython2/Lib/
Dbase64.py317 def encodestring(s): function
361 s1 = encodestring(s0)
Dquopri.py105 def encodestring(s, quotetabs = 0, header = 0): function
Dxmlrpclib.py1364 auth = base64.encodestring(urllib.unquote(auth))
/external/python/cpython2/Doc/library/
Dbase64.rst150 .. function:: encodestring(s)
154 :func:`encodestring` returns a string containing one or more lines of
Dquopri.rst52 .. function:: encodestring(s[, quotetabs])
Dcodecs.rst1198 …odec | base64, base-64 | Convert operand to | :meth:`base64.encodestring`, |
/external/autotest/client/cros/bluetooth/
Dbluetooth_tester_xmlrpc_server.py320 base64.encodestring(eirdata))