Home
last modified time | relevance | path

Searched refs:local_file (Results 1 – 15 of 15) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
Dtest_tabcomplete.py155 local_file = 'a_local_file'
156 local_dir = self.CreateTempDir(test_files=[local_file])
159 expected_local_file_result = '%s ' % os.path.join(local_dir, local_file)
193 local_file = 'a_local_file'
194 local_dir = self.CreateTempDir(test_files=[local_file])
197 expected_local_file_result = '%s ' % os.path.join(local_dir, local_file)
207 local_file = 'priv_file'
208 local_dir = self.CreateTempDir(test_files=[local_file])
213 expected_results=[local_file, 'private'])
/external/autotest/client/site_tests/video_VideoEncodeAccelerator/
Dvideo_VideoEncodeAccelerator.py28 def _download_video(download_path, local_file): argument
30 logging.info('download "%s" to "%s"', url, local_file)
32 file_utils.download_file(url, local_file)
34 with open(local_file, 'r') as r:
/external/toybox/toys/pending/
Dtftp.c28 char *local_file; in GLOBALS()
277 fd = xcreate(TT.local_file, O_WRONLY | O_CREAT | O_TRUNC, 0666); in file_get()
282 unlink(TT.local_file); in file_get()
350 unlink(TT.local_file); in file_get()
355 unlink(TT.local_file); in file_get()
361 unlink(TT.local_file); in file_get()
384 fd = xopen(TT.local_file, O_RDONLY); in file_put()
432 TT.local_file = (slash) ? slash + 1 : TT.remote_file; in tftp_main()
434 } else if (toys.optflags & FLAG_l) TT.remote_file = TT.local_file; in tftp_main()
/external/autotest/client/common_lib/cros/network/
Diw_event_logger.py19 def __init__(self, host, command_iw, local_file): argument
24 self._local_file = local_file
54 def local_file(self): member in IwEventLogger
Diw_runner.py771 local_file = IW_LOCAL_EVENT_LOG_FILE % (self._log_id)
774 local_file)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mashups/
Dserver.py181 local_file = '%s.ini' % self.instance.id
182 self.get_file(remote_file, local_file)
183 self._config = Config(local_file)
187 local_file = '%s.ini' % self.instance.id
188 fp = open(local_file)
191 self.put_file(local_file, BotoConfigPath)
/external/autotest/client/site_tests/video_VEAPerf/
Dvideo_VEAPerf.py173 def _download_video(self, path_on_cloud, local_file): argument
175 logging.info('download "%s" to "%s"', url, local_file)
177 file_utils.download_file(url, local_file)
179 with open(local_file, 'r') as r:
/external/autotest/client/site_tests/video_VDAPerf/
Dvideo_VDAPerf.py208 def _download_video(self, download_path, local_file): argument
210 logging.info('download "%s" to "%s"', url, local_file)
212 file_utils.download_file(url, local_file)
214 with open(local_file, 'r') as r:
/external/autotest/client/common_lib/
Dfile_utils.py167 with open(local_path, 'wb') as local_file:
168 local_file.write(remote_file.read())
Dsite_utils.py192 def gs_upload(local_file, remote_file, acl, result_dir=None, argument
217 cmd = '%s cp -a %s %s %s' % (_GSUTIL_BIN, acl, local_file, remote_file)
222 cmd = '%s cp -a private %s %s' % (_GSUTIL_BIN, local_file, remote_file)
/external/autotest/server/site_tests/telemetry_AFDOGenerate/
Dtelemetry_AFDOGenerate.py301 def _gs_upload(self, local_file, remote_basename): argument
317 if not utils.gs_upload(local_file,
322 (local_file, remote_file))
/external/chromium-trace/catapult/catapult_build/
Drun_dev_server_tests.py142 with open(zip_path, 'wb') as local_file:
143 local_file.write(urllib2.urlopen(download_url, timeout=600).read())
/external/autotest/server/cros/network/
Dpacket_capturer.py364 for remote_file, local_file in pairs:
365 self._host.get_file(remote_file, local_file)
/external/autotest/server/
Dsite_linux_router.py386 for remote_file, local_file in files_to_copy:
392 self.router.get_file(remote_file, local_file)
/external/toybox/generated/
Dglobals.h820 char *local_file; member