Searched refs:fileobj (Results 1 – 13 of 13) sorted by relevance
/external/libvpx/libvpx/tools/ |
D | wrap-commit-msg.py | 42 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/ |
D | test_config.py | 107 fileobj = file(self.cfg, 'w') 109 self.parser.write(fileobj) 111 fileobj.close()
|
/external/jsoncpp/scons-tools/ |
D | targz.py | 44 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/ |
D | md5_check.py | 253 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/ |
D | kernel_config.py | 147 fileobj = self._open_config() 150 for item in fileobj.readlines():
|
/external/autotest/client/site_tests/platform_DebugDaemonGetPerfData/ |
D | platform_DebugDaemonGetPerfData.py | 54 gzip_file = gzip.GzipFile(fileobj=string_file, mode='wb')
|
/external/chromium-trace/catapult/systrace/systrace/ |
D | output_generator.py | 154 with gzip.GzipFile(fileobj=compressed_trace, mode='w') as f:
|
/external/autotest/client/common_lib/ |
D | base_job.py | 674 fileobj = open(log_file, 'a') 676 print >> fileobj, log_text 678 fileobj.close()
|
/external/libmojo/third_party/jinja2/ |
D | ext.py | 553 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/ |
D | memory_cache_http_server.py | 191 gzf = gzip.GzipFile(fileobj=sio, compresslevel=9, mode='wb')
|
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph/ |
D | modulegraph.py | 1638 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/ |
D | update.py | 148 tarfile.open(mode='r:gz', fileobj=f).extractall(path=output_dir)
|
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/doc/ |
D | modulegraph.rst | 125 .. method:: graphreport([fileobj[, flatpackages]])
|