Searched defs:BytesIO (Results 1 - 22 of 22) sorted by relevance

/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph_tests/
H A Dtest_util.py8 from io import BytesIO namespace
10 from cStringIO import StringIO as BytesIO namespace
34 fp = BytesIO(b"# coding: utf-8")
37 fp = BytesIO(b"\n# coding: utf-8")
40 fp = BytesIO(b"# coding: latin-1")
43 fp = BytesIO(b"\n# coding: latin-1")
46 fp = BytesIO(b"#!/usr/bin/env/python\n# vim: set fileencoding=latin-1 :")
49 fp = BytesIO(b"\n\n\n# coding: latin-1")
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/tests/
H A Dtest_bigfile.py5 from StringIO import StringIO as BytesIO namespace
7 from io import BytesIO namespace
22 infile = BytesIO(message)
23 outfile = BytesIO()
30 cryptfile = BytesIO(crypto)
31 clearfile = BytesIO()
49 msgfile = BytesIO(b('123456Sybren'))
57 msgfile = BytesIO(b('123456sybren'))
H A Dtest_varblock.py5 from StringIO import StringIO as BytesIO namespace
7 from io import BytesIO namespace
19 infile = BytesIO(encoded)
33 infile = BytesIO(encoded)
47 outfile = BytesIO()
58 outfile = BytesIO()
69 infile = BytesIO(b('\x01\x0512345\x06Sybren'))
78 infile = BytesIO(b('123456Sybren'))
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph/
H A Dutil.py17 from StringIO import StringIO as BytesIO namespace
21 from io import BytesIO, StringIO namespace
84 fp = BytesIO(imp.get_magic() + b'\0\0\0\0' + marshal.dumps(co))
H A Dmodulegraph.py34 from StringIO import StringIO as BytesIO namespace
42 from io import BytesIO, StringIO namespace
146 return BytesIO(
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/
H A Dcompat.py51 from boto.vendored.six import BytesIO, StringIO namespace
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/builder/
H A D_lxml.py6 from io import BytesIO namespace
104 markup = BytesIO(markup)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/
H A Dtest_utils.py29 from boto.compat import BytesIO, six, StringIO namespace
163 # Compute a hash from a file-like BytesIO object.
164 f = BytesIO(self._gen_data())
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/
H A Dtest_stream.py6 from io import BytesIO namespace
16 fp = BufferedStream(BytesIO(s))
21 fp = BufferedStream(BytesIO(b"abcdef"))
32 fp = BufferedStream(BytesIO(b"abcdef"))
43 fp = BufferedStream(BytesIO(b"abcdef"))
59 fp = BufferedStream(BytesIO(b"abcdef"))
166 return BytesIO(b"HTTP/1.1 200 Ok\r\n\r\nText")
/external/opencv3/3rdparty/jinja2/
H A D_compat.py31 from io import BytesIO, StringIO namespace
60 from cStringIO import StringIO as BytesIO, StringIO namespace
61 NativeStringIO = BytesIO
H A Dbccache.py24 from jinja2._compat import BytesIO, pickle, PY2, text_type namespace
100 self.load_bytecode(BytesIO(string))
104 out = BytesIO()
/external/chromium-trace/catapult/third_party/webtest/webtest/
H A Dapp.py22 from six import BytesIO namespace
731 req.environ['wsgi.input'] = BytesIO(params)
/external/chromium-trace/catapult/third_party/apiclient/googleapiclient/
H A Dhttp.py27 from six import BytesIO, StringIO namespace
266 fh = BytesIO('...Some data to upload...')
472 fd = BytesIO(body)
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/
H A Dinputstream.py15 from io import BytesIO namespace
17 BytesIO = StringIO variable
453 stream = BytesIO(source)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/
H A Dkey.py34 from boto.compat import BytesIO, six, urllib, encodebytes namespace
1423 fp = BytesIO(string_data)
1779 fp = BytesIO()
H A Dbucket.py51 from boto.compat import BytesIO, six, StringIO, urllib namespace
705 fp = BytesIO(data)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/vendored/
H A Dsix.py583 BytesIO = io.BytesIO variable
599 StringIO = BytesIO = StringIO.StringIO
/external/protobuf/python/google/protobuf/internal/
H A Dpython_message.py60 from cStringIO import StringIO as BytesIO namespace
62 from StringIO import StringIO as BytesIO namespace
65 from io import BytesIO namespace
822 out = BytesIO()
/external/chromium-trace/catapult/third_party/WebOb/webob/
H A Dresponse.py979 from io import BytesIO namespace
980 gzip_f = GzipFile(filename='', mode='r', fileobj=BytesIO(self.body))
/external/chromium-trace/catapult/third_party/gsutil/third_party/six/
H A Dsix.py612 BytesIO = io.BytesIO variable
630 StringIO = BytesIO = StringIO.StringIO
/external/chromium-trace/catapult/third_party/six/
H A Dsix.py633 BytesIO = io.BytesIO variable
658 StringIO = BytesIO = StringIO.StringIO
/external/chromium-trace/catapult/telemetry/third_party/png/
H A Dpng.py2423 # (For an in-memory binary file IO object) We use BytesIO where
2424 # available, otherwise we use StringIO, but name it BytesIO.
2426 from io import BytesIO namespace
2428 from StringIO import StringIO as BytesIO namespace
2448 f = BytesIO()
2517 f = BytesIO()
2532 f = BytesIO()
2547 f = BytesIO()
2562 f = BytesIO()
2653 s = BytesIO()
[all...]

Completed in 5832 milliseconds