/external/python/cpython2/Lib/test/ |
D | test_tarfile.py | 11 import tarfile 46 self.tar = tarfile.open(self.tarname, mode=self.mode, encoding="iso8859-1") 166 self.tar = tarfile.open(self.tarname, mode=self.mode) 227 taropen = tarfile.TarFile.gzopen 233 taropen = tarfile.TarFile.bz2open 243 with tarfile.open(tmpname, self.mode.replace("r", "w")): 246 tar = tarfile.open(tmpname, self.mode) 248 except tarfile.ReadError: 261 self.assertRaises(tarfile.ReadError, tarfile.open, tmpname, self.mode) 262 self.assertRaises(tarfile.ReadError, tarfile.open, tmpname) [all …]
|
D | test_shutil.py | 16 import tarfile 393 self.assertTrue(tarfile.is_tarfile(tarball)) 394 with tarfile.open(tarball, 'r:gz') as tf: 404 self.assertTrue(tarfile.is_tarfile(tarball)) 405 with tarfile.open(tarball, 'r') as tf: 411 with tarfile.open(path) as tar: 597 archive = tarfile.open(archive_name)
|
/external/python/cpython2/Lib/ |
D | tarfile.py | 799 def __init__(self, tarfile, tarinfo): argument 800 self.fileobj = _FileInFile(tarfile.fileobj, 1247 def fromtarfile(cls, tarfile): argument 1251 buf = tarfile.fileobj.read(BLOCKSIZE) 1253 obj.offset = tarfile.fileobj.tell() - BLOCKSIZE 1254 return obj._proc_member(tarfile) 1267 def _proc_member(self, tarfile): argument 1272 return self._proc_gnulong(tarfile) 1274 return self._proc_sparse(tarfile) 1276 return self._proc_pax(tarfile) [all …]
|
D | shutil.py | 373 import tarfile # late import so Python build itself doesn't break 391 tar = tarfile.open(archive_name, 'w|%s' % tar_compression[compress])
|
/external/jsoncpp/devtools/ |
D | tarball.py | 3 import tarfile 32 tar = tarfile.TarFile.gzopen( tarball_path, 'w', compresslevel=compression ) 49 tar = tarfile.TarFile.gzopen(tarball_path, mode='r')
|
/external/devlib/devlib/module/ |
D | android.py | 19 import tarfile 73 if not tarfile.is_tarfile(image_bundle): 75 with tarfile.open(image_bundle) as tar: 87 with tarfile.open(image_bundle) as tar:
|
D | vexpress.py | 18 import tarfile 347 with tarfile.open(bundle) as tar: 360 if not tarfile.is_tarfile(bundle): 362 with tarfile.open(bundle) as tar:
|
/external/python/cpython2/Doc/library/ |
D | tarfile.rst | 1 :mod:`tarfile` --- Read and write tar archive files 4 .. module:: tarfile 13 **Source code:** :source:`Lib/tarfile.py` 17 The :mod:`tarfile` module makes it possible to read and write tar 45 allowed, see :ref:`tarfile-objects`. 81 For modes ``'w:gz'``, ``'r:gz'``, ``'w:bz2'``, ``'r:bz2'``, :func:`tarfile.open` 86 ``'filemode|[compression]'``. :func:`tarfile.open` will return a :class:`TarFile` 124 better use :func:`tarfile.open` instead. See :ref:`tarfile-objects`. 129 Return :const:`True` if *name* is a tar archive file, that the :mod:`tarfile` 156 Base class for all :mod:`tarfile` exceptions. [all …]
|
D | archiving.rst | 19 tarfile.rst
|
/external/r8/tools/ |
D | upload_to_x20.py | 15 import tarfile 25 with tarfile.open(tarname, 'w:gz') as tar:
|
D | download_from_x20.py | 14 import tarfile 31 with tarfile.open(filename, 'r:gz') as tar:
|
/external/autotest/client/profilers/pgo/ |
D | pgo.py | 17 import tarfile 42 tar = tarfile.open(name=os.path.join(test.profdir, 'pgo.tar.bz2'),
|
/external/autotest/client/site_tests/platform_DebugDaemonDumpDebugLogs/ |
D | platform_DebugDaemonDumpDebugLogs.py | 8 import tarfile 29 with tarfile.open(tmp_file, mode) as tar_file:
|
/external/boringssl/src/util/bot/ |
D | update_clang.py | 18 import tarfile 62 with tarfile.open(temp.name, "r:gz") as tar_file:
|
D | extract.py | 22 import tarfile 71 with tarfile.open(path, 'r:' + compression) as tar_file:
|
/external/jsoncpp/scons-tools/ |
D | targz.py | 21 import tarfile 45 tar = tarfile.TarFile(os.path.splitext(target_path)[0], 'w', fileobj)
|
/external/v8/tools/clang/scripts/ |
D | package.py | 16 import tarfile 276 with tarfile.open(pdir + '.tgz', 'w:gz') as tar: 288 with tarfile.open(golddir + '.tgz', 'w:gz') as tar: 299 with tarfile.open(objdumpdir + '.tgz', 'w:gz') as tar:
|
/external/autotest/tko/parsers/test/ |
D | scenario_base.py | 5 import ConfigParser, os, shelve, shutil, sys, tarfile, time 313 tgz = tarfile.open(tgz_filepath, 'w:gz') 334 tgz = tarfile.open(tgz_filepath, 'r:gz')
|
/external/python/cpython2/Lib/distutils/ |
D | archive_util.py | 84 import tarfile # late import so Python build itself doesn't break 101 tar = tarfile.open(archive_name, 'w|%s' % tar_compression[compress])
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_sdist.py | 3 import tarfile 339 archive = tarfile.open(archive_name) 357 archive = tarfile.open(archive_name) 492 archive = tarfile.open(archive_name)
|
D | test_archive_util.py | 8 import tarfile 97 tar = tarfile.open(path) 275 archive = tarfile.open(archive_name)
|
/external/boringssl/src/util/bot/go/ |
D | bootstrap.py | 24 import tarfile 134 with tarfile.open(pkg_path, 'r:gz') as f:
|
/external/deqp/external/ |
D | fetch_sources.py | 26 import tarfile 121 archive = tarfile.open(srcPath)
|
/external/python/cpython2/Tools/ssl/ |
D | test_multiple_versions.py | 27 import tarfile 141 tf = tarfile.open(self.src_file)
|
/external/python/cpython2/Doc/tools/ |
D | susp-ignored.csv | 119 library/tarfile,,:compression,filemode[:compression] 120 library/tarfile,,:gz, 121 library/tarfile,,:bz2,
|