OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:encodebytes
(Results
1 - 8
of
8
) sorted by null
/external/python/cpython3/Lib/encodings/
base64_codec.py
15
return (base64.
encodebytes
(input), len(input))
30
return base64.
encodebytes
(input)
/external/python/cpython3/Lib/email/
encoders.py
15
from base64 import
encodebytes
as _bencode
/external/python/cpython3/Lib/test/
test_base64.py
31
eq(base64.
encodebytes
(b"www.python.org"), b"d3d3LnB5dGhvbi5vcmc=\n")
32
eq(base64.
encodebytes
(b"a"), b"YQ==\n")
33
eq(base64.
encodebytes
(b"ab"), b"YWI=\n")
34
eq(base64.
encodebytes
(b"abc"), b"YWJj\n")
35
eq(base64.
encodebytes
(b""), b"")
36
eq(base64.
encodebytes
(b"abcdefghijklmnopqrstuvwxyz"
43
eq(base64.
encodebytes
(bytearray(b'abc')), b'YWJj\n')
44
eq(base64.
encodebytes
(memoryview(b'abc')), b'YWJj\n')
45
eq(base64.
encodebytes
(array('B', b'abc')), b'YWJj\n')
46
self.check_type_errors(base64.
encodebytes
)
[
all
...]
test_xmlrpc.py
480
de = base64.
encodebytes
(d)
[
all
...]
test_urllib2.py
[
all
...]
/external/scapy/scapy/
compat.py
135
return base64.
encodebytes
(raw(x)).replace(b'\n', b'')
/external/python/cpython3/Lib/
base64.py
16
'encode', 'decode', '
encodebytes
', 'decodebytes',
531
def
encodebytes
(s):
function
542
"""Legacy alias of
encodebytes
()."""
545
"use
encodebytes
()",
547
return
encodebytes
(s)
594
s1 =
encodebytes
(s0)
/external/python/cpython3/Lib/xmlrpc/
client.py
412
encoded = base64.
encodebytes
(self.data)
563
encoded = base64.
encodebytes
(value)
[
all
...]
Completed in 387 milliseconds