Searched refs:encodestring (Results 1 – 15 of 15) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_base64.py | 10 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')
|
D | test_quopri.py | 133 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)
|
D | test_xmlrpc.py | 301 de = base64.encodestring(d)
|
D | test_urllib2.py | 1252 auth_hdr_value = 'Basic '+base64.encodestring(userpass).strip()
|
/external/python/cpython2/Lib/email/ |
D | encoders.py | 16 from quopri import encodestring as _encodestring 32 value = base64.encodestring(s)
|
D | base64mime.py | 156 encodestring = encode variable
|
D | quoprimime.py | 262 encodestring = encode variable
|
/external/python/cpython2/Lib/encodings/ |
D | base64_codec.py | 24 output = base64.encodestring(input) 55 return base64.encodestring(input)
|
/external/python/cpython2/Lib/ |
D | base64.py | 317 def encodestring(s): function 361 s1 = encodestring(s0)
|
D | quopri.py | 105 def encodestring(s, quotetabs = 0, header = 0): function
|
D | xmlrpclib.py | 1364 auth = base64.encodestring(urllib.unquote(auth))
|
/external/python/cpython2/Doc/library/ |
D | base64.rst | 150 .. function:: encodestring(s) 154 :func:`encodestring` returns a string containing one or more lines of
|
D | quopri.rst | 52 .. function:: encodestring(s[, quotetabs])
|
D | codecs.rst | 1198 …odec | base64, base-64 | Convert operand to | :meth:`base64.encodestring`, |
|
/external/autotest/client/cros/bluetooth/ |
D | bluetooth_tester_xmlrpc_server.py | 320 base64.encodestring(eirdata))
|