/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | ZipFileTest.java | 32 import java.util.zip.ZipFile; 48 ZipFile zipFile = new ZipFile(f); in testZipFileOffsetNeverChangesAfterInit() 85 try (ZipFile zipFile = new ZipFile(nonExistentFile, ZipFile.OPEN_READ)) { in test_FileNotFound() 112 try (ZipFile zipFile = new ZipFile(tempFile, cp1251)) { in test_zipFileWith_cp1251_fileNames() 118 try (ZipFile zipFile = new ZipFile(tempFile.getAbsolutePath(), cp1251)) { in test_zipFileWith_cp1251_fileNames()
|
D | AbstractZipFileTest.java | 34 import java.util.zip.ZipFile; 58 ZipFile zipFile = new ZipFile(f); in testInflatingFilesRequiringZipRefill() 126 ZipFile bad = new ZipFile(badZip); in testDuplicateEntries() 161 ZipFile zip = new ZipFile(zipFile); in testStoredEntrySize() 194 ZipFile zipFile = new ZipFile(f); in testZipFileWithLotsOfEntries() 209 ZipFile zipFile = new ZipFile(f); in testZipFileLargerThan2GiB() 420 ZipFile zipFile = new ZipFile(file); in testComments() 434 try (ZipFile zipFile = new ZipFile(file)) { in test_getComment_unset() 453 ZipFile zipFile = new ZipFile(file); in test_NUL_in_filename() 495 try (ZipFile zipFile = new ZipFile(emptyZip)) { in testConstructorWorksWhenReadingEmptyZipArchive() [all …]
|
D | Zip64FileTest.java | 29 import java.util.zip.ZipFile; 40 ZipFile zf = null; in testZip64Support_largeNumberOfEntries() 42 zf = new ZipFile(file); in testZip64Support_largeNumberOfEntries() 68 ZipFile zf = null; in testZip64Support_totalLargerThan4G() 70 zf = new ZipFile(file); in testZip64Support_totalLargerThan4G() 91 ZipFile zf = null; in testZip64Support_hugeEntry() 93 zf = new ZipFile(file); in testZip64Support_hugeEntry()
|
D | ZipEntryTest.java | 32 import java.util.zip.ZipFile; 88 ZipFile zipFile = new ZipFile(f); in test_utf8FileNames() 135 ZipFile zipFile = new ZipFile(f); in testMaxLengthName() 164 ZipFile zipFile = new ZipFile(f); in testMaxLengthExtra() 200 ZipFile zipFile = new ZipFile(f); in checkSetTime() 250 ZipFile zipFile = new ZipFile(f); in testMaxLengthComment() 281 ZipFile zipFile = new ZipFile(f); in testCommentAndExtraInSameOrder()
|
D | OldZipFileTest.java | 26 import java.util.zip.ZipFile; 74 private ZipFile zfile; 83 ZipFile zf = new ZipFile(fl); in test_close() 154 zfile = new ZipFile(tempFile); in setUp()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | ZipFileTest.java | 31 import java.util.zip.ZipFile; 42 private ZipFile zfile; 51 ZipFile zip = new ZipFile(file, ZipFile.OPEN_DELETE | ZipFile.OPEN_READ); in test_ConstructorLjava_io_FileI() 57 zip = new ZipFile(file, ZipFile.OPEN_READ); in test_ConstructorLjava_io_FileI() 64 zip = new ZipFile(file, -1); in test_ConstructorLjava_io_FileI() 77 ZipFile zip = new ZipFile(tempFileName); in test_ConstructorLjava_lang_String() 81 zip = new ZipFile(file.getAbsolutePath()); in test_ConstructorLjava_lang_String() 89 protected ZipEntry test_finalize1(ZipFile zip) { in test_finalize1() 93 protected ZipFile test_finalize2(File file) throws IOException { in test_finalize2() 94 return new ZipFile(file); in test_finalize2() [all …]
|
D | ZipEntryTest.java | 26 import java.util.zip.ZipFile; 40 private ZipFile zfile; 504 zfile = new ZipFile(f); in setUp()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipFile.java | 64 class ZipFile implements ZipConstants, Closeable { class 157 public ZipFile(String name) throws IOException { in ZipFile() method in ZipFile 186 public ZipFile(File file, int mode) throws IOException { in ZipFile() method in ZipFile 200 public ZipFile(File file) throws ZipException, IOException { in ZipFile() method in ZipFile 238 public ZipFile(File file, int mode, Charset charset) throws IOException in ZipFile() method in ZipFile 300 public ZipFile(String name, Charset charset) throws IOException in ZipFile() method in ZipFile 320 public ZipFile(File file, Charset charset) throws IOException in ZipFile() method in ZipFile 552 synchronized (ZipFile.this) { in hasNext() 563 synchronized (ZipFile.this) { in next() 574 message = getZipMessage(ZipFile.this.jzfile); in next() [all …]
|
/libcore/benchmarks/src/benchmarks/ |
D | ZipFileBenchmark.java | 27 import java.util.zip.ZipFile; 42 ZipFile zipFile = new ZipFile(file); in setUp() 51 ZipFile zf = new ZipFile(file); in timeZipFileOpen()
|
D | BufferedZipFileBenchmark.java | 27 import java.util.zip.ZipFile; 58 ZipFile zipFile = new ZipFile(file); in timeUnbufferedRead() 71 ZipFile zipFile = new ZipFile(file); in timeBufferedRead()
|
D | ZipFileReadBenchmark.java | 28 import java.util.zip.ZipFile; 41 ZipFile zipFile = new ZipFile(file); in setUp() 77 ZipFile zipFile = new ZipFile(file); in timeZipFileRead()
|
/libcore/ojluni/src/main/native/ |
D | ZipFile.c | 397 NATIVE_METHOD(ZipFile, getFileDescriptor, "(J)I"), 398 NATIVE_METHOD(ZipFile, getEntry, "(J[BZ)J"), 399 NATIVE_METHOD(ZipFile, freeEntry, "(JJ)V"), 400 NATIVE_METHOD(ZipFile, getNextEntry, "(JI)J"), 401 NATIVE_METHOD(ZipFile, close, "(J)V"), 402 NATIVE_METHOD(ZipFile, open, "(Ljava/lang/String;IJZ)J"), 403 NATIVE_METHOD(ZipFile, getTotal, "(J)I"), 404 NATIVE_METHOD(ZipFile, startsWithLOC, "(J)Z"), 405 NATIVE_METHOD(ZipFile, read, "(JJJ[BII)I"), 406 NATIVE_METHOD(ZipFile, getEntryTime, "(J)J"), [all …]
|
D | Android.bp | 29 "ZipFile.c",
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
D | OldJarFileTest.java | 25 import java.util.zip.ZipFile; 89 ZipFile.OPEN_READ); in test_ConstructorLjava_io_FileZI() 96 ZipFile.OPEN_READ); in test_ConstructorLjava_io_FileZI() 101 ZipFile.OPEN_READ | ZipFile.OPEN_DELETE + 33); in test_ConstructorLjava_io_FileZI()
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | JarFile.java | 69 class JarFile extends ZipFile { 106 this(new File(name), true, ZipFile.OPEN_READ); in JarFile() 120 this(new File(name), verify, ZipFile.OPEN_READ); in JarFile() 133 this(file, true, ZipFile.OPEN_READ); in JarFile() 148 this(file, verify, ZipFile.OPEN_READ); in JarFile()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
D | URLJarFile.java | 35 import java.util.zip.ZipFile; 89 super(file, true, ZipFile.OPEN_READ | ZipFile.OPEN_DELETE); in URLJarFile()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | PathClassLoaderTest.java | 31 import java.util.zip.ZipFile; 111 JarFile jarFile = new JarFile(f, true /* verify */, ZipFile.OPEN_READ); in test_classLoader_tampered_certificate_loadsOK_nullCertificates()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | JarURLConnectionTest.java | 35 import java.util.zip.ZipFile; 123 ZipFile jf1 = con1.getJarFile(); in test_getJarFile() 125 ZipFile jf2 = con2.getJarFile(); in test_getJarFile()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | JarIndex.java | 236 ZipFile zrf = new ZipFile(currentJar.replace in parseJars()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldJarURLConnectionTest.java | 39 import java.util.zip.ZipFile; 193 ZipFile jf1 = con1.getJarFile(); in test_getJarFile() 195 ZipFile jf2 = con2.getJarFile(); in test_getJarFile()
|
/libcore/ojluni/annotations/hiddenapi/java/util/jar/ |
D | JarFile.java | 32 public class JarFile extends java.util.zip.ZipFile {
|
/libcore/expectations/ |
D | knownfailures.txt | 38 "java.util.zip.ZipFile.LargeZipFile", 39 "java.util.zip.ZipFile.ManyEntries",
|
/libcore/ |
D | openjdk_java_files.bp | 1216 "ojluni/src/main/java/java/util/zip/ZipFile.java",
|