Searched refs:standard_b64encode (Results 1 - 15 of 15) sorted by relevance

/external/python/cpython2/Lib/test/
H A Dtest_base64.py87 eq(base64.standard_b64encode("www.python.org"), "d3d3LnB5dGhvbi5vcmc=")
88 eq(base64.standard_b64encode("a"), "YQ==")
89 eq(base64.standard_b64encode("ab"), "YWI=")
90 eq(base64.standard_b64encode("abc"), "YWJj")
91 eq(base64.standard_b64encode(""), "")
92 eq(base64.standard_b64encode("abcdefghijklmnopqrstuvwxyz"
99 eq(base64.standard_b64encode(bytearray('abcd')), 'YWJjZA==')
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
H A Dstyle_sheet_unittest.py41 """ % base64.standard_b64encode('hello world'), inlined)
H A Dstyle_sheet.py57 data = base64.standard_b64encode(image.contents)
/external/skia/infra/bots/android_compile/
H A Dtrigger_wait_ac_task.py58 encoded = base64.standard_b64encode(m.digest())
/external/skqp/infra/bots/android_compile/
H A Dtrigger_wait_ac_task.py58 encoded = base64.standard_b64encode(m.digest())
/external/python/cpython2/Lib/distutils/command/
H A Dupload.py8 from base64 import standard_b64encode namespace
134 auth = "Basic " + standard_b64encode(self.username + ":" +
/external/python/cpython3/Lib/distutils/command/
H A Dupload.py12 from base64 import standard_b64encode namespace
140 auth = "Basic " + standard_b64encode(user_pass).decode('ascii')
/external/python/cpython3/Lib/test/
H A Dtest_base64.py161 eq(base64.standard_b64encode(b"www.python.org"), b"d3d3LnB5dGhvbi5vcmc=")
162 eq(base64.standard_b64encode(b"a"), b"YQ==")
163 eq(base64.standard_b64encode(b"ab"), b"YWI=")
164 eq(base64.standard_b64encode(b"abc"), b"YWJj")
165 eq(base64.standard_b64encode(b""), b"")
166 eq(base64.standard_b64encode(b"abcdefghijklmnopqrstuvwxyz"
173 self.check_other_types(base64.standard_b64encode,
175 self.check_encode_type_errors(base64.standard_b64encode)
/external/autotest/server/cros/bluetooth/
H A Dbluetooth_device.py673 uuid, address, base64.standard_b64encode(bytes_to_write))
/external/python/cpython2/Lib/
H A Dbase64.py21 'standard_b64encode', 'standard_b64decode',
82 def standard_b64encode(s):
81 def standard_b64encode(s): function
H A Dssl.py984 f = base64.standard_b64encode(der_cert_bytes).decode('ascii')
/external/python/cpython3/Lib/
H A Dbase64.py23 'standard_b64encode', 'standard_b64decode',
90 def standard_b64encode(s): function
H A Dssl.py1183 f = str(base64.standard_b64encode(der_cert_bytes), 'ASCII', 'strict')
/external/autotest/client/cros/bluetooth/
H A Dbluetooth_device_xmlrpc_server.py29 return base64.standard_b64encode(bytearray(dbus_byte_array))
/external/python/cpython3/Lib/urllib/
H A Drequest.py1003 auth_str = base64.standard_b64encode(credentials).decode()

Completed in 1634 milliseconds