/external/python/cpython2/Lib/test/ |
D | test_zipfile.py | 55 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(f, "r") as zipfp: [all …]
|
D | test_zipfile64.py | 48 zipfp = zipfile.ZipFile(f, "w", compression, allowZip64=True) 67 zipfp = zipfile.ZipFile(f, "r", compression) 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")
|
/external/python/cpython3/Lib/test/ |
D | test_zipfile.py | 59 with zipfile.ZipFile(f, "w", **kwargs) as zipfp: 71 with zipfile.ZipFile(f, "r", compression) as zipfp: 129 with zipfile.ZipFile(f, "r", compression) as zipfp: 156 with zipfile.ZipFile(path, "r", self.compression) as zipfp: 163 with zipfile.ZipFile(f, "r", compression) as zipfp: 182 with zipfile.ZipFile(f, "r") as zipfp, \ 201 with zipfile.ZipFile(f, "r") as zipfp, \ 221 with zipfile.ZipFile(f, "r") as zipfp, \ 246 with zipfile.ZipFile(f, "r") as zipfp: 260 with zipfile.ZipFile(f, "r") as zipfp: [all …]
|
D | test_zipfile64.py | 40 zipfp = zipfile.ZipFile(f, "w", compression) 59 zipfp = zipfile.ZipFile(f, "r", compression) 98 zipf = zipfile.ZipFile(TESTFN, mode="w", allowZip64=True) 106 zipf2 = zipfile.ZipFile(TESTFN, mode="r") 114 zipf = zipfile.ZipFile(TESTFN, mode="w", allowZip64=False) 125 zipf = zipfile.ZipFile(TESTFN, mode="a", allowZip64=False) 133 zipf = zipfile.ZipFile(TESTFN, mode="a", allowZip64=True) 142 zipf2 = zipfile.ZipFile(TESTFN, mode="r")
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
D | ZipFileTest.java | 50 private ZipFile zf = null; 54 ZipFile.closeQuietly(zf); in tearDown() 93 zf = new ZipFile(new SeekableInMemoryByteChannel(data), ZipEncodingHelper.UTF8); in testCDOrderInMemory() 180 zf = new ZipFile(f); in testReadingOfStoredEntry() 204 zf = new ZipFile(archive); in testWinzipBackSlashWorkaround() 217 zf = new ZipFile(archive); in testSkipsPK00Prefix() 246 zf = new ZipFile(archive); in testUnixSymlinkSampleFile() 268 zf = new ZipFile(archive); in testDuplicateEntry() 288 zf = new ZipFile(archive); in testExcessDataInZip64ExtraField() 297 zf = new ZipFile(getFile("SHRUNK.ZIP")); in testUnshrinking() [all …]
|
D | UTF8ZipFilesTest.java | 100 ZipFile zf = null; in testRead7ZipArchive() 102 zf = new ZipFile(archive, CP437, false); in testRead7ZipArchive() 107 ZipFile.closeQuietly(zf); in testRead7ZipArchive() 135 ZipFile zf = null; in testReadWinZipArchive() 137 zf = new ZipFile(archive, null, true); in testReadWinZipArchive() 142 ZipFile.closeQuietly(zf); in testReadWinZipArchive() 146 private void assertCanRead(final ZipFile zf, final String fileName) throws IOException { in assertCanRead() 200 ZipFile zf = null; in testZipArchiveInputStreamReadsUnicodeFields() 203 zf = new ZipFile(file, CharsetNames.US_ASCII, true); in testZipArchiveInputStreamReadsUnicodeFields() 208 ZipFile.closeQuietly(zf); in testZipArchiveInputStreamReadsUnicodeFields() [all …]
|
D | EncryptedArchiveTest.java | 36 ZipFile zf = null; in testReadPasswordEncryptedEntryViaZipFile() 38 zf = new ZipFile(file); in testReadPasswordEncryptedEntryViaZipFile() 51 ZipFile.closeQuietly(zf); in testReadPasswordEncryptedEntryViaZipFile()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/ |
D | ZipTestCase.java | 45 import org.apache.commons.compress.archivers.zip.ZipFile; 205 final ZipFile moby = new ZipFile(getFile("moby.zip")); in testSupportedCompressionMethod() 293 ZipFile zf = null; in testDirectoryEntryFromFile() 304 zf = new ZipFile(archive); in testDirectoryEntryFromFile() 314 ZipFile.closeQuietly(zf); in testDirectoryEntryFromFile() 329 ZipFile zf = null; in testExplicitDirectoryEntry() 341 zf = new ZipFile(archive); in testExplicitDirectoryEntry() 350 ZipFile.closeQuietly(zf); in testExplicitDirectoryEntry() 387 try (final ZipFile zf1 = new ZipFile(a1); final ZipFile zf2 = new ZipFile(a2)) { in testCopyRawEntriesFromFile() 418 try (final ZipFile zf1 = new ZipFile(a1)) { in testCopyRawZip64EntryFromFile() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
D | ZipDexContainer.java | 53 import java.util.zip.ZipFile; 85 ZipFile zipFile = getZipFile(); in getDexEntryNames() 113 ZipFile zipFile = getZipFile(); in getEntry() 127 ZipFile zipFile = null; in isZipFile() 164 … protected boolean isDex(@Nonnull ZipFile zipFile, @Nonnull ZipEntry zipEntry) throws IOException { in isDex() 180 protected ZipFile getZipFile() throws IOException { in getZipFile() 182 return new ZipFile(zipFilePath); in getZipFile() 189 …protected ZipDexFile loadEntry(@Nonnull ZipFile zipFile, @Nonnull ZipEntry zipEntry) throws IOExce… in loadEntry()
|
/external/python/cpython2/Doc/library/ |
D | zipfile.rst | 40 .. class:: ZipFile 56 methods of :class:`ZipFile` objects. Most users of the :mod:`zipfile` module 96 ZipFile Objects 100 .. class:: ZipFile(file[, mode[, compression[, allowZip64]]]) 130 ZipFile is also a context manager and therefore supports the 134 with ZipFile('spam.zip', 'w') as myzip: 138 Added the ability to use :class:`ZipFile` as a context manager. 141 .. method:: ZipFile.close() 147 .. method:: ZipFile.getinfo(name) 154 .. method:: ZipFile.infolist() [all …]
|
/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
D | ClassPathIterator.java | 41 private List<ZipFile> zips = new ArrayList<ZipFile>(); 90 for (ZipFile zip : zips) { in close() 119 ZipFile zip = new JarFile(file); in advance() 123 ZipFile zip = new ZipFile(file); in advance() 144 private final ZipFile zip; 147 ZipIterator(ZipFile zip) { in ZipIterator()
|
D | IoUtil.java | 25 import java.util.zip.ZipFile; 64 final ZipFile inputZip = new ZipFile(inputFile); in copyZipWithoutEmptyDirectories()
|
/external/python/cpython3/Doc/library/ |
D | zipfile.rst | 48 .. class:: ZipFile 65 methods of :class:`ZipFile` objects. Most users of the :mod:`zipfile` module 129 ZipFile Objects 133 .. class:: ZipFile(file, mode='r', compression=ZIP_STORED, allowZip64=True, \ 176 ZipFile is also a context manager and therefore supports the 180 with ZipFile('spam.zip', 'w') as myzip: 184 Added the ability to use :class:`ZipFile` as a context manager. 207 .. method:: ZipFile.close() 213 .. method:: ZipFile.getinfo(name) 220 .. method:: ZipFile.infolist() [all …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/examples/ |
D | ExpanderTest.java | 43 import org.apache.commons.compress.archivers.zip.ZipFile; 109 try (ZipFile f = new ZipFile(archive)) { in zipFileVersion() 118 try (ZipFile f = new ZipFile(archive)) { in fileCantEscapeViaAbsolutePath() 129 try (ZipFile f = new ZipFile(archive)) { in fileCantEscapeDoubleDotPath() 146 try (ZipFile f = new ZipFile(archive)) { in fileCantEscapeDoubleDotPathWithSimilarSibling()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | ZipArchiveHandle.java | 3 import java.util.zip.ZipFile; 6 final ZipFile zipFile; 8 public ZipArchiveHandle(ZipFile zipFile) { in ZipArchiveHandle()
|
D | FileMap.java | 11 import java.util.zip.ZipFile; 15 private ZipFile zipFile; 127 public boolean createFromZip(String origFileName, ZipFile zipFile, ZipEntry entry, int length, in createFromZip() 184 long guessOffsetFor(ZipFile zipFile, ZipEntry zipEntry) { in guessOffsetFor()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/jar/ |
D | JarArchiveOutputStreamTest.java | 32 import org.apache.commons.compress.archivers.zip.ZipFile; 41 ZipFile zf = null; in testJarMarker() 53 zf = new ZipFile(testArchive); in testJarMarker() 70 ZipFile.closeQuietly(zf); in testJarMarker()
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/ |
D | Bug62456849TestDataGenerator.java | 28 import java.util.zip.ZipFile; 53 try (ZipFile inputZip = new ZipFile(inputJar.toFile()); in main() 79 private static byte[] readEntry(ZipFile file, ZipEntry entry) throws IOException { in readEntry() 85 private static byte[] convertClass(ZipFile file, ZipEntry entry) throws IOException { in convertClass()
|
/external/icu/tools/ |
D | ziputil.py | 25 from zipfile import ZipFile 31 with ZipFile(path_a, 'r') as zip_a: 34 with ZipFile(path_b, 'r') as zip_b:
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/deflate64/ |
D | Deflate64BugsTest.java | 26 import org.apache.commons.compress.archivers.zip.ZipFile; 33 … try (ZipFile zfile = new ZipFile(getFile("COMPRESS-380/COMPRESS-380-readbeyondmemory.zip"))) { in readBeyondMemoryException()
|
/external/caliper/caliper/src/test/resources/com/google/caliper/bridge/ |
D | jdk7-compilation.txt | 23 487 18 n java.util.zip.ZipFile::getEntryBytes (0 bytes) (static) 24 524 19 b java.util.zip.ZipFile::ensureOpen (37 bytes) 25 525 20 b java.util.zip.ZipFile::access$400 (5 bytes) 26 527 21 b java.util.zip.ZipFile::access$200 (5 bytes) 27 527 22 b java.util.zip.ZipFile::access$300 (5 bytes) 38 588 33 n java.util.zip.ZipFile::getEntrySize (0 bytes) (static) 40 589 35 n java.util.zip.ZipFile::getEntryCSize (0 bytes) (static) 41 589 36 n java.util.zip.ZipFile::getEntryMethod (0 bytes) (static) 42 589 37 n java.util.zip.ZipFile::freeEntry (0 bytes) (static) 43 590 38 b java.util.zip.ZipFile::getZipEntry (245 bytes) [all …]
|
/external/desugar/java/com/google/devtools/build/android/desugar/io/ |
D | ZipInputFileProvider.java | 23 import java.util.zip.ZipFile; 30 private final ZipFile zipFile; 34 this.zipFile = new ZipFile(root.toFile()); in ZipInputFileProvider()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | ZipFile.java | 88 public class ZipFile implements Closeable { class 161 public ZipFile(final File f) throws IOException { in ZipFile() method in ZipFile 172 public ZipFile(final String name) throws IOException { in ZipFile() method in ZipFile 186 public ZipFile(final String name, final String encoding) throws IOException { in ZipFile() method in ZipFile 200 public ZipFile(final File f, final String encoding) throws IOException { in ZipFile() method in ZipFile 216 public ZipFile(final File f, final String encoding, final boolean useUnicodeExtraFields) in ZipFile() method in ZipFile 234 public ZipFile(final SeekableByteChannel channel) in ZipFile() method in ZipFile 254 public ZipFile(final SeekableByteChannel channel, final String encoding) in ZipFile() method in ZipFile 277 public ZipFile(final SeekableByteChannel channel, final String archiveName, in ZipFile() method in ZipFile 283 private ZipFile(final SeekableByteChannel channel, final String archiveName, in ZipFile() method in ZipFile [all …]
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/changes/ |
D | ChangeSetPerformer.java | 32 import org.apache.commons.compress.archivers.zip.ZipFile; 91 public ChangeSetResults perform(final ZipFile in, final ArchiveOutputStream out) in perform() 263 private final ZipFile in; 266 ZipFileIterator(final ZipFile in) { in ZipFileIterator()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/ |
D | SourceZip.java | 36 import java.util.zip.ZipFile; 103 try (ZipFile zipFile = new ZipFile(zipPath.toFile())) { in parse()
|