Searched refs:zipfile (Results 1 - 18 of 18) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_zipfile.py13 import zipfile namespace
45 with zipfile.ZipFile(f, "w", compression) as zipfp:
54 with zipfile.ZipFile(f, "r", compression) as zipfp:
110 self.zip_test(f, zipfile.ZIP_STORED)
116 with zipfile.ZipFile(f, "r", compression) as zipfp:
138 self.zip_open_test(f, zipfile.ZIP_STORED)
142 with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp:
146 with zipfile.ZipFile(TESTFN2, "r") as zipfp:
162 with zipfile
[all...]
H A Dtest_zipfile64.py1 # Tests of the full ZIP64 functionality of zipfile
20 import zipfile, os, unittest namespace
38 line_gen = ("Test of zipfile line %d." % i for i in xrange(1000000))
48 zipfp = zipfile.ZipFile(f, "w", compression, allowZip64=True)
67 zipfp = zipfile.ZipFile(f, "r", compression)
83 self.zipTest(f, zipfile.ZIP_STORED)
90 self.zipTest(f, zipfile.ZIP_DEFLATED)
102 zipf = zipfile.ZipFile(TESTFN, mode="w")
110 zipf2 = zipfile.ZipFile(TESTFN, mode="r")
H A Dtest_pkgutil.py10 import zipfile namespace
62 z = zipfile.ZipFile(zip_file, 'w')
H A Dscript_helper.py13 import zipfile namespace
119 zip_file = zipfile.ZipFile(zip_name, 'w')
125 # zip_file = zipfile.ZipFile(zip_name, 'r')
151 zip_file = zipfile.ZipFile(zip_name, 'w')
160 # zip_file = zipfile.ZipFile(zip_name, 'r')
H A Dtest_zipimport_support.py10 import zipfile namespace
110 z = zipfile.ZipFile(zip_name, 'a')
114 zip_file = zipfile.ZipFile(zip_name, 'r')
H A Dtest_zipimport.py18 from zipfile import ZipFile, ZipInfo, ZIP_STORED, ZIP_DEFLATED
80 # Prepend 'stuff' to the start of the zipfile
312 # try importing from a zipfile which contains additional
H A Dtest_shutil.py36 import zipfile namespace
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Core/
H A DFileHook.py22 import zipfile namespace
53 self.zipfile = os.path.join(self.workspace, gBACKUPFILE)
58 self.zip = zipfile.ZipFile(self.zipfile, 'w', zipfile.ZIP_DEFLATED)
115 self.zip = zipfile.ZipFile(self.zipfile, 'r', zipfile.ZIP_DEFLATED)
149 __built_in_remove__(self.zipfile)
H A DPackageFile.py24 import zipfile namespace
49 self._ZipFile = zipfile.ZipFile(FileName, Mode, \
50 zipfile.ZIP_DEFLATED)
153 self._ZipFile = zipfile.ZipFile(self._FileName, "w", \
154 zipfile.ZIP_DEFLATED)
163 # Pack(Workspace\Dir1, Workspace) will pack files under Dir1, and the path in the zipfile will
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
H A Darchive_util.py125 "zipfile" Python module (if available) or the InfoZIP "zip" utility
131 import zipfile namespace
133 zipfile = None
138 # If zipfile module is not available, try spawning an external
140 if zipfile is None:
154 "could neither import the 'zipfile' module nor "
162 zip = zipfile.ZipFile(zip_filename, "w",
163 compression=zipfile.ZIP_DEFLATED)
/device/linaro/bootloader/edk2/OvmfPkg/
H A Dcreate-release.py19 import zipfile namespace
187 zipf = zipfile.ZipFile(filename, 'w', zipfile.ZIP_DEFLATED)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
H A Dshutil.py414 "could neither import the 'zipfile' module nor "
421 "zipfile" Python module (if available) or the InfoZIP "zip" utility
435 # If zipfile module is not available, try spawning an external 'zip'
438 import zipfile namespace
440 zipfile = None
442 if zipfile is None:
450 with zipfile.ZipFile(zip_filename, "w",
451 compression=zipfile.ZIP_DEFLATED) as zf:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dshutil.py409 "could neither import the 'zipfile' module nor "
416 "zipfile" Python module (if available) or the InfoZIP "zip" utility
430 # If zipfile module is not available, try spawning an external 'zip'
433 import zipfile namespace
435 zipfile = None
437 if zipfile is None:
445 zip = zipfile.ZipFile(zip_filename, "w",
446 compression=zipfile.ZIP_DEFLATED)
/device/lge/bullhead/
H A Dreleasetools.py21 def FindRadio(zipfile):
23 return zipfile.read("RADIO/radio.img")
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
H A Dtest_sdist.py5 import zipfile namespace
9 # the tests that use zipfile may fail
130 zip_file = zipfile.ZipFile(join(dist_folder, 'fake-1.0.zip'))
223 zip_file = zipfile.ZipFile(join(dist_folder, 'fake-1.0.zip'))
H A Dtest_archive_util.py25 import zipfile namespace
/device/huawei/angler/
H A Dreleasetools.py93 def FindRadio(zipfile):
95 return zipfile.read("RADIO/radio.img")
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/msi/
H A Dmsi.py4 import msilib, schema, sequence, os, glob, time, re, shutil, zipfile namespace
1308 pdbzip = zipfile.ZipFile(path, 'w')

Completed in 723 milliseconds