/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
H A D | test_zipfile.py | 13 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 D | test_zipfile64.py | 1 # 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 D | test_pkgutil.py | 10 import zipfile
namespace 62 z = zipfile.ZipFile(zip_file, 'w')
|
H A D | script_helper.py | 13 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 D | test_zipimport_support.py | 10 import zipfile
namespace 110 z = zipfile.ZipFile(zip_name, 'a')
114 zip_file = zipfile.ZipFile(zip_name, 'r')
|
H A D | test_zipimport.py | 18 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 D | test_shutil.py | 36 import zipfile
namespace
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Core/ |
H A D | FileHook.py | 22 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 D | PackageFile.py | 24 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 D | archive_util.py | 125 "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 D | create-release.py | 19 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 D | shutil.py | 414 "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 D | shutil.py | 409 "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 D | releasetools.py | 21 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 D | test_sdist.py | 5 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 D | test_archive_util.py | 25 import zipfile
namespace
|
/device/huawei/angler/ |
H A D | releasetools.py | 93 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 D | msi.py | 4 import msilib, schema, sequence, os, glob, time, re, shutil, zipfile
namespace 1308 pdbzip = zipfile.ZipFile(path, 'w')
|