Searched refs:standard_b64encode (Results 1 – 18 of 18) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_base64.py | 85 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/ |
D | test_base64.py | 161 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/ |
D | upload.py | 12 from base64 import standard_b64encode 141 auth = "Basic " + standard_b64encode(user_pass).decode('ascii')
|
/external/python/cpython2/Lib/distutils/command/ |
D | upload.py | 8 from base64 import standard_b64encode 136 auth = "Basic " + standard_b64encode(self.username + ":" +
|
/external/python/setuptools/setuptools/command/ |
D | upload_docs.py | 8 from base64 import standard_b64encode 155 credentials = standard_b64encode(credentials)
|
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/ |
D | style_sheet_unittest.py | 41 """ % base64.standard_b64encode('hello world'), inlined)
|
D | style_sheet.py | 57 data = base64.standard_b64encode(image.contents)
|
/external/python/rsa/rsa/ |
D | pem.py | 116 b64 = base64.standard_b64encode(contents).replace(b'\n', b'')
|
/external/python/cpython2/Lib/ |
D | base64.py | 81 def standard_b64encode(s): function
|
D | ssl.py | 990 f = base64.standard_b64encode(der_cert_bytes).decode('ascii')
|
/external/autotest/server/cros/bluetooth/ |
D | bluetooth_device.py | 686 uuid, address, base64.standard_b64encode(bytes_to_write))
|
/external/python/cpython3/Lib/ |
D | base64.py | 90 def standard_b64encode(s): function
|
D | ssl.py | 1264 f = str(base64.standard_b64encode(der_cert_bytes), 'ASCII', 'strict')
|
/external/python/cpython2/Doc/library/ |
D | base64.rst | 54 .. function:: standard_b64encode(s)
|
/external/python/cpython3/Doc/library/ |
D | base64.rst | 82 .. function:: standard_b64encode(s)
|
/external/autotest/client/cros/bluetooth/ |
D | bluetooth_device_xmlrpc_server.py | 27 return base64.standard_b64encode(bytearray(dbus_byte_array))
|
/external/autotest/client/bin/ |
D | utils.py | 2587 return recursive_func(obj, base64.standard_b64encode, encode_types)
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 1002 auth_str = base64.standard_b64encode(credentials).decode()
|