Searched refs:foldspaces (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Lib/ |
D | base64.py | 286 def _85encode(b, chars, chars2, pad=False, foldnuls=False, foldspaces=False): argument 297 b'y' if foldspaces and word == 0x20202020 else 310 def a85encode(b, *, foldspaces=False, wrapcol=0, pad=False, adobe=False): argument 334 result = _85encode(b, _a85chars, _a85chars2, pad, True, foldspaces) 351 def a85decode(b, *, foldspaces=False, adobe=False, ignorechars=b' \t\n\r\v'): argument 404 elif foldspaces and x == b'y'[0]:
|
/external/python/cpython3/Lib/test/ |
D | test_base64.py | 433 eq(base64.a85encode(b' '*8, foldspaces=True, adobe=False), b'yy') 434 eq(base64.a85encode(b' '*7, foldspaces=True, adobe=False), b'y+<Vd') 435 eq(base64.a85encode(b' '*6, foldspaces=True, adobe=False), b'y+<U') 436 eq(base64.a85encode(b' '*5, foldspaces=True, adobe=False), b'y+9') 509 eq(base64.a85decode(b'yy', foldspaces=True, adobe=False), b' '*8) 510 eq(base64.a85decode(b'y+<Vd', foldspaces=True, adobe=False), b' '*7) 511 eq(base64.a85decode(b'y+<U', foldspaces=True, adobe=False), b' '*6) 512 eq(base64.a85decode(b'y+9', foldspaces=True, adobe=False), b' '*5)
|
/external/python/cpython3/Doc/library/ |
D | base64.rst | 159 .. function:: a85encode(b, *, foldspaces=False, wrapcol=0, pad=False, adobe=False) 164 *foldspaces* is an optional flag that uses the special short sequence 'y' 181 .. function:: a85decode(b, *, foldspaces=False, adobe=False, ignorechars=b' \\t\\n\\r\\v') 186 *foldspaces* is a flag that specifies whether the 'y' short sequence
|