Home
last modified time | relevance | path

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

/external/webrtc/rtc_tools/testing/
Dutils.py91 def UnpackArchiveTo(archive_path, output_dir): argument
92 extension = os.path.splitext(archive_path)[1]
94 _UnzipArchiveTo(archive_path, output_dir)
96 _UntarArchiveTo(archive_path, output_dir)
99 def _UnzipArchiveTo(archive_path, output_dir): argument
100 print('Unzipping {} in {}.'.format(archive_path, output_dir))
101 zip_file = zipfile.ZipFile(archive_path)
108 def _UntarArchiveTo(archive_path, output_dir): argument
109 print('Untarring {} in {}.'.format(archive_path, output_dir))
110 tar_file = tarfile.open(archive_path, 'r:gz')
/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.py77 def UnzipArchive(archive_path, unzip_path): argument
88 if not (archive_path and zipfile.is_zipfile(archive_path)):
90 'Attempting to unzip a non-archive file at %s' % archive_path)
97 unzip_cmd = ['ditto', '-x', '-k', archive_path, unzip_path]
103 with zipfile.ZipFile(archive_path, 'r') as archive:
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dwebpagereplay_go_server.py83 def __init__(self, archive_path, replay_host, http_port, https_port, argument
98 self.archive_path = archive_path
110 replay_options, archive_path)
114 os.path.dirname(self.archive_path))
115 elif not os.path.exists(self.archive_path):
116 self._AssertPathExists('archive file', self.archive_path)
183 options, archive_path): argument
223 cmd_line.append(archive_path)
/external/python/cpython3/Lib/importlib/
D_common.py20 archive_path = spec.loader.archive
21 rel_path = package_directory.relative_to(archive_path)
22 return zipfile.Path(archive_path, str(rel_path) + '/')
/external/tensorflow/tensorflow/lite/ios/
Dextract_object_files_main.py31 archive_path = argv[1]
33 with open(archive_path, 'rb') as archive_file:
Dextract_object_files_test.py54 archive_path = resource_loader.get_path_to_datafile(input_file_relpath)
56 with open(archive_path, 'rb') as archive_file:
/external/llvm-project/lldb/examples/python/
Dbsd.py510 (archive_path, object_name) = path[0:-1].split('(')
511 if not archive_path and not object_name:
517 if not os.path.exists(archive_path):
521 print_file_missing_error(archive_path)
523 if archive_path in archives:
524 archive = archives[archive_path]
526 archive = Archive(archive_path)
527 archives[archive_path] = archive
/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/libchrome/build/android/gyp/util/
Dresource_utils.py62 for archive_path, source_path in files_to_zip.iteritems():
63 info_file.write('{},{}\n'.format(archive_path, source_path))
/external/oss-fuzz/infra/
Dhelper.py702 archive_path = corpus_dir + '.zip'
703 command = ['gsutil', '-q', 'cp', latest_backup_url, archive_path]
706 command = ['unzip', '-q', '-o', archive_path, '-d', corpus_dir]
708 os.remove(archive_path)
/external/libchrome/build/
Dget_syzygy_binaries.py325 archive_path = _SYZYGY_ARCHIVE_PATH % { 'revision': options.revision }
343 resource = archive_path + '/' + base