Searched refs:BytesIO (Results 1 - 25 of 43) sorted by path

12

/external/autotest/client/common_lib/cros/
H A Davahi_utils.py44 conf.readfp(io.BytesIO(existing_config))
/external/chromium-trace/catapult/firefighter/base/
H A Dbigquery.py62 media_buffer = io.BytesIO()
/external/chromium-trace/catapult/telemetry/third_party/mock/
H A Dmock.py2336 file_spec = list(set(dir(_io.TextIOWrapper)).union(set(dir(_io.BytesIO))))
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph/
H A Dmodulegraph.py34 from StringIO import StringIO as BytesIO namespace
42 from io import BytesIO, StringIO namespace
146 return BytesIO(
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 Dzipio.py55 from io import BytesIO as _BytesIO
/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/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...]
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
H A Dfake_filesystem.py1975 io_class = io.BytesIO
/external/chromium-trace/catapult/third_party/Paste/paste/
H A Dfixture.py244 environ['wsgi.input'] = six.BytesIO(params)
H A Dgzipper.py45 self.buffer = six.BytesIO()
H A Drequest.py178 input = six.BytesIO(b'')
H A Dwsgilib.py287 errors = six.BytesIO()
299 'wsgi.input': six.BytesIO(),
321 basic_environ['wsgi.input'] = six.BytesIO(istream)
/external/chromium-trace/catapult/third_party/Paste/tests/
H A Dtest_gzipper.py18 actual = gzip.GzipFile(fileobj=six.BytesIO(res.body)).read()
H A Dtest_request_form.py21 'wsgi.input': six.BytesIO(body),
/external/chromium-trace/catapult/third_party/WebOb/webob/
H A Drequest.py264 return io.BytesIO()
714 self.body_file_raw = io.BytesIO()
717 self.body_file_raw = io.BytesIO(value)
930 That means that, the content is copied into a BytesIO or temporary
937 The choice to copy to BytesIO is made from
951 This copies the body in-place, either into a BytesIO object
1184 f = io.BytesIO(b)
1460 'wsgi.input': io.BytesIO(),
1503 env['wsgi.input'] = io.BytesIO(data)
1601 self.file = io.BytesIO(bytes
[all...]
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/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/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/boto/
H A Dcompat.py51 from boto.vendored.six import BytesIO, StringIO namespace
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/
H A Dbucket.py51 from boto.compat import BytesIO, six, StringIO, urllib namespace
705 fp = BytesIO(data)
H A Dkey.py34 from boto.compat import BytesIO, six, urllib, encodebytes namespace
1423 fp = BytesIO(string_data)
1779 fp = BytesIO()
/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/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/gsutil/third_party/httplib2/python3/httplib2/
H A D__init__.py330 content = gzip.GzipFile(fileobj=io.BytesIO(new_content)).read()

Completed in 794 milliseconds

12