Searched refs:tarball_name (Results 1 – 4 of 4) sorted by relevance
/external/autotest/client/virt/ |
D | virt_utils_unittest.py | 47 tarball_name = virt_utils.get_archive_tarball_name('/tmp', 50 self.assertEqual(tarball_name, 'tmp-archive.tar.bz2') 54 tarball_name = virt_utils.get_archive_tarball_name('/tmp', 57 self.assertEqual(tarball_name, '/var/tmp/tmp.tar.bz2') 61 tarball_name = virt_utils.get_archive_tarball_name('/tmp', 64 self.assertEqual(tarball_name, 'tmp.tar.bz2')
|
D | virt_utils.py | 1331 def get_archive_tarball_name(source_dir, tarball_name, compression): argument 1335 if tarball_name is None: 1336 tarball_name = os.path.basename(source_dir) 1338 if not tarball_name.endswith('.tar'): 1339 tarball_name = '%s.tar' % tarball_name 1341 if compression and not tarball_name.endswith('.%s' % compression): 1342 tarball_name = '%s.%s' % (tarball_name, compression) 1344 return tarball_name 1347 def archive_as_tarball(source_dir, dest_dir, tarball_name=None, argument 1374 tarball_name = get_archive_tarball_name(source_dir, [all …]
|
/external/clang/ |
D | build.py | 125 tarball_name = package_name + '-' + host 126 package_path = os.path.join(dist_dir, tarball_name) + '.tar.bz2'
|
/external/autotest/client/common_lib/ |
D | base_packages.py | 852 def parse_tarball_name(tarball_name): argument 860 match = re.search(r'^([^-]*)-(.*)\.tar\.bz2$', tarball_name)
|