Home
last modified time | relevance | path

Searched refs:standard_b64encode (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_base64.py85 eq(base64.standard_b64encode("www.python.org"), "d3d3LnB5dGhvbi5vcmc=")
86 eq(base64.standard_b64encode("a"), "YQ==")
87 eq(base64.standard_b64encode("ab"), "YWI=")
88 eq(base64.standard_b64encode("abc"), "YWJj")
89 eq(base64.standard_b64encode(""), "")
90 eq(base64.standard_b64encode("abcdefghijklmnopqrstuvwxyz"
97 eq(base64.standard_b64encode(bytearray('abcd')), 'YWJjZA==')
/external/python/cpython3/Lib/test/
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/python/cpython3/Lib/distutils/command/
Dupload.py12 from base64 import standard_b64encode
141 auth = "Basic " + standard_b64encode(user_pass).decode('ascii')
/external/python/cpython2/Lib/distutils/command/
Dupload.py8 from base64 import standard_b64encode
136 auth = "Basic " + standard_b64encode(self.username + ":" +
/external/python/setuptools/setuptools/command/
Dupload_docs.py8 from base64 import standard_b64encode
155 credentials = standard_b64encode(credentials)
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
Dstyle_sheet_unittest.py41 """ % base64.standard_b64encode('hello world'), inlined)
Dstyle_sheet.py57 data = base64.standard_b64encode(image.contents)
/external/python/rsa/rsa/
Dpem.py116 b64 = base64.standard_b64encode(contents).replace(b'\n', b'')
/external/python/cpython2/Lib/
Dbase64.py81 def standard_b64encode(s): function
Dssl.py990 f = base64.standard_b64encode(der_cert_bytes).decode('ascii')
/external/autotest/server/cros/bluetooth/
Dbluetooth_device.py686 uuid, address, base64.standard_b64encode(bytes_to_write))
/external/python/cpython3/Lib/
Dbase64.py90 def standard_b64encode(s): function
Dssl.py1264 f = str(base64.standard_b64encode(der_cert_bytes), 'ASCII', 'strict')
/external/python/cpython2/Doc/library/
Dbase64.rst54 .. function:: standard_b64encode(s)
/external/python/cpython3/Doc/library/
Dbase64.rst82 .. function:: standard_b64encode(s)
/external/autotest/client/cros/bluetooth/
Dbluetooth_device_xmlrpc_server.py27 return base64.standard_b64encode(bytearray(dbus_byte_array))
/external/autotest/client/bin/
Dutils.py2587 return recursive_func(obj, base64.standard_b64encode, encode_types)
/external/python/cpython3/Lib/urllib/
Drequest.py1002 auth_str = base64.standard_b64encode(credentials).decode()