Home
last modified time | relevance | path

Searched refs:decodestring (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_base64.py26 eq(base64.decodestring("d3d3LnB5dGhvbi5vcmc=\n"), "www.python.org")
27 eq(base64.decodestring("YQ==\n"), "a")
28 eq(base64.decodestring("YWI=\n"), "ab")
29 eq(base64.decodestring("YWJj\n"), "abc")
30 eq(base64.decodestring("YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXpBQkNE"
36 eq(base64.decodestring(''), '')
38 eq(base64.decodestring(bytearray("YWJj\n")), "abc")
Dtest_quopri.py138 self.assertTrue(quopri.decodestring(e) == p)
143 self.assertTrue(quopri.decodestring(quopri.encodestring(e)) == e)
165 self.assertTrue(quopri.decodestring(e) == p)
175 self.assertTrue(quopri.decodestring(e, header=True) == p)
Dtest_gettext.py68 fp.write(base64.decodestring(GNU_MO_DATA))
70 fp.write(base64.decodestring(UMO_DATA))
72 fp.write(base64.decodestring(MMO_DATA))
390 fp.write(base64.decodestring(GNU_MO_DATA_ISSUE_17898))
/external/python/cpython2/Lib/encodings/
Dbase64_codec.py42 output = base64.decodestring(input)
60 return base64.decodestring(input)
/external/python/cpython2/Lib/email/
Dutils.py40 from quopri import decodestring as _qdecode
71 return base64.decodestring(s)
Dbase64mime.py183 decodestring = decode variable
Dquoprimime.py317 decodestring = decode variable
/external/python/cpython2/Lib/
Dbase64.py326 def decodestring(s): function
362 s2 = decodestring(s1)
Dquopri.py159 def decodestring(s, header = 0): function
DCGIHTTPServer.py180 authorization = base64.decodestring(authorization[1])
Dmimify.py203 line = base64.decodestring(line)
Dsmtplib.py570 challenge = base64.decodestring(challenge)
Dssl.py1000 return base64.decodestring(d.encode('ASCII', 'strict'))
Dxmlrpclib.py503 self.data = base64.decodestring(data)
Durllib.py603 data = base64.decodestring(data)
/external/autotest/server/cros/bluetooth/
Dbluetooth_tester.py119 base64.decodestring(eirdata))
/external/python/cpython2/Doc/library/
Dquopri.rst46 .. function:: decodestring(s[,header])
Dbase64.rst135 .. function:: decodestring(s)
Dcodecs.rst1199 … | | multiline MIME base64 (the| :meth:`base64.decodestring` |
/external/python/cpython2/Lib/email/test/
Dtest_email_renamed.py911 self.assertEqual(base64.decodestring(payload), self._audiodata)
954 self.assertEqual(base64.decodestring(payload), self._imgdata)
Dtest_email.py1002 self.assertEqual(base64.decodestring(payload), self._audiodata)
1044 self.assertEqual(base64.decodestring(payload), self._imgdata)