Home
last modified time | relevance | path

Searched refs:archive_path (Results 1 – 6 of 6) sorted by relevance

/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Ddependency_manager_util_unittest.py59 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 …]
Ddependency_manager_util.py75 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/
Dplatform_CrosDisksArchive.py46 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/
Dtext_datasets.py45 archive_path = base.maybe_download(
47 tfile = tarfile.open(archive_path, 'r:*')
/external/autotest/server/site_tests/graphics_MultipleDisplays/
Dgraphics_MultipleDisplays.py85 archive_path = os.path.join(self.bindir, 'files', static_content)
87 with tarfile.open(archive_path, 'r') as tar:
/external/tensorflow/tensorflow/lite/tutorials/
Dpost_training_quant.ipynb610 …"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",