Searched refs:zf (Results 1 – 8 of 8) sorted by relevance
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | Zip64FileTest.java | 40 ZipFile zf = null; in testZip64Support_largeNumberOfEntries() local 42 zf = new ZipFile(file); in testZip64Support_largeNumberOfEntries() 43 assertEquals(65550, zf.size()); in testZip64Support_largeNumberOfEntries() 45 Enumeration<? extends ZipEntry> entries = zf.entries(); in testZip64Support_largeNumberOfEntries() 51 is = zf.getInputStream(ze); in testZip64Support_largeNumberOfEntries() 60 if (zf != null) { in testZip64Support_largeNumberOfEntries() 61 zf.close(); in testZip64Support_largeNumberOfEntries() 68 ZipFile zf = null; in testZip64Support_totalLargerThan4G() local 70 zf = new ZipFile(file); in testZip64Support_totalLargerThan4G() 71 assertEquals(5, zf.size()); in testZip64Support_totalLargerThan4G() [all …]
|
D | OldZipFileTest.java | 83 ZipFile zf = new ZipFile(fl); in test_close() local 84 InputStream is1 = zf.getInputStream(zf.getEntry("File1.txt")); in test_close() 85 InputStream is2 = zf.getInputStream(zf.getEntry("File2.txt")); in test_close() 90 zf.close(); in test_close()
|
/libcore/ojluni/src/test/java/util/zip/ZipFile/ |
D | TestCleaner.java | 121 var zf = new ZipFile(zip); in openAndCloseZipFile() local 122 var es = zf.entries(); in openAndCloseZipFile() 124 zf.getInputStream(es.nextElement()).read(); in openAndCloseZipFile() 133 Object zfRes = fieldRes.get(zf); in openAndCloseZipFile()
|
/libcore/ojluni/src/test/java/util/zip/ |
D | TestLocalTime.java | 115 ZipFile zf = new ZipFile(zpath.toFile()); in test() local 116 ze = zf.getEntry("TestLocalTime.java"); in test() 118 zf.close(); in test()
|
D | TestExtraTime.java | 181 try (ZipFile zf = new ZipFile(zpath.toFile())) { in test0() argument 182 ze = zf.getEntry("TestExtraTime.java"); in test0() 309 try (ZipFile zf = new ZipFile(zpath.toFile())) { in testTagOnlyHandling() argument 310 ZipEntry ze = zf.getEntry("TestExtraTime.java"); in testTagOnlyHandling() 357 try (ZipFile zf = new ZipFile(zpath.toFile())) { in testNullMtime() argument 358 ZipEntry ze = zf.getEntry("TestExtraTime.java"); in testNullMtime()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | ZipFileTest.java | 130 ZipFile zf = new ZipFile(fl); in test_close() local 131 InputStream is1 = zf.getInputStream(zf.getEntry("File1.txt")); in test_close() 132 InputStream is2 = zf.getInputStream(zf.getEntry("File2.txt")); in test_close() 137 zf.close(); in test_close()
|
/libcore/benchmarks/src/benchmarks/ |
D | ZipFileBenchmark.java | 51 ZipFile zf = new ZipFile(file); in timeZipFileOpen() local
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipFile.java | 759 CleanableResource(ZipFile zf, ZipCoder zc, File file, int mode) throws IOException { in CleanableResource() argument 760 this(zf, zc, file, mode, false); in CleanableResource() 764 CleanableResource(ZipFile zf, ZipCoder zc, File file, in CleanableResource() argument 766 this.cleanable = CleanerFactory.cleaner().register(zf, this); in CleanableResource()
|