/external/python/cpython2/Lib/test/ |
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) 207 # ?rw-r--r-- tarfile/tarfile 7011 2003-01-06 07:19:43 ustar/conttype 208 # ?rw-r--r-- tarfile/tarfile 7011 2003-01-06 07:19:43 ustar/regtype 210 self.assertRegexpMatches(out, (r'-rw-r--r-- tarfile/tarfile\s+7011 ' 227 taropen = tarfile.TarFile.gzope [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_tarfile.py | 11 import tarfile 45 self.tar = tarfile.open(self.tarname, mode=self.mode, encoding="iso8859-1") 165 # This test checks if tarfile.open() is able to open an empty tar 168 tarfile.open(tmpname, self.mode.replace("r", "w")).close() 170 tar = tarfile.open(tmpname, self.mode) 172 except tarfile.ReadError: 173 self.fail("tarfile.open() failed on empty archive") 178 # This test guarantees that tarfile.open() does not treat an empty 181 self.assertRaises(tarfile.ReadError, tarfile.open, tmpname, self.mode [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_tarfile.py | 11 import tarfile 45 self.tar = tarfile.open(self.tarname, mode=self.mode, encoding="iso8859-1") 165 # This test checks if tarfile.open() is able to open an empty tar 168 tarfile.open(tmpname, self.mode.replace("r", "w")).close() 170 tar = tarfile.open(tmpname, self.mode) 172 except tarfile.ReadError: 173 self.fail("tarfile.open() failed on empty archive") 178 # This test guarantees that tarfile.open() does not treat an empty 181 self.assertRaises(tarfile.ReadError, tarfile.open, tmpname, self.mode [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_tarfile.py | 11 import tarfile 45 self.tar = tarfile.open(self.tarname, mode=self.mode, encoding="iso8859-1") 165 # This test checks if tarfile.open() is able to open an empty tar 168 tarfile.open(tmpname, self.mode.replace("r", "w")).close() 170 tar = tarfile.open(tmpname, self.mode) 172 except tarfile.ReadError: 173 self.fail("tarfile.open() failed on empty archive") 178 # This test guarantees that tarfile.open() does not treat an empty 181 self.assertRaises(tarfile.ReadError, tarfile.open, tmpname, self.mode [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_tarfile.py | 11 import tarfile 45 self.tar = tarfile.open(self.tarname, mode=self.mode, encoding="iso8859-1") 165 # This test checks if tarfile.open() is able to open an empty tar 168 tarfile.open(tmpname, self.mode.replace("r", "w")).close() 170 tar = tarfile.open(tmpname, self.mode) 172 except tarfile.ReadError: 173 self.fail("tarfile.open() failed on empty archive") 178 # This test guarantees that tarfile.open() does not treat an empty 181 self.assertRaises(tarfile.ReadError, tarfile.open, tmpname, self.mode [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_tarfile.py | 11 import tarfile
45 self.tar = tarfile.open(self.tarname, mode=self.mode, encoding="iso8859-1")
162 # This test checks if tarfile.open() is able to open an empty tar
165 tarfile.open(tmpname, self.mode.replace("r", "w")).close()
167 tar = tarfile.open(tmpname, self.mode)
169 except tarfile.ReadError:
170 self.fail("tarfile.open() failed on empty archive")
175 # This test guarantees that tarfile.open() does not treat an empty
178 self.assertRaises(tarfile.ReadError, tarfile.open, tmpname, self.mode) [all...] |
/external/jsoncpp/devtools/ |
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/autotest/client/profilers/pgo/ |
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/ |
platform_DebugDaemonDumpDebugLogs.py | 8 import tarfile 29 with tarfile.open(tmp_file, mode) as tar_file:
|
/external/boringssl/src/util/bot/ |
update_clang.py | 18 import tarfile 62 with tarfile.open(temp.name, "r:gz") as tar_file:
|
/external/r8/tools/ |
download_from_x20.py | 14 import tarfile 31 with tarfile.open(filename, 'r:gz') as tar:
|
upload_to_x20.py | 15 import tarfile 25 with tarfile.open(tarname, 'w:gz') as tar:
|
/external/devlib/devlib/module/ |
android.py | 19 import tarfile 73 if not tarfile.is_tarfile(image_bundle): 74 raise HostError('File {} is not a tarfile'.format(image_bundle)) 75 with tarfile.open(image_bundle) as tar: 87 with tarfile.open(image_bundle) as tar:
|
/system/core/init/ |
compare-bootcharts.py | 36 import tarfile 80 with tarfile.open(pathname + '/bootchart.tgz', 'r:*') as tf:
|
/external/python/cpython2/Lib/ |
tarfile.py | 3 # tarfile.py 61 # from tarfile import * 62 __all__ = ["TarFile", "TarInfo", "is_tarfile", "TarError"] 79 LNKTYPE = "1" # link (inside tarfile) 101 # tarfile constants 103 # File types that tarfile supports: 314 Used by TarFile.list() 388 """Class that serves as an adapter between TarFile and 795 Is returned by TarFile.extractfile(). 799 def __init__(self, tarfile, tarinfo) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
tarfile.py | 4 # tarfile.py 61 # from tarfile import * 62 __all__ = ["TarFile", "TarInfo", "is_tarfile", "TarError"] 79 LNKTYPE = "1" # link (inside tarfile) 101 # tarfile constants 103 # File types that tarfile supports: 314 Used by TarFile.list() 388 """Class that serves as an adapter between TarFile and 783 Is returned by TarFile.extractfile(). 787 def __init__(self, tarfile, tarinfo) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
tarfile.py | 4 # tarfile.py 61 # from tarfile import * 62 __all__ = ["TarFile", "TarInfo", "is_tarfile", "TarError"] 79 LNKTYPE = "1" # link (inside tarfile) 101 # tarfile constants 103 # File types that tarfile supports: 314 Used by TarFile.list() 388 """Class that serves as an adapter between TarFile and 783 Is returned by TarFile.extractfile(). 787 def __init__(self, tarfile, tarinfo) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
tarfile.py | 4 # tarfile.py 61 # from tarfile import * 62 __all__ = ["TarFile", "TarInfo", "is_tarfile", "TarError"] 79 LNKTYPE = "1" # link (inside tarfile) 101 # tarfile constants 103 # File types that tarfile supports: 314 Used by TarFile.list() 388 """Class that serves as an adapter between TarFile and 783 Is returned by TarFile.extractfile(). 787 def __init__(self, tarfile, tarinfo) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
tarfile.py | 4 # tarfile.py 61 # from tarfile import * 62 __all__ = ["TarFile", "TarInfo", "is_tarfile", "TarError"] 79 LNKTYPE = "1" # link (inside tarfile) 101 # tarfile constants 103 # File types that tarfile supports: 314 Used by TarFile.list() 388 """Class that serves as an adapter between TarFile and 783 Is returned by TarFile.extractfile(). 787 def __init__(self, tarfile, tarinfo) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
tarfile.py | 4 # tarfile.py
61 # from tarfile import *
62 __all__ = ["TarFile", "TarInfo", "is_tarfile", "TarError"]
79 LNKTYPE = "1" # link (inside tarfile)
101 # tarfile constants
103 # File types that tarfile supports:
314 Used by TarFile.list()
388 """Class that serves as an adapter between TarFile and
781 Is returned by TarFile.extractfile().
785 def __init__(self, tarfile, tarinfo): [all...] |
/external/jsoncpp/scons-tools/ |
targz.py | 21 import tarfile 45 tar = tarfile.TarFile(os.path.splitext(target_path)[0], 'w', fileobj)
|
/external/boringssl/src/util/bot/go/ |
bootstrap.py | 24 import tarfile 134 with tarfile.open(pkg_path, 'r:gz') as f:
|
/system/timezone/ |
update-tzdata.py | 25 import tarfile 107 tar = tarfile.open(iana_tar_file, 'r')
|
/external/v8/tools/clang/scripts/ |
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:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
test_archive_util.py | 6 import tarfile
80 tar = tarfile.open(path)
258 archive = tarfile.open(archive_name)
|