/external/python/cpython2/Lib/test/ |
D | test_base64.py | 105 eq(base64.b64decode("d3d3LnB5dGhvbi5vcmc="), "www.python.org") 106 eq(base64.b64decode('AA=='), '\x00') 107 eq(base64.b64decode("YQ=="), "a") 108 eq(base64.b64decode("YWI="), "ab") 109 eq(base64.b64decode("YWJj"), "abc") 110 eq(base64.b64decode("YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXpBQkNE" 116 eq(base64.b64decode(''), '') 118 eq(base64.b64decode('01a*b$cd', altchars='*$'), '\xd3V\xbeo\xf7\x1d') 120 eq(base64.b64decode(bytearray("YWJj")), "abc") 141 self.assertRaises(TypeError, base64.b64decode, 'abc') [all …]
|
/external/python/pyasn1-modules/pyasn1_modules/ |
D | pem.py | 42 substrate = ''.join([base64.b64decode(x) for x in certLines]) 44 substrate = ''.encode().join([base64.b64decode(x.encode()) for x in certLines]) 59 return base64.b64decode(text) 61 return base64.b64decode(text.encode())
|
/external/python/cpython3/Lib/test/ |
D | test_base64.py | 193 eq(base64.b64decode(data), res) 194 eq(base64.b64decode(data.decode('ascii')), res) 196 self.check_other_types(base64.b64decode, b"YWJj", b"abc") 197 self.check_decode_type_errors(base64.b64decode) 206 eq(base64.b64decode(data, altchars=altchars), res) 207 eq(base64.b64decode(data_str, altchars=altchars), res) 208 eq(base64.b64decode(data, altchars=altchars_str), res) 209 eq(base64.b64decode(data_str, altchars=altchars_str), res) 232 self.assertRaises(binascii.Error, base64.b64decode, b'abc') 233 self.assertRaises(binascii.Error, base64.b64decode, 'abc') [all …]
|
/external/python/cpython3/Lib/email/ |
D | _encoded_words.py | 107 base64.b64decode(encoded + missing_padding, validate=True), 118 base64.b64decode(encoded, validate=False), 126 base64.b64decode(encoded + b'==', validate=False),
|
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/ta_prod_signing_scripts/ |
D | stitch_ta.py | 82 dig = base64.b64decode(dig_in.read()) 90 sig = base64.b64decode(f.read())
|
/external/python/cpython2/Lib/ |
D | base64.py | 60 def b64decode(s, altchars=None): function 96 return b64decode(s) 119 return b64decode(s.translate(_urlsafe_decode_translation))
|
/external/skia/tools/ |
D | retrieve_from_googlesource.py | 30 return base64.b64decode(f.read())
|
/external/skqp/tools/ |
D | retrieve_from_googlesource.py | 30 return base64.b64decode(f.read())
|
/external/fonttools/Tests/ttLib/tables/ |
D | C_B_L_C_test.py | 14 CBLC_INDEX_FORMAT_3 = base64.b64decode(
|
/external/oss-fuzz/infra/build/functions/ |
D | request_coverage_build.py | 42 project_name = base64.b64decode(event['data']).decode('utf-8')
|
D | request_build.py | 105 project_name = base64.b64decode(event['data']).decode('utf-8')
|
/external/skia/experimental/tools/ |
D | generate-unicode-test-txt | 65 base64.b64decode(valid_codepoint_data))).tolist():
|
/external/skqp/experimental/tools/ |
D | generate-unicode-test-txt | 65 base64.b64decode(valid_codepoint_data))).tolist():
|
/external/python/oauth2client/oauth2client/contrib/django_util/ |
D | models.py | 51 return pickle.loads(base64.b64decode(encoding.smart_bytes(value)))
|
/external/perfetto/infra/perfetto-get.appspot.com/ |
D | main.py | 57 contents = base64.b64decode(result.content)
|
/external/python/cpython3/Lib/ |
D | base64.py | 65 def b64decode(s, altchars=None, validate=False): function 105 return b64decode(s) 133 return b64decode(s)
|
/external/autotest/client/site_tests/platform_DebugDaemonPerfDataInFeedbackLogs/ |
D | platform_DebugDaemonPerfDataInFeedbackLogs.py | 104 compressed_data = base64.b64decode(perf_data)
|
/external/fonttools/Lib/fontTools/misc/plistlib/ |
D | __init__.py | 19 from base64 import b64encode, b64decode 109 return cls(b64decode(data)) 299 self.add_object(b64decode(self.get_data()))
|
/external/autotest/client/site_tests/documentscan_AppTestWithFakeLorgnette/ |
D | documentscan_AppTestWithFakeLorgnette.py | 123 data = base64.b64decode(base64_data)
|
/external/python/cryptography/src/cryptography/hazmat/primitives/serialization/ |
D | ssh.py | 40 decoded_data = base64.b64decode(key_body)
|
/external/python/asn1crypto/asn1crypto/ |
D | pem.py | 174 der_bytes = base64.b64decode(base64_data)
|
/external/mesa3d/bin/ |
D | khronos-update.py | 34 content = base64.b64decode(req.content)
|
/external/python/pyasn1/docs/source/ |
D | example-use-case.rst | 95 from base64 import b64decode 104 der_serialisation = b64decode(b64_serialisation)
|
/external/python/dateutil/dateutil/test/ |
D | test_tz.py | 1958 tzc = tz.tzfile(BytesIO(base64.b64decode(TZFILE_EST5EDT))) 1963 tzc = tz.tzfile(BytesIO(base64.b64decode(TZFILE_EST5EDT))) 1971 tzc = tz.tzfile(BytesIO(base64.b64decode(TZFILE_EST5EDT))) 1990 fileobj = BytesIO(base64.b64decode(TZFILE_EST5EDT)) 2005 fileobj = BytesIO(base64.b64decode(NEW_YORK)) 2015 tzc = tz.tzfile(BytesIO(base64.b64decode(NEW_YORK))) 2060 tzc = tz.tzfile(BytesIO(base64.b64decode(EUROPE_HELSINKI))) 2071 tzc = tz.tzfile(BytesIO(base64.b64decode(EUROPE_HELSINKI))) 2371 tzc = tz.tzfile(BytesIO(base64.b64decode(TZFILE_EST5EDT))) 2375 tzc = tz.tzfile(BytesIO(base64.b64decode(EUROPE_HELSINKI))) [all …]
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | D_S_I_G_.py | 130 self.pkcs7 = base64.b64decode(tobytes(strjoin(filter(pem_spam, content))))
|