Searched refs:ZipFile (Results 1 - 25 of 57) sorted by relevance

123

/external/python/cpython2/Lib/test/
H A Dtest_zipfile.py55 with zipfile.ZipFile(f, "w", compression) as zipfp:
64 with zipfile.ZipFile(f, "r", compression) as zipfp:
126 with zipfile.ZipFile(f, "r", compression) as zipfp:
152 with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp:
158 with zipfile.ZipFile(TESTFN2, "r") as zipfp:
174 with zipfile.ZipFile(f, "r", compression) as zipfp:
193 with zipfile.ZipFile(f, 'w', zipfile.ZIP_STORED) as zipfp:
197 with zipfile.ZipFile(f, 'r') as zipfp:
208 with zipfile.ZipFile(f, "r") as zipfp:
228 with zipfile.ZipFile(
[all...]
H A Dtest_zipfile64.py48 zipfp = zipfile.ZipFile(f, "w", compression, allowZip64=True)
67 zipfp = zipfile.ZipFile(f, "r", compression)
105 # and that the resulting archive can be read properly by ZipFile
106 zipf = zipfile.ZipFile(TESTFN, mode="w", allowZip64=True)
114 zipf2 = zipfile.ZipFile(TESTFN, mode="r")
121 zipf = zipfile.ZipFile(TESTFN, mode="w", allowZip64=False)
132 zipf = zipfile.ZipFile(TESTFN, mode="a", allowZip64=False)
140 zipf = zipfile.ZipFile(TESTFN, mode="a", allowZip64=True)
149 zipf2 = zipfile.ZipFile(TESTFN, mode="r")
H A Dscript_helper.py125 zip_file = zipfile.ZipFile(zip_name, 'w')
131 # zip_file = zipfile.ZipFile(zip_name, 'r')
157 zip_file = zipfile.ZipFile(zip_name, 'w')
166 # zip_file = zipfile.ZipFile(zip_name, 'r')
H A Dtest_zipimport_support.py120 z = zipfile.ZipFile(zip_name, 'a')
125 zip_file = zipfile.ZipFile(zip_name, 'r')
H A Dtest_zipimport.py18 from zipfile import ZipFile, ZipInfo, ZIP_STORED, ZIP_DEFLATED namespace
70 z = ZipFile(TEMP_ZIP, "w")
208 z = ZipFile(TEMP_ZIP, "w")
252 z = ZipFile(TEMP_ZIP, "w")
286 z = ZipFile(TEMP_ZIP, "w")
H A Dtest_pkgutil.py62 z = zipfile.ZipFile(zip_file, 'w')
/external/chromium-trace/catapult/systrace/profile_chrome/
H A Dutil.py12 with zipfile.ZipFile(output, 'w', zipfile.ZIP_DEFLATED) as z:
23 with zipfile.ZipFile(output, 'w', zipfile.ZIP_DEFLATED) as z:
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
H A DZipDexContainer.java53 import java.util.zip.ZipFile;
85 ZipFile zipFile = getZipFile();
113 ZipFile zipFile = getZipFile();
127 ZipFile zipFile = null;
164 protected boolean isDex(@Nonnull ZipFile zipFile, @Nonnull ZipEntry zipEntry) throws IOException {
180 protected ZipFile getZipFile() throws IOException {
182 return new ZipFile(zipFilePath);
189 protected ZipDexFile loadEntry(@Nonnull ZipFile zipFile, @Nonnull ZipEntry zipEntry) throws IOException {
/external/desugar/java/com/google/devtools/build/android/desugar/
H A DZipInputFileProvider.java23 import java.util.zip.ZipFile;
30 private final ZipFile zipFile;
34 this.zipFile = new ZipFile(root.toFile());
/external/jarjar/src/main/com/tonicsystems/jarjar/util/
H A DClassPathIterator.java41 private List<ZipFile> zips = new ArrayList<ZipFile>();
90 for (ZipFile zip : zips) {
119 ZipFile zip = new JarFile(file);
123 ZipFile zip = new ZipFile(file);
144 private final ZipFile zip;
147 ZipIterator(ZipFile zip) {
H A DIoUtil.java25 import java.util.zip.ZipFile;
64 final ZipFile inputZip = new ZipFile(inputFile);
/external/libmojo/mojo/public/tools/gn/
H A Dzip.py25 with zipfile.ZipFile(output, 'w', zipfile.ZIP_DEFLATED) as outfile:
36 with zipfile.ZipFile(zf_name, 'r') as zf:
/external/skia/infra/bots/
H A Dzip_utils.py30 with zipfile.ZipFile(zip_file, 'w', zipfile.ZIP_DEFLATED, True) as z:
52 with zipfile.ZipFile(zip_file, 'r', zipfile.ZIP_DEFLATED, True) as z:
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/
H A DZipExtractorTask.java35 import java.util.zip.ZipFile;
156 ZipFile zip = new ZipFile(mInput);
205 private long getOriginalSize(ZipFile file) {
/external/r8/src/test/java/com/android/tools/r8/compatdx/
H A DCompatDxTests.java31 import java.util.zip.ZipFile;
198 ZipFile d8Zip = new ZipFile(d8File.toFile());
199 ZipFile dxZip = new ZipFile(dxFile.toFile());
/external/jarjar/src/main/com/tonicsystems/jarjar/
H A DDepFindVisitor.java23 import java.util.zip.ZipFile;
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
H A DAPIData.java30 import java.util.zip.ZipFile;
70 ZipFile zf = null;
74 zf = new ZipFile(file);
/external/vogar/src/vogar/target/
H A DClassPathScanner.java31 import java.util.zip.ZipFile;
165 ZipFile zipFile = new ZipFile(jarFile);
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
H A Ddependency_manager_util.py57 archive: A zipfile.ZipFile object opened for reading.
91 with zipfile.ZipFile(archive_path, 'r') as archive:
H A Ddependency_manager_util_unittest.py170 'dependency_manager.dependency_manager_util.zipfile.ZipFile.extractall' # pylint: disable=line-too-long
180 with zipfile.ZipFile(self.archive_path) as archive:
188 with zipfile.ZipFile(self.archive_path, 'w') as archive:
/external/libmojo/build/android/gyp/util/
H A Dbuild_utils.py231 with zipfile.ZipFile(zip_path) as z:
257 """Adds a file to the given ZipFile with a hard-coded modified time.
260 zip_file: ZipFile instance to add the file to.
264 compress: Whether to enable compression. Default is take from ZipFile
289 # default passed to the ZipFile constructor.
312 with zipfile.ZipFile(output, 'w') as outfile:
335 with zipfile.ZipFile(output, 'w') as out_zip:
337 with zipfile.ZipFile(in_file, 'r') as in_zip:
/external/python/cpython2/Lib/distutils/tests/
H A Dtest_bdist_dumb.py83 fp = zipfile.ZipFile(os.path.join('dist', base))
/external/python/cpython2/Tools/nuget/
H A Dmake_zip.py13 from zipfile import ZipFile, ZIP_DEFLATED namespace
127 with ZipFile(str(target), 'w', ZIP_DEFLATED) as f:
/external/boringssl/src/util/bot/
H A Dextract.py59 with zipfile.ZipFile(path, 'r') as zip_file:
/external/python/cpython2/Lib/distutils/
H A Darchive_util.py162 zip = zipfile.ZipFile(zip_filename, "w",

Completed in 864 milliseconds

123