Searched refs:b32decode (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_base64.py | 178 eq(base64.b32decode(''), '') 179 eq(base64.b32decode('AA======'), '\x00') 180 eq(base64.b32decode('ME======'), 'a') 181 eq(base64.b32decode('MFRA===='), 'ab') 182 eq(base64.b32decode('MFRGG==='), 'abc') 183 eq(base64.b32decode('MFRGGZA='), 'abcd') 184 eq(base64.b32decode('MFRGGZDF'), 'abcde') 186 self.assertRaises(TypeError, base64.b32decode, bytearray('MFRGG===')) 190 eq(base64.b32decode('', True), '') 191 eq(base64.b32decode('ME======', True), 'a') [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_base64.py | 291 eq(base64.b32decode(data), res) 292 eq(base64.b32decode(data.decode('ascii')), res) 294 self.check_other_types(base64.b32decode, b'MFRGG===', b"abc") 295 self.check_decode_type_errors(base64.b32decode) 314 eq(base64.b32decode(data, True), res) 315 eq(base64.b32decode(data.decode('ascii'), True), res) 317 self.assertRaises(binascii.Error, base64.b32decode, b'me======') 318 self.assertRaises(binascii.Error, base64.b32decode, 'me======') 321 eq(base64.b32decode(b'MLO23456'), b'b\xdd\xad\xf3\xbe') 322 eq(base64.b32decode('MLO23456'), b'b\xdd\xad\xf3\xbe') [all …]
|
/external/python/cpython2/Lib/ |
D | base64.py | 184 def b32decode(s, casefold=False, map01=None): function
|
/external/python/cpython3/Lib/ |
D | base64.py | 180 def b32decode(s, casefold=False, map01=None): function
|
/external/python/cpython2/Doc/library/ |
D | base64.rst | 85 .. function:: b32decode(s[, casefold[, map01]])
|
/external/python/cpython3/Doc/library/ |
D | base64.rst | 118 .. function:: b32decode(s, casefold=False, map01=None)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.4.rst | 2366 * :func:`base64.b32decode` now raises a :exc:`binascii.Error` when the
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.8.0a1.rst | 3840 :func:`base64.b32decode` could raise UnboundLocalError or OverflowError for
|
/external/python/cpython3/Misc/ |
D | HISTORY | 4932 - Issue #18011: As was originally intended, base64.b32decode() now raises a 4957 Optimize base64.b32encode() and base64.b32decode() (speed up to 3x).
|