/external/python/cpython3/Lib/email/mime/ |
H A D | audio.py | 11 from io import BytesIO namespace 34 fakefile = BytesIO(hdr)
|
/external/python/cpython3/Lib/encodings/ |
H A D | quopri_codec.py | 8 from io import BytesIO namespace 12 f = BytesIO(input) 13 g = BytesIO() 19 f = BytesIO(input) 20 g = BytesIO()
|
H A D | uu_codec.py | 12 from io import BytesIO namespace 18 infile = BytesIO(input) 19 outfile = BytesIO() 35 infile = BytesIO(input) 36 outfile = BytesIO()
|
/external/scapy/test/tls/ |
H A D | travis_test_server.py | 19 from io import BytesIO, StringIO namespace 32 new_out, new_err = (StringIO(), StringIO()) if six.PY3 else (BytesIO(), BytesIO())
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
H A D | decode_compressed_op_test.py | 24 from six import BytesIO namespace 40 out = BytesIO()
|
/external/python/cpython3/Lib/ |
H A D | quopri.py | 109 from io import BytesIO namespace 110 infp = BytesIO(s) 111 outfp = BytesIO() 163 from io import BytesIO namespace 164 infp = BytesIO(s) 165 outfp = BytesIO()
|
H A D | shelve.py | 60 from io import BytesIO namespace 113 f = BytesIO(self.dict[key.encode(self.keyencoding)]) 122 f = BytesIO() 194 f = BytesIO(value) 199 f = BytesIO(value) 204 f = BytesIO(value) 209 f = BytesIO(value) 214 f = BytesIO(value)
|
H A D | xdrlib.py | 8 from io import BytesIO namespace 54 self.__buf = BytesIO()
|
H A D | cgi.py | 34 from io import StringIO, BytesIO, TextIOWrapper namespace 462 fp = BytesIO(qs) 768 self.file = self.__file = BytesIO() # store data as bytes for files
|
H A D | socketserver.py | 787 from io import BytesIO namespace 789 self.rfile = BytesIO(self.packet) 790 self.wfile = BytesIO()
|
H A D | plistlib.py | 59 from io import BytesIO namespace 187 return load(BytesIO(data), fmt=None, use_builtin_types=False, 199 f = BytesIO() 1004 fp = BytesIO(value) 1023 fp = BytesIO()
|
/external/python/cpython3/Lib/wsgiref/ |
H A D | util.py | 145 from io import StringIO, BytesIO namespace 146 environ.setdefault('wsgi.input', BytesIO())
|
/external/python/cpython3/Lib/distutils/tests/ |
H A D | test_cygwinccompiler.py | 5 from io import BytesIO namespace 23 self.stdout = BytesIO(exes[self.cmd])
|
/external/python/cpython3/Lib/test/ |
H A D | test_getpass.py | 4 from io import BytesIO, StringIO, TextIOWrapper namespace 74 stream = TextIOWrapper(BytesIO(), encoding="ascii") 131 fileio.return_value = BytesIO()
|
H A D | multibytecodec_support.py | 13 from io import BytesIO namespace 177 istream = UTF8Reader(BytesIO(self.tstring[1])) 178 ostream = BytesIO() 197 istream = BytesIO(self.tstring[0]) 198 ostream = UTF8Writer(BytesIO()) 235 istream = self.reader(BytesIO(self.tstring[0])) 236 ostream = UTF8Writer(BytesIO()) 255 istream = UTF8Reader(BytesIO(self.tstring[1])) 256 ostream = self.writer(BytesIO()) 276 stream = BytesIO() [all...] |
H A D | test_base64.py | 69 from io import BytesIO, StringIO namespace 70 infp = BytesIO(b'abcdefghijklmnopqrstuvwxyz' 73 outfp = BytesIO() 80 self.assertRaises(TypeError, base64.encode, StringIO('abc'), BytesIO()) 81 self.assertRaises(TypeError, base64.encode, BytesIO(b'abc'), StringIO()) 85 from io import BytesIO, StringIO namespace 86 infp = BytesIO(b'd3d3LnB5dGhvbi5vcmc=') 87 outfp = BytesIO() 91 self.assertRaises(TypeError, base64.encode, StringIO('YWJj\n'), BytesIO()) 92 self.assertRaises(TypeError, base64.encode, BytesIO( [all...] |
H A D | test_cgi.py | 9 from io import StringIO, BytesIO namespace 43 fp = BytesIO(buf.encode('latin-1')) # FieldStorage expects bytes 112 fake_stdin = BytesIO(data.encode(encoding)) 125 fp = BytesIO(POSTDATA.encode('latin1')) 240 fp = BytesIO(POSTDATA.encode('latin-1')) 259 fp = BytesIO(b"\r\n" + POSTDATA.encode('latin-1')) 277 fp = BytesIO(POSTDATA_NON_ASCII.encode(encoding)) 315 fp = BytesIO(POSTDATA_W3.encode('latin-1')) 342 fp = BytesIO(POSTDATA.encode('latin-1')) 349 fp = BytesIO( [all...] |
H A D | test_plistlib.py | 11 from io import BytesIO namespace 219 b = BytesIO() 222 pl2 = plistlib.load(BytesIO(b.getvalue()), fmt=fmt) 224 pl2 = plistlib.load(BytesIO(b.getvalue())) 236 b = BytesIO() 239 pl2 = plistlib.load(BytesIO(b.getvalue()), 273 b = BytesIO() 290 fp = BytesIO()
|
/external/python/cpython3/Lib/test/test_json/ |
H A D | test_decode.py | 2 from io import StringIO, BytesIO namespace
|
/external/libmojo/third_party/jinja2/ |
H A D | _compat.py | 31 from io import BytesIO, StringIO namespace 60 from cStringIO import StringIO as BytesIO, StringIO namespace 61 NativeStringIO = BytesIO
|
H A D | bccache.py | 24 from jinja2._compat import BytesIO, pickle, PY2, text_type namespace 100 self.load_bytecode(BytesIO(string)) 104 out = BytesIO()
|
/external/python/cpython3/Lib/email/ |
H A D | generator.py | 15 from io import StringIO, BytesIO namespace 143 # BytesGenerator overrides this to return BytesIO. 411 return BytesIO()
|
H A D | message.py | 12 from io import BytesIO, StringIO namespace 178 fp = BytesIO() 293 in_file = BytesIO(bpayload) 294 out_file = BytesIO()
|
/external/scapy/scapy/modules/krack/ |
H A D | crypto.py | 3 from io import BytesIO namespace 255 payload = BytesIO(pkt[Raw].load)
|
/external/python/cpython2/Lib/ |
H A D | _pyio.py | 152 opened in a text mode, and for bytes a BytesIO can be used like a file 792 class BytesIO(BufferedIOBase): class in inherits:BufferedIOBase 1998 super(StringIO, self).__init__(BytesIO(),
|