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 | 153 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/ |
D | upload.py | 11 from base64 import standard_b64encode 155 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 | 122 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 | 1415 uuid, address, base64.standard_b64encode(bytes_to_write)) 1434 base64.standard_b64encode(bytes_to_write))
|
/external/python/cpython3/Lib/ |
D | base64.py | 90 def standard_b64encode(s): function
|
D | ssl.py | 1450 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/bin/ |
D | utils.py | 2284 return recursive_func(obj, base64.standard_b64encode, encode_types)
|
/external/autotest/client/cros/multimedia/ |
D | bluetooth_facade_native.py | 55 return base64.standard_b64encode(bytearray(dbus_byte_array))
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 1026 auth_str = base64.standard_b64encode(credentials).decode()
|