OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:altchars
(Results
1 - 8
of
8
) sorted by null
/prebuilts/gdb/darwin-x86/lib/python2.7/
base64.py
32
def _translate(s,
altchars
):
34
for k, v in
altchars
.items():
43
def b64encode(s,
altchars
=None):
46
s is the string to encode. Optional
altchars
must be a string of at least
55
if
altchars
is not None:
56
return _translate(encoded, {'+':
altchars
[0], '/':
altchars
[1]})
60
def b64decode(s,
altchars
=None):
63
s is the string to decode. Optional
altchars
must be a string of at least
71
if
altchars
is not None
[
all
...]
/prebuilts/gdb/linux-x86/lib/python2.7/
base64.py
32
def _translate(s,
altchars
):
34
for k, v in
altchars
.items():
43
def b64encode(s,
altchars
=None):
46
s is the string to encode. Optional
altchars
must be a string of at least
55
if
altchars
is not None:
56
return _translate(encoded, {'+':
altchars
[0], '/':
altchars
[1]})
60
def b64decode(s,
altchars
=None):
63
s is the string to decode. Optional
altchars
must be a string of at least
71
if
altchars
is not None
[
all
...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
base64.py
32
def _translate(s,
altchars
):
34
for k, v in
altchars
.items():
43
def b64encode(s,
altchars
=None):
46
s is the string to encode. Optional
altchars
must be a string of at least
55
if
altchars
is not None:
56
return _translate(encoded, {'+':
altchars
[0], '/':
altchars
[1]})
60
def b64decode(s,
altchars
=None):
63
s is the string to decode. Optional
altchars
must be a string of at least
71
if
altchars
is not None
[
all
...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
base64.py
32
def _translate(s,
altchars
):
34
for k, v in
altchars
.items():
43
def b64encode(s,
altchars
=None):
46
s is the string to encode. Optional
altchars
must be a string of at least
55
if
altchars
is not None:
56
return _translate(encoded, {'+':
altchars
[0], '/':
altchars
[1]})
60
def b64decode(s,
altchars
=None):
63
s is the string to decode. Optional
altchars
must be a string of at least
71
if
altchars
is not None
[
all
...]
/prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_base64.py
81
eq(base64.b64encode('\xd3V\xbeo\xf7\x1d',
altchars
='*$'), '01a*b$cd')
85
'\xd3V\xbeo\xf7\x1d',
altchars
=bytearray('*$'))
120
eq(base64.b64decode('01a*b$cd',
altchars
='*$'), '\xd3V\xbeo\xf7\x1d')
/prebuilts/gdb/linux-x86/lib/python2.7/test/
test_base64.py
81
eq(base64.b64encode('\xd3V\xbeo\xf7\x1d',
altchars
='*$'), '01a*b$cd')
85
'\xd3V\xbeo\xf7\x1d',
altchars
=bytearray('*$'))
120
eq(base64.b64decode('01a*b$cd',
altchars
='*$'), '\xd3V\xbeo\xf7\x1d')
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_base64.py
81
eq(base64.b64encode('\xd3V\xbeo\xf7\x1d',
altchars
='*$'), '01a*b$cd')
85
'\xd3V\xbeo\xf7\x1d',
altchars
=bytearray('*$'))
120
eq(base64.b64decode('01a*b$cd',
altchars
='*$'), '\xd3V\xbeo\xf7\x1d')
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_base64.py
81
eq(base64.b64encode('\xd3V\xbeo\xf7\x1d',
altchars
='*$'), '01a*b$cd')
85
'\xd3V\xbeo\xf7\x1d',
altchars
=bytearray('*$'))
120
eq(base64.b64decode('01a*b$cd',
altchars
='*$'), '\xd3V\xbeo\xf7\x1d')
Completed in 353 milliseconds