Home
last modified time | relevance | path

Searched refs:fileobj (Results 1 – 13 of 13) 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/autotest/client/bin/
Dtest_config.py107 fileobj = file(self.cfg, 'w')
109 self.parser.write(fileobj)
111 fileobj.close()
/external/jsoncpp/scons-tools/
Dtargz.py44 fileobj = gzip.GzipFile( target_path, 'wb', compression )
45 tar = tarfile.TarFile(os.path.splitext(target_path)[0], 'w', fileobj)
/external/libmojo/build/android/gyp/util/
Dmd5_check.py253 def FromFile(cls, fileobj): argument
256 obj = json.load(fileobj)
263 def ToFile(self, fileobj): argument
271 json.dump(obj, fileobj, indent=2)
/external/autotest/client/cros/
Dkernel_config.py147 fileobj = self._open_config()
150 for item in fileobj.readlines():
/external/autotest/client/site_tests/platform_DebugDaemonGetPerfData/
Dplatform_DebugDaemonGetPerfData.py54 gzip_file = gzip.GzipFile(fileobj=string_file, mode='wb')
/external/chromium-trace/catapult/systrace/systrace/
Doutput_generator.py154 with gzip.GzipFile(fileobj=compressed_trace, mode='w') as f:
/external/autotest/client/common_lib/
Dbase_job.py674 fileobj = open(log_file, 'a')
676 print >> fileobj, log_text
678 fileobj.close()
/external/libmojo/third_party/jinja2/
Dext.py553 def babel_extract(fileobj, keywords, comment_tags, options): argument
616 source = fileobj.read().decode(options.get('encoding', 'utf-8'))
/external/chromium-trace/catapult/telemetry/telemetry/core/
Dmemory_cache_http_server.py191 gzf = gzip.GzipFile(fileobj=sio, compresslevel=9, mode='wb')
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph/
Dmodulegraph.py1638 def graphreport(self, fileobj=None, flatpackages=()): argument
1639 if fileobj is None:
1640 fileobj = sys.stdout
1641 fileobj.writelines(self.itergraphreport(flatpackages=flatpackages))
/external/v8/tools/clang/scripts/
Dupdate.py148 tarfile.open(mode='r:gz', fileobj=f).extractall(path=output_dir)
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/doc/
Dmodulegraph.rst125 .. method:: graphreport([fileobj[, flatpackages]])