/external/autotest/utils/ |
D | packager.py | 155 tarball_path = pkgmgr.tar_package(pkg_name, pkg_dir, 159 md5sum = pkgmgr.compute_checksum(tarball_path) 177 tarball_path = os.path.join(pkg_dir, pkg_name); 178 if os.path.exists(tarball_path): 180 tarball_path) 182 tarball_path = pkgmgr.tar_package(pkg_name, pkg_dir, 187 if not pkgmgr.compare_checksum(tarball_path): 188 pkgmgr.upload_pkg(tarball_path, update_checksum=True) 191 'in packages/ directory.', tarball_path) 227 tarball_path = os.path.join(pkg_dir, pkg_name) [all …]
|
/external/jsoncpp/devtools/ |
D | tarball.py | 12 def make_tarball(tarball_path, sources, base_dir, prefix_dir=''): argument 37 with closing(tarfile.TarFile.open(tarball_path, 'w:gz', 48 def decompress(tarball_path, base_dir): argument 51 with closing(tarfile.TarFile.open(tarball_path)) as tar:
|
/external/openscreen/build/scripts/ |
D | install-sysroot.py | 123 tarball_path = os.path.join(sysroot, tarball_filename) 124 DownloadFile(url, tarball_path) 125 ValidateFile(tarball_path, tarball_sha1sum) 126 subprocess.check_call(['tar', 'xf', tarball_path, '-C', sysroot]) 127 os.remove(tarball_path)
|
/external/autotest/utils/frozen_chromite/lib/ |
D | cache.py | 335 def _Insert(self, key, tarball_path): # pylint: disable=arguments-differ argument 343 o = urllib.parse.urlsplit(tarball_path) 345 tarball_path = o.path 347 url = tarball_path 348 tarball_path = os.path.join(tempdir, os.path.basename(o.path)) 349 self._Fetch(url, tarball_path) 353 Untar(tarball_path, extract_path)
|
/external/autotest/client/common_lib/ |
D | packages.py | 834 tarball_path = os.path.join(dest_dir, pkg_name) 835 temp_path = tarball_path + '.tmp' 850 os.rename(temp_path, tarball_path) 851 return tarball_path 854 def untar_required(self, tarball_path, dest_dir): argument 868 new_checksum = self.compute_checksum(tarball_path) 872 def untar_pkg(self, tarball_path, dest_dir): argument 881 (tarball_path, dest_dir)) 884 pkg_checksum = self.compute_checksum(tarball_path)
|
D | test.py | 791 tarball_path = os.path.join(group_dir, tarball) 793 job.pkgmgr.fetch_pkg(tarball, tarball_path, 800 job.pkgmgr.untar_pkg(tarball_path, test_dir) 802 os.remove(tarball_path)
|
/external/jsoncpp/ |
D | doxybuild.py | 110 tarball_path = os.path.join('dist', html_output_dirname + '.tar.gz') 144 print('Generating doc tarball to', tarball_path) 153 tarball.make_tarball(tarball_path, tarball_sources, tarball_basedir, html_output_dirname) 154 return tarball_path, html_output_dirname
|
/external/autotest/server/cros/ |
D | telemetry_setup.py | 193 def _ExtractTarball(self, tarball_path, dest_path): argument 205 cmd = ['tar', 'xf', tarball_path, '--directory', dest_path] 215 % (tarball_path, dest_path, str(e)))
|
/external/armnn/build-tool/scripts/ |
D | build-armnn.sh | 137 local tarball_path="$ROOT_DIR/armnn_$ARMNN_BUILD_DIR_NAME.tar.gz" 138 echo -e "\n***** Creating tarball of Arm NN build at $tarball_path *****" 141 rm -f "$tarball_path" 142 tar -czf "$tarball_path" "$ARMNN_BUILD_DIR_NAME"
|
/external/autotest/server/cros/servo/ |
D | servo.py | 1530 def extract_ec_image(self, board, model, tarball_path, fake_image=False): argument 1565 dest_dir = os.path.join(os.path.dirname(tarball_path), 'EC') 1566 ec_image = _extract_image_from_tarball(tarball_path, 1577 _extract_image_from_tarball(tarball_path, dest_dir, mon_candidates, 1594 tarball_path) 1597 def extract_bios_image(self, board, model, tarball_path): argument 1627 dest_dir = os.path.join(os.path.dirname(tarball_path), 'BIOS') 1628 bios_image = _extract_image_from_tarball(tarball_path, 1638 tarball_path)
|
/external/autotest/client/site_tests/graphics_WebGLAquarium/ |
D | graphics_WebGLAquarium.py | 71 tarball_path = os.path.join(self.bindir, 73 utils.extract_tarball_to_dir(tarball_path, self.srcdir)
|
/external/autotest/server/ |
D | autotest.py | 1517 tarball_path = self.job.pkgmgr.tar_package( 1519 self.host.send_file(tarball_path, remote_dest)
|
/external/autotest/docs/ |
D | best-practices.md | 435 utils.update_version(os.getcwd(), True, version, setup, tarball_path,
|