/external/perfetto/tools/ |
D | traceconv | 49 local_file = os.path.join(TRACE_TO_TEXT_PATH, file_name) 51 if os.path.exists(local_file): 52 if not check_hash(local_file, sha_value): 53 os.remove(local_file) 55 return local_file 58 urllib.urlretrieve(url, local_file) 59 if not check_hash(local_file, sha_value): 60 os.remove(local_file) 62 os.chmod(local_file, 0o755) 63 return local_file
|
D | heap_profile | 57 local_file = os.path.join(TRACE_TO_TEXT_PATH, file_name) 59 if os.path.exists(local_file): 60 if not check_hash(local_file, sha_value): 61 os.remove(local_file) 63 return local_file 66 urllib.urlretrieve(url, local_file) 67 if not check_hash(local_file, sha_value): 68 os.remove(local_file) 70 os.chmod(local_file, 0o755) 71 return local_file
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/datasets/ |
D | mnist.py | 259 local_file = base.maybe_download(TRAIN_IMAGES, train_dir, 261 with gfile.Open(local_file, 'rb') as f: 264 local_file = base.maybe_download(TRAIN_LABELS, train_dir, 266 with gfile.Open(local_file, 'rb') as f: 269 local_file = base.maybe_download(TEST_IMAGES, train_dir, 271 with gfile.Open(local_file, 'rb') as f: 274 local_file = base.maybe_download(TEST_LABELS, train_dir, 276 with gfile.Open(local_file, 'rb') as f:
|
/external/toybox/toys/pending/ |
D | tftp.c | 28 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() 337 unlink(TT.local_file); in file_get() 358 unlink(TT.local_file); in file_get() 363 unlink(TT.local_file); in file_get() 369 unlink(TT.local_file); in file_get() 392 fd = xopenro(TT.local_file); in file_put() 440 TT.local_file = (slash) ? slash + 1 : TT.remote_file; in tftp_main() 442 } else if (toys.optflags & FLAG_l) TT.remote_file = TT.local_file; in tftp_main()
|
/external/autotest/server/site_tests/brillo_HWRandom/ |
D | brillo_HWRandom.py | 143 with tempfile.NamedTemporaryFile() as local_file: 144 host.get_file(dut_file, local_file.name) 145 output_size = os.stat(local_file.name).st_size 151 result = self._run_all_dieharder_tests(local_file.name)
|
/external/autotest/client/site_tests/video_VDASanity/ |
D | video_VDASanity.py | 40 def _download_video(self, download_path, local_file): argument 42 logging.info('Downloading "%s" to "%s"', url, local_file) 43 file_utils.download_file(url, local_file)
|
/external/autotest/client/site_tests/video_VideoEncodeAccelerator/ |
D | video_VideoEncodeAccelerator.py | 39 def _download_video(download_path, local_file): argument 41 logging.info('download "%s" to "%s"', url, local_file) 43 file_utils.download_file(url, local_file) 45 with open(local_file, 'r') as r:
|
/external/autotest/server/site_tests/platform_FlashErasers/ |
D | platform_FlashErasers.py | 71 handle, local_file = tempfile.mkstemp() 78 self._client.send_file(local_file, blob_name) 82 os.remove(local_file)
|
/external/autotest/client/common_lib/cros/network/ |
D | iw_event_logger.py | 19 def __init__(self, host, command_iw, local_file): argument 24 self._local_file = local_file 54 def local_file(self): member in IwEventLogger
|
D | iw_runner.py | 932 local_file = IW_LOCAL_EVENT_LOG_FILE % (self._log_id) 935 local_file)
|
/external/autotest/client/site_tests/video_VDAPerf/ |
D | video_VDAPerf.py | 207 def _download_video(self, download_path, local_file): argument 209 logging.info('download "%s" to "%s"', url, local_file) 211 file_utils.download_file(url, local_file) 213 with open(local_file, 'r') as r:
|
/external/skqp/infra/bots/recipe_modules/infra/ |
D | api.py | 55 def __init__(self, api, metadata_key, local_file, **kwargs): argument 58 self._local_file = local_file
|
/external/skia/infra/bots/recipe_modules/infra/ |
D | api.py | 55 def __init__(self, api, metadata_key, local_file, **kwargs): argument 58 self._local_file = local_file
|
/external/autotest/server/site_tests/telemetry_AFDOGenerate/ |
D | telemetry_AFDOGenerate.py | 310 def _gs_upload(self, local_file, remote_basename): argument 338 if not utils.gs_upload(local_file, 343 (local_file, remote_file))
|
/external/autotest/client/site_tests/video_VEAPerf/ |
D | video_VEAPerf.py | 241 def _download_video(self, path_on_cloud, local_file): argument 243 logging.info('download "%s" to "%s"', url, local_file) 245 file_utils.download_file(url, local_file) 247 with open(local_file, 'r') as r:
|
/external/autotest/client/common_lib/ |
D | file_utils.py | 169 with open(local_path, 'wb') as local_file: 174 local_file.write(block)
|
D | utils.py | 2092 def gs_upload(local_file, remote_file, acl, result_dir=None, argument 2117 cmd = '%s cp -a %s %s %s' % (_GSUTIL_BIN, acl, local_file, remote_file) 2122 cmd = '%s cp -a private %s %s' % (_GSUTIL_BIN, local_file, remote_file)
|
/external/autotest/client/cros/ |
D | touch_playback_test_base.py | 155 local_file = os.path.join(self.bindir, filename) 159 file_utils.download_file(url, local_file) 165 return local_file
|
/external/autotest/server/cros/network/ |
D | packet_capturer.py | 364 for remote_file, local_file in pairs: 365 self._host.get_file(remote_file, local_file)
|
/external/python/cpython2/Lib/distutils/ |
D | dist.py | 368 local_file = "setup.cfg" 369 if os.path.isfile(local_file): 370 files.append(local_file)
|
/external/python/cpython3/Lib/distutils/ |
D | dist.py | 372 local_file = "setup.cfg" 373 if os.path.isfile(local_file): 374 files.append(local_file)
|
/external/autotest/server/ |
D | site_linux_router.py | 436 for remote_file, local_file in files_to_copy: 442 self.router.get_file(remote_file, local_file)
|
/external/toybox/generated/ |
D | globals.h | 866 char *local_file; member
|
/external/autotest/client/common_lib/cros/ |
D | dev_server.py | 1111 def download_file(cls, remote_file, local_file, timeout=None): argument 1123 with open(local_file, 'w') as out_log:
|