Searched refs:zentry (Results 1 – 5 of 5) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | ZipEntryTest.java | 39 private ZipEntry zentry; field in ZipEntryTest 52 zentry = zfile.getEntry("File3.txt"); in test_ConstructorLjava_lang_String() 53 assertNotNull("Failed to create ZipEntry", zentry); in test_ConstructorLjava_lang_String() 55 zentry = zfile.getEntry(null); in test_ConstructorLjava_lang_String() 64 zentry = new ZipEntry(s.toString()); in test_ConstructorLjava_lang_String() 70 zentry = new ZipEntry(s.toString()); in test_ConstructorLjava_lang_String() 76 zentry = new ZipEntry(n); in test_ConstructorLjava_lang_String() 99 assertTrue("Incorrect compressed size returned", zentry in test_getCompressedSize() 108 assertEquals("Failed to get Crc", orgCrc, zentry.getCrc()); in test_getCrc() 117 zentry.getExtra()); in test_getExtra() [all …]
|
D | ZipFileTest.java | 194 java.util.zip.ZipEntry zentry = zfile.getEntry("File1.txt"); in test_getEntryLjava_lang_String() local 195 assertNotNull("Could not obtain ZipEntry", zentry); in test_getEntryLjava_lang_String() 199 zentry = zfile.getEntry("testdir1/File1.txt"); in test_getEntryLjava_lang_String() 200 assertNotNull("Could not obtain ZipEntry: testdir1/File1.txt", zentry); in test_getEntryLjava_lang_String() 201 zentry = zfile.getEntry("testdir1/"); in test_getEntryLjava_lang_String() 202 assertNotNull("Could not obtain ZipEntry: testdir1/", zentry); in test_getEntryLjava_lang_String() 203 in = zfile.getInputStream(zentry); in test_getEntryLjava_lang_String() 209 zentry = zfile.getEntry("testdir1/testdir1"); in test_getEntryLjava_lang_String() 210 assertNotNull("Could not obtain ZipEntry: testdir1/testdir1", zentry); in test_getEntryLjava_lang_String() 211 in = zfile.getInputStream(zentry); in test_getEntryLjava_lang_String() [all …]
|
D | ZipInputStreamTest.java | 41 private ZipEntry zentry; field in ZipInputStreamTest 86 zentry = zis.getNextEntry(); in test_ConstructorLjava_io_InputStream() 118 zentry = zis.getNextEntry(); in test_closeEntry() 159 zentry = zis.getNextEntry(); in test_read$BII() 160 byte[] rbuf = new byte[(int) zentry.getSize()]; in test_read$BII() 180 while ((zentry = zis.getNextEntry()) != null) { in testReadOneByteAtATime() 181 zentry.getName(); in testReadOneByteAtATime() 190 zentry = zis.getNextEntry(); in test_skipJ() 191 byte[] rbuf = new byte[(int) zentry.getSize()]; in test_skipJ() 196 zentry = zis.getNextEntry(); in test_skipJ() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | OldZipFileTest.java | 51 java.util.zip.ZipEntry zentry = zfile.getEntry("File1.txt"); in test_getEntryLjava_lang_String_AndroidOnly() local 52 assertNotNull("Could not obtain ZipEntry", zentry); in test_getEntryLjava_lang_String_AndroidOnly() 56 zentry = zfile.getEntry("testdir1"); in test_getEntryLjava_lang_String_AndroidOnly() 57 assertNotNull("Must be able to obtain ZipEntry: testdir1", zentry); in test_getEntryLjava_lang_String_AndroidOnly() 58 in = zfile.getInputStream(zentry); in test_getEntryLjava_lang_String_AndroidOnly() 108 java.util.zip.ZipEntry zentry = zfile.getEntry("File1.txt"); in test_getEntryLjava_lang_String_Ex() local 109 assertNotNull("Could not obtain ZipEntry", zentry); in test_getEntryLjava_lang_String_Ex() 126 ZipEntry zentry = null; in test_getInputStreamLjava_util_zip_ZipEntry() local 129 zentry = zfile.getEntry("File2.txt"); in test_getInputStreamLjava_util_zip_ZipEntry() 132 is = zfile.getInputStream(zentry); in test_getInputStreamLjava_util_zip_ZipEntry()
|
/libcore/ojluni/src/main/native/ |
D | ZipFile.c | 195 jlong zentry) in ZipFile_freeEntry() argument 198 jzentry *ze = jlong_to_ptr(zentry); in ZipFile_freeEntry() 211 ZipFile_getEntryMethod(JNIEnv *env, jclass cls, jlong zentry) in ZipFile_getEntryMethod() argument 213 jzentry *ze = jlong_to_ptr(zentry); in ZipFile_getEntryMethod() 218 ZipFile_getEntryFlag(JNIEnv *env, jclass cls, jlong zentry) in ZipFile_getEntryFlag() argument 220 jzentry *ze = jlong_to_ptr(zentry); in ZipFile_getEntryFlag() 225 ZipFile_getEntryCSize(JNIEnv *env, jclass cls, jlong zentry) in ZipFile_getEntryCSize() argument 227 jzentry *ze = jlong_to_ptr(zentry); in ZipFile_getEntryCSize() 232 ZipFile_getEntrySize(JNIEnv *env, jclass cls, jlong zentry) in ZipFile_getEntrySize() argument 234 jzentry *ze = jlong_to_ptr(zentry); in ZipFile_getEntrySize() [all …]
|