Searched refs:archive_path (Results 1 – 6 of 6) sorted by relevance
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
D | dependency_manager_util_unittest.py | 59 self.archive_path = self.CreateZipArchiveFromDir(self.tmp_dir) 64 if os.path.isfile(self.archive_path): 65 os.remove(self.archive_path) 109 archive_path = shutil.make_archive(base_path, 'zip', dir_path) 110 self.assertTrue(os.path.exists(archive_path)) 111 self.assertTrue(zipfile.is_zipfile(archive_path)) 113 if os.path.isfile(archive_path): 114 os.remove(archive_path) 116 return archive_path 133 dependency_manager_util.UnzipArchive(self.archive_path, unzip_path) [all …]
|
D | dependency_manager_util.py | 75 def UnzipArchive(archive_path, unzip_path): argument 86 if not (archive_path and zipfile.is_zipfile(archive_path)): 88 'Attempting to unzip a non-archive file at %s' % archive_path) 95 unzip_cmd = ['ditto', '-x', '-k', archive_path, unzip_path] 101 with zipfile.ZipFile(archive_path, 'r') as archive:
|
/external/autotest/client/site_tests/platform_CrosDisksArchive/ |
D | platform_CrosDisksArchive.py | 46 def _make_rar_archive(self, archive_path, root_dir): argument 60 shutil.copyfile(os.path.join(self._data_dir, 'test.rar'), archive_path) 62 def _make_archive(self, archive_type, archive_path, root_dir): argument 75 self._make_rar_archive(archive_path, root_dir) 98 archive_path = os.path.join(image.mount_dir, archive_name) 99 self._make_archive(archive_type, archive_path, archive_dir.name) 112 archive_path = os.path.join(result['mount_path'], archive_name) 114 self.cros_disks.mount(archive_path) 117 'source_path': archive_path,
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/datasets/ |
D | text_datasets.py | 45 archive_path = base.maybe_download( 47 tfile = tarfile.open(archive_path, 'r:*')
|
/external/autotest/server/site_tests/graphics_MultipleDisplays/ |
D | graphics_MultipleDisplays.py | 85 archive_path = os.path.join(self.bindir, 'files', static_content) 87 with tarfile.open(archive_path, 'r') as tar:
|
/external/tensorflow/tensorflow/lite/tutorials/ |
D | post_training_quant.ipynb | 610 …"archive_path = tf.keras.utils.get_file(\"resnet_v2_101.tgz\", \"https://storage.googleapis.com/do… 611 "archive_path = pathlib.Path(archive_path)\n", 612 "archive_dir = str(archive_path.parent)" 648 "graph_def_file = pathlib.Path(archive_path).parent/\"resnet_v2_101_299_frozen.pb\"\n",
|