Home
last modified time | relevance | path

Searched refs:fileobj (Results 1 – 7 of 7) sorted by relevance

/external/libvpx/libvpx/tools/
Dwrap-commit-msg.py42 def main(fileobj): argument
46 line = fileobj.readline()
59 if fileobj == sys.stdin:
60 fileobj = sys.stdout
62 fileobj.seek(0)
63 fileobj.truncate(0)
64 fileobj.write(output)
/external/chromium-trace/trace-viewer/third_party/WebOb/docs/
Dfile-example.txt83 ... self.fileobj = open(self.filename, 'rb')
87 ... chunk = self.fileobj.read(self.chunk_size)
156 ``fileobj.seek(pos)`` to move around the file much more efficiently.
176 ... self.fileobj = open(self.filename, 'rb')
178 ... self.fileobj.seek(start)
188 ... chunk = self.fileobj.read(self.chunk_size)
/external/chromium-trace/trace-viewer/third_party/Paste/tests/
Dtest_gzipper.py18 actual = gzip.GzipFile(fileobj=six.BytesIO(res.body)).read()
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Dgzipper.py76 fileobj=self.buffer)
/external/chromium-trace/trace-viewer/tracing/build/
Dtrace2html.py70 with gzip.GzipFile(fileobj=compressed_trace, mode='w') as f:
/external/chromium-trace/trace-viewer/third_party/WebOb/webob/
Drequest.py977 fileobj = self.make_tempfile()
989 fileobj.write(data)
991 fileobj.seek(0)
992 self.body_file_raw = fileobj
Dresponse.py980 gzip_f = GzipFile(filename='', mode='r', fileobj=BytesIO(self.body))