Home
last modified time | relevance | path

Searched refs:b64decode (Results 1 – 25 of 53) sorted by relevance

123

/external/python/cpython2/Lib/test/
Dtest_base64.py105 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/
Dpem.py42 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/
Dtest_base64.py193 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.py107 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/
Dstitch_ta.py82 dig = base64.b64decode(dig_in.read())
90 sig = base64.b64decode(f.read())
/external/python/cpython2/Lib/
Dbase64.py60 def b64decode(s, altchars=None): function
96 return b64decode(s)
119 return b64decode(s.translate(_urlsafe_decode_translation))
/external/skia/tools/
Dretrieve_from_googlesource.py30 return base64.b64decode(f.read())
/external/skqp/tools/
Dretrieve_from_googlesource.py30 return base64.b64decode(f.read())
/external/fonttools/Tests/ttLib/tables/
DC_B_L_C_test.py14 CBLC_INDEX_FORMAT_3 = base64.b64decode(
/external/oss-fuzz/infra/build/functions/
Drequest_coverage_build.py42 project_name = base64.b64decode(event['data']).decode('utf-8')
Drequest_build.py105 project_name = base64.b64decode(event['data']).decode('utf-8')
/external/skia/experimental/tools/
Dgenerate-unicode-test-txt65 base64.b64decode(valid_codepoint_data))).tolist():
/external/skqp/experimental/tools/
Dgenerate-unicode-test-txt65 base64.b64decode(valid_codepoint_data))).tolist():
/external/python/oauth2client/oauth2client/contrib/django_util/
Dmodels.py51 return pickle.loads(base64.b64decode(encoding.smart_bytes(value)))
/external/perfetto/infra/perfetto-get.appspot.com/
Dmain.py57 contents = base64.b64decode(result.content)
/external/python/cpython3/Lib/
Dbase64.py65 def b64decode(s, altchars=None, validate=False): function
105 return b64decode(s)
133 return b64decode(s)
/external/autotest/client/site_tests/platform_DebugDaemonPerfDataInFeedbackLogs/
Dplatform_DebugDaemonPerfDataInFeedbackLogs.py104 compressed_data = base64.b64decode(perf_data)
/external/fonttools/Lib/fontTools/misc/plistlib/
D__init__.py19 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/
Ddocumentscan_AppTestWithFakeLorgnette.py123 data = base64.b64decode(base64_data)
/external/python/cryptography/src/cryptography/hazmat/primitives/serialization/
Dssh.py40 decoded_data = base64.b64decode(key_body)
/external/python/asn1crypto/asn1crypto/
Dpem.py174 der_bytes = base64.b64decode(base64_data)
/external/mesa3d/bin/
Dkhronos-update.py34 content = base64.b64decode(req.content)
/external/python/pyasn1/docs/source/
Dexample-use-case.rst95 from base64 import b64decode
104 der_serialisation = b64decode(b64_serialisation)
/external/python/dateutil/dateutil/test/
Dtest_tz.py1958 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/
DD_S_I_G_.py130 self.pkcs7 = base64.b64decode(tobytes(strjoin(filter(pem_spam, content))))

123