Searched refs:b64decode (Results 1 - 22 of 22) sorted by relevance

/external/skia/tools/
H A Dretrieve_from_googlesource.py30 return base64.b64decode(f.read())
/external/skqp/tools/
H A Dretrieve_from_googlesource.py30 return base64.b64decode(f.read())
/external/python/cpython2/Lib/test/
H A Dtest_base64.py107 eq(base64.b64decode("d3d3LnB5dGhvbi5vcmc="), "www.python.org")
108 eq(base64.b64decode('AA=='), '\x00')
109 eq(base64.b64decode("YQ=="), "a")
110 eq(base64.b64decode("YWI="), "ab")
111 eq(base64.b64decode("YWJj"), "abc")
112 eq(base64.b64decode("YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXpBQkNE"
118 eq(base64.b64decode(''), '')
120 eq(base64.b64decode('01a*b$cd', altchars='*$'), '\xd3V\xbeo\xf7\x1d')
122 eq(base64.b64decode(bytearray("YWJj")), "abc")
143 self.assertRaises(TypeError, base64.b64decode, 'ab
[all...]
/external/v8/tools/testrunner/server/
H A Dsignatures.py52 f.write(base64.b64decode(file_contents))
55 f.write(base64.b64decode(signature))
/external/skia/experimental/tools/
H A Dgenerate-unicode-test-txt51 base64.b64decode(valid_codepoint_data)))
/external/skqp/experimental/tools/
H A Dgenerate-unicode-test-txt51 base64.b64decode(valid_codepoint_data)))
/external/python/cpython3/Lib/test/
H A Dtest_base64.py201 eq(base64.b64decode(data), res)
202 eq(base64.b64decode(data.decode('ascii')), res)
204 self.check_other_types(base64.b64decode, b"YWJj", b"abc")
205 self.check_decode_type_errors(base64.b64decode)
214 eq(base64.b64decode(data, altchars=altchars), res)
215 eq(base64.b64decode(data_str, altchars=altchars), res)
216 eq(base64.b64decode(data, altchars=altchars_str), res)
217 eq(base64.b64decode(data_str, altchars=altchars_str), res)
240 self.assertRaises(binascii.Error, base64.b64decode, b'abc')
241 self.assertRaises(binascii.Error, base64.b64decode, 'ab
[all...]
/external/python/cpython3/Lib/email/
H A D_encoded_words.py109 return base64.b64decode(padded_encoded, validate=True), defects
118 return base64.b64decode(encoded+b'='*i, validate=False), defects
/external/python/cpython2/Lib/
H A Dbase64.py18 'b64encode', 'b64decode', 'b32encode', 'b32decode',
61 def b64decode(s, altchars=None):
97 return b64decode(s)
120 return b64decode(s.translate(_urlsafe_decode_translation))
60 def b64decode(s, altchars=None): function
/external/autotest/client/site_tests/documentscan_AppTestWithFakeLorgnette/
H A Ddocumentscan_AppTestWithFakeLorgnette.py123 data = base64.b64decode(base64_data)
/external/python/cpython3/Lib/
H A Dbase64.py18 'b64encode', 'b64decode', 'b32encode', 'b32decode',
65 def b64decode(s, altchars=None, validate=False): function
105 return b64decode(s)
133 return b64decode(s)
/external/autotest/server/cros/
H A Dsonic_client_utils.py52 pub_key_der = base64.b64decode(pub_key_pem)
/external/fonttools/Lib/fontTools/ttLib/tables/
H A DD_S_I_G_.py131 self.pkcs7 = base64.b64decode(tobytes(strjoin(filter(pem_spam, content))))
/external/fonttools/Tools/fontTools/ttLib/tables/
H A DD_S_I_G_.py131 self.pkcs7 = base64.b64decode(tobytes(strjoin(filter(pem_spam, content))))
/external/autotest/client/site_tests/network_DestinationVerification/
H A Dnetwork_DestinationVerification.py234 message.signed_data = base64.b64decode(sign_bundle['signed_data'])
/external/autotest/client/site_tests/video_MediaRecorderPerf/
H A Dvideo_MediaRecorderPerf.py148 video_byte_array = bytearray(base64.b64decode(video_buffer))
/external/toolchain-utils/cros_utils/
H A Dbuildbot_utils.py149 data = [base64.b64decode(item['data']) for item in o['builds']]
/external/libyuv/files/tools_libyuv/autoroller/
H A Droll_deps.py155 return base64.b64decode(base64_content[0])
/external/webrtc/tools/autoroller/
H A Droll_chromium_revision.py143 return base64.b64decode(base64_content[0])
/external/protobuf/python/google/protobuf/
H A Djson_format.py551 return base64.b64decode(value)
/external/curl/tests/python_dependencies/impacket/
H A Dntlm.py938 msg = base64.b64decode(msg_64[5:]) # Remove the 'NTLM '
/external/scapy/scapy/layers/tls/
H A Dcert.py89 der_string = base64.b64decode(base64_string)

Completed in 665 milliseconds