/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/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/glacier/ |
D | utils.py | 110 def compute_hashes_from_fileobj(fileobj, chunk_size=1024 * 1024): argument 128 if six.PY3 and hasattr(fileobj, 'mode') and 'b' not in fileobj.mode: 133 chunk = fileobj.read(chunk_size) 139 chunk = chunk.encode(getattr(fileobj, 'encoding', '') or 'utf-8') 142 chunk = fileobj.read(chunk_size)
|
D | vault.py | 104 with open(filename, 'rb') as fileobj: 105 linear_hash, tree_hash = compute_hashes_from_fileobj(fileobj) 106 fileobj.seek(0) 107 response = self.layer1.upload_archive(self.name, fileobj,
|
D | job.py | 147 def _download_to_fileob(self, fileobj, num_chunks, chunk_size, verify_hashes, argument 160 fileobj.write(data)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/ |
D | test_job.py | 63 fileobj = StringIO() 67 self.job.download_to_fileobj(fileobj) 68 fileobj.seek(0) 69 self.assertEqual(http_response.read.return_value, fileobj.read())
|
D | test_concurrent.py | 122 self.fileobj = tempfile.NamedTemporaryFile() 123 self.filename = self.fileobj.name 129 fileobj = thread._fileobj 130 self.assertFalse(fileobj.closed) 135 self.assertTrue(fileobj.closed)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/ |
D | setup.py | 60 with open('README.rst') as fileobj: 61 README = fileobj.read()
|
/external/autotest/client/bin/ |
D | test_config.py | 107 fileobj = file(self.cfg, 'w') 109 self.parser.write(fileobj) 111 fileobj.close()
|
/external/v8/build/android/gyp/ |
D | aidl.py | 49 with open(path) as fileobj: 50 data = fileobj.read()
|
D | javac.py | 117 with open(pdb_path) as fileobj: 118 pdb_data = fileobj.read() 119 with open(pdb_path, 'w') as fileobj: 120 fileobj.write(re.sub(r'/tmp/[^/]*', temp_dir, pdb_data))
|
/external/chromium-trace/catapult/third_party/WebOb/docs/ |
D | file-example.txt | 83 ... 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/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/chromium-trace/catapult/tracing/tracing_build/ |
D | html2trace.py | 77 return gzip.GzipFile(fileobj=original_file) 87 with gzip.GzipFile(fileobj=zipped_file, mode='wb') as gzip_wrapper:
|
D | trace2html.py | 68 with gzip.GzipFile(fileobj=compressed_trace, mode='w') as f:
|
/external/autotest/client/cros/ |
D | kernel_config.py | 147 fileobj = self._open_config() 150 for item in fileobj.readlines():
|
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/ |
D | runner.py | 68 def _Tokenize(fileobj): argument 78 start_token = tokenizer.TokenizeFile(fileobj)
|
/external/v8/build/android/gyp/util/ |
D | md5_check.py | 245 def FromFile(cls, fileobj): argument 248 obj = json.load(fileobj) 255 def ToFile(self, fileobj): argument 263 json.dump(obj, fileobj, indent=2)
|
/external/chromium-trace/catapult/third_party/Paste/tests/ |
D | test_gzipper.py | 18 actual = gzip.GzipFile(fileobj=six.BytesIO(res.body)).read()
|
/external/chromium-trace/catapult/third_party/Paste/paste/ |
D | gzipper.py | 76 fileobj=self.buffer)
|
/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 | 655 fileobj = open(log_file, 'a') 657 print >> fileobj, log_text 659 fileobj.close()
|
/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/third_party/WebOb/webob/ |
D | request.py | 977 fileobj = self.make_tempfile() 989 fileobj.write(data) 991 fileobj.seek(0) 992 self.body_file_raw = fileobj
|
/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))
|