/external/toolchain-utils/crosperf/ |
D | download_images.py | 84 download_path = misc.GetOutsideChrootPath( 87 image_path = os.path.join(download_path, "chromiumos_test_image.bin") 88 if not os.path.exists(download_path): 89 os.makedirs(download_path) 95 command = "%s cp %s %s" % (gsutil_cmd, image_name, download_path) 101 download_path, "chromiumos_test_image.tar.xz" 112 download_path = misc.GetOutsideChrootPath( 120 os.path.join(download_path, "chromiumos_test_image.bin") 126 "cd %s ; tar -Jxf chromiumos_test_image.tar.xz " % download_path 129 clean_cmd = "cd %s ; rm -f chromiumos_test_image.bin " % download_path [all …]
|
D | suite_runner.py | 292 download_path = misc.GetOutsideChrootPath(label.chromeos_root, "/tmp") 300 download_path,
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
D | cloud_storage_info_unittest.py | 119 self.download_path = '/foo/download_path' 121 self.download_path, contents='1010110', st_mode=stat.S_IWOTH) 123 'cs_bucket', 'cs_hash', self.download_path, 'cs_remote_path', 132 def _GetIfHashChangedMock(cs_path, download_path, bucket, file_hash): argument 134 if not os.path.exists(download_path): 135 self.fs.CreateFile(download_path, contents='1010001010101010110101') 140 os.path.abspath(self.download_path), 142 self.assertTrue(os.stat(self.download_path).st_mode & stat.S_IXUSR) 146 self.fs.RemoveObject(self.download_path) 156 def _GetIfHashChangedMock(cs_path, download_path, bucket, file_hash): argument [all …]
|
D | base_config.py | 147 download_path = platform_info.get('download_path') 148 if download_path: 149 download_path = self._FormatPath(download_path) 150 download_path = os.path.abspath( 151 os.path.join(base_path, download_path)) 166 os.path.join(os.path.dirname(download_path), 169 os.path.join(os.path.dirname(download_path), 173 download_path, unzip_path, path_within_archive, 177 cs_bucket, cs_hash, download_path, cs_remote_path, 204 def SetDownloadPath(self, dependency, platform, download_path): argument [all …]
|
D | cloud_storage_info.py | 14 def __init__(self, cs_bucket, cs_hash, download_path, cs_remote_path, argument 28 self._download_path = download_path
|
D | dependency_info_unittest.py | 81 download_path='download_path2', cs_remote_path='cs_remote_path2') 90 download_path='download_path4', cs_remote_path='cs_remote_path4') 188 download_path='download_path2', cs_remote_path='cs_remote_path2') 199 download_path='download_path4', cs_remote_path='cs_remote_path4')
|
D | base_config_unittest.py | 1062 self.download_path = '../../relative/dep1/path2' 1066 'download_path': self.download_path, 1150 download_path = '../../relative/dep1/foo.bar' 1151 config.SetDownloadPath('dep2', 'plat1', download_path) 1153 download_path, 1158 download_path = '../../relative/dep1/foo.bar' 1159 config.SetDownloadPath('dep2', 'newplat', download_path) 1161 download_path, 1368 self.assertEqual(self.download_path, config._GetPlatformData( 1513 cs_hash='hash111', download_path='download_path111', [all …]
|
/external/pytorch/.github/scripts/ |
D | file_io_utils.py | 87 download_path = download_folder / obj.key 89 ensure_dir_exists(download_path.parent) 93 s3.Object(bucket.name, obj.key).download_file(str(download_path)) 94 downloads.append(download_path)
|
/external/avb/tools/transparency/ |
D | pixel_factory_image_verify.py | 155 download_path = tempfile.mkdtemp(dir=self.working_dir) 158 download_filename = self._download_file(download_path, url) 163 download_file = os.path.join(download_path, download_filename) 180 shutil.rmtree(download_path) 183 % download_path)
|
/external/armnn/samples/KeywordSpotting/cmake/ |
D | unit_tests.cmake | 5 function(download_file_from_modelzoo model_zoo_version file_sub_path download_path) 9 message(STATUS "Downloading ${FILE_URL} to ${download_path}...") 10 file(DOWNLOAD ${FILE_URL} ${download_path}
|
/external/toolchain-utils/rust_tools/ |
D | copy_rust_bootstrap.py | 190 download_path = Path(tempdir) / "sdk_artifact" 191 _download(opts.sdk_artifact, download_path) 192 file_to_upload = _debinpkgify(download_path)
|
/external/perfetto/tools/ |
D | install-build-deps | 820 download_path = local_path + '.tmp' 822 DownloadURL(dep.source_url, download_path) 823 os.chmod(download_path, 0o755) 824 actual_checksum = HashLocalFile(download_path) 826 os.remove(download_path) 828 download_path, dep.checksum, actual_checksum)) 830 shutil.move(download_path, local_path)
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | cloud_storage.py | 480 def GetIfHashChanged(cs_path, download_path, bucket, file_hash): argument 491 with _FileLock(download_path): 492 if (os.path.exists(download_path) and 493 CalculateHash(download_path) == file_hash): 495 _GetLocked(bucket, cs_path, download_path)
|
/external/google-cloud-java/owl-bot-postprocessor/synthtool/gcp/ |
D | gapic_generator.py | 320 download_path = samples_resources_dir / os.path.basename(uri) 323 with open(download_path, "wb") as output: # type: ignore
|