/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | ZipFileTest.java | 90 return zip.getEntry("File1.txt"); in test_finalize1() 131 InputStream is1 = zf.getInputStream(zf.getEntry("File1.txt")); in test_close() 132 InputStream is2 = zf.getInputStream(zf.getEntry("File2.txt")); in test_close() 194 java.util.zip.ZipEntry zentry = zfile.getEntry("File1.txt"); in test_getEntryLjava_lang_String() 199 zentry = zfile.getEntry("testdir1/File1.txt"); in test_getEntryLjava_lang_String() 201 zentry = zfile.getEntry("testdir1/"); in test_getEntryLjava_lang_String() 209 zentry = zfile.getEntry("testdir1/testdir1"); in test_getEntryLjava_lang_String() 220 java.util.zip.ZipEntry zentry = zfile.getEntry("File1.txt"); in test_getEntryLjava_lang_String_AndroidOnly() 225 zentry = zfile.getEntry("testdir1"); in test_getEntryLjava_lang_String_AndroidOnly() 241 java.util.zip.ZipEntry zentry = zfile.getEntry("File1.txt"); in test_getEntryLjava_lang_String_Ex() [all …]
|
D | ZipEntryTest.java | 52 zentry = zfile.getEntry("File3.txt"); in test_ConstructorLjava_lang_String() 55 zentry = zfile.getEntry(null); in test_ConstructorLjava_lang_String() 130 zentry = zfile.getEntry("File1.txt"); in test_getMethod() 133 zentry = zfile.getEntry("File3.txt"); in test_getMethod() 204 zentry = zfile.getEntry("File1.txt"); in test_setCommentLjava_lang_String() 278 zentry = zfile.getEntry("File1.txt"); in test_setExtra$B() 318 zentry = zfile.getEntry("File3.txt"); in test_setMethodI() 505 zentry = zfile.getEntry("File1.txt"); in setUp()
|
/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() 56 zentry = zfile.getEntry("testdir1"); in test_getEntryLjava_lang_String_AndroidOnly() 84 InputStream is1 = zf.getInputStream(zf.getEntry("File1.txt")); in test_close() 85 InputStream is2 = zf.getInputStream(zf.getEntry("File2.txt")); in test_close() 108 java.util.zip.ZipEntry zentry = zfile.getEntry("File1.txt"); in test_getEntryLjava_lang_String_Ex() 113 zfile.getEntry("File2.txt"); in test_getEntryLjava_lang_String_Ex() 129 zentry = zfile.getEntry("File2.txt"); in test_getInputStreamLjava_util_zip_ZipEntry()
|
D | ZipEntryTest.java | 90 assertNotNull(filename, zipFile.getEntry(filename)); in test_utf8FileNames() 136 assertNotNull(zipFile.getEntry(maxLengthName)); in testMaxLengthName() 165 assertEquals(maxLengthExtra.length, zipFile.getEntry("x").getExtra().length); in testMaxLengthExtra() 201 assertEquals(time, zipFile.getEntry("x").getTime()); in checkSetTime() 251 assertEquals(maxLengthComment, zipFile.getEntry("x").getComment()); in testMaxLengthComment() 283 assertEquals(comment, zipFile.getEntry("x").getComment()); in testCommentAndExtraInSameOrder() 284 assertTrue(Arrays.equals(extra, zipFile.getEntry("x").getExtra())); in testCommentAndExtraInSameOrder() 286 assertEquals(comment, zipFile.getEntry("y").getComment()); in testCommentAndExtraInSameOrder() 287 assertTrue(Arrays.equals(extra, zipFile.getEntry("y").getExtra())); in testCommentAndExtraInSameOrder()
|
D | OldAndroidZipFileTest.java | 132 entry1 = zipFile.getEntry("file-1"); in read2() 133 entry2 = zipFile.getEntry("file-2"); in read2() 178 stream1 = zipFile.getInputStream(zipFile.getEntry("file-0")); in read2()
|
D | ZipFileTest.java | 68 assertNotNull(zipFile.getEntry(entry2.getName())); in testZipFileOffsetNeverChangesAfterInit()
|
D | OldAndroidZipStressTest.java | 85 ZipEntry entry = zip.getEntry("AndroidManifest.xml"); in testZipStressManifest()
|
/libcore/luni/src/main/java/libcore/io/ |
D | ClassPathURLStreamHandler.java | 59 if (jarFile.getEntry(entryName) != null) { in getEntryUrlOrNull() 77 ZipEntry entry = jarFile.getEntry(entryName); in isEntryStored() 128 this.jarEntry = jarFile.getEntry(getEntryName()); in connect()
|
/libcore/benchmarks/src/benchmarks/ |
D | BufferedZipFileBenchmark.java | 59 ZipEntry entry = zipFile.getEntry("entry.data"); in timeUnbufferedRead() 72 ZipEntry entry = zipFile.getEntry("entry.data"); in timeBufferedRead()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStore2Test.java | 731 keyTest.getEntry("anAlias", new KeyStore.PasswordProtection(new char[] {})); in test_getEntry() 739 keyTest.getEntry(null, new KeyStore.PasswordProtection(new char[] {})); in test_getEntry() 744 keyTest.getEntry("anAlias", null); in test_getEntry() 747 keyTest.getEntry(null, null); in test_getEntry() 753 assertNull(keyTest.getEntry("alias", null)); in test_getEntry() 766 assertNull(keyTest.getEntry("alias", pp)); in test_getEntry() 774 assertNull(keyTest.getEntry("alias", pp)); in test_getEntry() 775 KeyStore.PrivateKeyEntry pkeActual1 = (KeyStore.PrivateKeyEntry) keyTest.getEntry("alias1", in test_getEntry() 777 KeyStore.PrivateKeyEntry pkeActual2 = (KeyStore.PrivateKeyEntry) keyTest.getEntry("alias2", in test_getEntry() 829 keyTest.getEntry("alias",pp); in test_setEntry() [all …]
|
D | KeyStore4Test.java | 564 Entry entry = keyStore.getEntry("certalias", null); in testGetEntry() 576 Entry entry = keyStore.getEntry("certalias", new KeyStore.ProtectionParameter() {}); in testGetEntry() 589 … Entry entry = keyStore.getEntry("keyalias", new KeyStore.PasswordProtection(new char[] {} )); in testGetEntry() 601 keyStore.getEntry("unknownalias", new KeyStore.PasswordProtection(new char[] {})); in testGetEntry() 614 keyStore.getEntry(null, new KeyStore.ProtectionParameter() {}); in testGetEntry()
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
D | OldJarEntryTest.java | 73 zipEntry = jarFile.getEntry(entryName); in test_ConstructorLjava_util_zip_ZipEntry() 103 zipEntry = jarFile.getEntry(entryName); in test_ConstructorLjava_lang_String()
|
D | OldJarFileTest.java | 125 InputStream is = jf.getInputStream(jf.getEntry(entryName)); in test_getInputStreamLjava_util_jar_JarEntry()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipFile.java | 352 public ZipEntry getEntry(String name) { in getEntry() method in ZipFile 359 jzentry = getEntry(jzfile, zc.getBytes(name), true); in getEntry() 369 private static native long getEntry(long jzfile, byte[] name, in getEntry() method in ZipFile 408 jzentry = getEntry(jzfile, zc.getBytesUTF8(entry.name), true); in getInputStream() 412 jzentry = getEntry(jzfile, zc.getBytes(entry.name), true); in getInputStream()
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | JarFile.java | 233 return (JarEntry)getEntry(name); in getJarEntry() 249 public ZipEntry getEntry(String name) { in getEntry() method in JarFile 250 ZipEntry ze = super.getEntry(name); in getEntry()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
D | JarEntryTest.java | 86 zipEntry = jarFile.getEntry(entryName); in test_ConstructorLjava_util_zip_ZipEntry() 119 zipEntry = jarFile.getEntry(entryName2); in testCertificatesAndCodesigners()
|
D | JarFileTest.java | 279 assertTrue(jarFile.getEntry(entryName).getName().equals(entryName)); in testConstructor_file() 283 assertTrue(jarFile.getEntry(entryName).getName().equals(entryName)); in testConstructor_file() 315 assertEquals("Error in returned entry", 311, jarFile.getEntry( in test_getEntryLjava_lang_String() 328 jarFile.getEntry(je.getName()); in test_getEntryLjava_lang_String() 336 jarFile.getEntry(je.getName()); in test_getEntryLjava_lang_String() 775 ZipEntry zipEntry = jarFile.getEntry("Test.class"); in test_JarFile_Modified_Class() 882 java.io.InputStream is = jf.getInputStream(jf.getEntry(entryName)); in test_getInputStreamLjava_util_jar_JarEntry()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
D | URLJarFile.java | 130 public ZipEntry getEntry(String name) { in getEntry() method in URLJarFile 131 ZipEntry ze = super.getEntry(name); in getEntry()
|
/libcore/ojluni/annotations/hiddenapi/java/util/zip/ |
D | ZipFile.java | 64 public java.util.zip.ZipEntry getEntry(java.lang.String name) { in getEntry() method in ZipFile 69 private static native long getEntry(long jzfile, byte[] name, boolean addSlash); in getEntry() method in ZipFile
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | ThreadLocal.java | 135 private java.lang.ThreadLocal.ThreadLocalMap.Entry getEntry(java.lang.ThreadLocal<?> key) { in getEntry() method in ThreadLocal.ThreadLocalMap
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ThreadLocal.java | 163 ThreadLocalMap.Entry e = map.getEntry(this); in get() 413 private Entry getEntry(ThreadLocal<?> key) { in getEntry() method in ThreadLocal.ThreadLocalMap
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | PathClassLoaderTest.java | 113 JarEntry signedEntry = (JarEntry) jarFile.getEntry(signedEntryName); in test_classLoader_tampered_certificate_loadsOK_nullCertificates()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | ManifestEntryVerifier.java | 179 public JarEntry getEntry() in getEntry() method in ManifestEntryVerifier
|
/libcore/luni/src/test/java/tests/targets/security/ |
D | KeyStoreTest.java | 139 PrivateKeyEntry entry = (PrivateKeyEntry) keyStore.getEntry( in testKeyStoreCreate()
|
/libcore/ojluni/annotations/hiddenapi/java/util/jar/ |
D | JarFile.java | 74 public java.util.zip.ZipEntry getEntry(java.lang.String name) { in getEntry() method in JarFile
|