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.py153 eq(base64.standard_b64encode(b"www.python.org"), b"d3d3LnB5dGhvbi5vcmc=")
154 eq(base64.standard_b64encode(b"a"), b"YQ==")
155 eq(base64.standard_b64encode(b"ab"), b"YWI=")
156 eq(base64.standard_b64encode(b"abc"), b"YWJj")
157 eq(base64.standard_b64encode(b""), b"")
158 eq(base64.standard_b64encode(b"abcdefghijklmnopqrstuvwxyz"
165 self.check_other_types(base64.standard_b64encode,
167 self.check_encode_type_errors(base64.standard_b64encode)
/external/python/cpython3/Lib/distutils/command/
Dupload.py11 from base64 import standard_b64encode
155 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.py122 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.py1415 uuid, address, base64.standard_b64encode(bytes_to_write))
1434 base64.standard_b64encode(bytes_to_write))
/external/python/cpython3/Lib/
Dbase64.py90 def standard_b64encode(s): function
Dssl.py1450 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/bin/
Dutils.py2284 return recursive_func(obj, base64.standard_b64encode, encode_types)
/external/autotest/client/cros/multimedia/
Dbluetooth_facade_native.py55 return base64.standard_b64encode(bytearray(dbus_byte_array))
/external/python/cpython3/Lib/urllib/
Drequest.py1026 auth_str = base64.standard_b64encode(credentials).decode()