/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | ZipFileTest.java | 85 return zip.getEntry("File1.txt"); in test_finalize1() 126 InputStream is1 = zf.getInputStream(zf.getEntry("File1.txt")); in test_close() 127 InputStream is2 = zf.getInputStream(zf.getEntry("File2.txt")); in test_close() 189 java.util.zip.ZipEntry zentry = zfile.getEntry("File1.txt"); in test_getEntryLjava_lang_String() 194 zentry = zfile.getEntry("testdir1/File1.txt"); in test_getEntryLjava_lang_String() 196 zentry = zfile.getEntry("testdir1/"); in test_getEntryLjava_lang_String() 204 zentry = zfile.getEntry("testdir1/testdir1"); in test_getEntryLjava_lang_String() 215 java.util.zip.ZipEntry zentry = zfile.getEntry("File1.txt"); in test_getEntryLjava_lang_String_AndroidOnly() 220 zentry = zfile.getEntry("testdir1"); in test_getEntryLjava_lang_String_AndroidOnly() 236 java.util.zip.ZipEntry zentry = zfile.getEntry("File1.txt"); in test_getEntryLjava_lang_String_Ex() [all …]
|
D | ZipEntryTest.java | 44 zentry = zfile.getEntry("File3.txt"); in test_ConstructorLjava_lang_String() 47 zentry = zfile.getEntry(null); in test_ConstructorLjava_lang_String() 122 zentry = zfile.getEntry("File1.txt"); in test_getMethod() 125 zentry = zfile.getEntry("File3.txt"); in test_getMethod() 175 zentry = zfile.getEntry("File1.txt"); in test_setCommentLjava_lang_String() 249 zentry = zfile.getEntry("File1.txt"); in test_setExtra$B() 289 zentry = zfile.getEntry("File3.txt"); in test_setMethodI() 435 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 | 70 assertNotNull(filename, zipFile.getEntry(filename)); in test_utf8FileNames() 116 assertNotNull(zipFile.getEntry(maxLengthName)); in testMaxLengthName() 144 assertEquals(maxLengthExtra.length, zipFile.getEntry("x").getExtra().length); in testMaxLengthExtra() 195 assertEquals(maxLengthComment, zipFile.getEntry("x").getComment()); in testMaxLengthComment() 225 assertEquals(comment, zipFile.getEntry("x").getComment()); in testCommentAndExtraInSameOrder() 226 assertTrue(Arrays.equals(extra, zipFile.getEntry("x").getExtra())); in testCommentAndExtraInSameOrder() 228 assertEquals(comment, zipFile.getEntry("y").getComment()); in testCommentAndExtraInSameOrder() 229 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 | 67 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 | 78 ZipEntry entry = jarFile.getEntry(entryName); in isEntryStored() 98 ZipEntry entry = jarFile.getEntry(entryName); in findEntryWithDirectoryFallback() 100 entry = jarFile.getEntry(entryName + "/"); in findEntryWithDirectoryFallback()
|
/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/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/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/ojluni/src/main/java/java/util/zip/ |
D | ZipFile.java | 309 public ZipEntry getEntry(String name) { in getEntry() method in ZipFile 316 jzentry = getEntry(jzfile, zc.getBytes(name), true); in getEntry() 326 private static native long getEntry(long jzfile, byte[] name, in getEntry() method in ZipFile 359 jzentry = getEntry(jzfile, zc.getBytesUTF8(entry.name), true); in getInputStream() 361 jzentry = getEntry(jzfile, zc.getBytes(entry.name), true); in getInputStream()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
D | URLJarFile.java | 107 public ZipEntry getEntry(String name) { in getEntry() method in URLJarFile 108 ZipEntry ze = super.getEntry(name); in getEntry()
|
D | JarURLConnection.java | 132 jarEntry = (JarEntry)jarFile.getEntry(entryName); in connect()
|
/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 | 277 assertTrue(new JarFile(f).getEntry(entryName).getName().equals( in testConstructor_file() 279 assertTrue(new JarFile(f.getPath()).getEntry(entryName).getName() in testConstructor_file() 311 assertEquals("Error in returned entry", 311, jarFile.getEntry( in test_getEntryLjava_lang_String() 324 jarFile.getEntry(je.getName()); in test_getEntryLjava_lang_String() 332 jarFile.getEntry(je.getName()); in test_getEntryLjava_lang_String() 384 assertEquals("Error in returned entry", 311, jarFile.getEntry( in testGetJarEntry() 870 ZipEntry zipEntry = jarFile.getEntry("Test.class"); in test_JarFile_Modified_Class() 979 java.io.InputStream is = jf.getInputStream(jf.getEntry(entryName)); in test_getInputStreamLjava_util_jar_JarEntry()
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | JarFile.java | 217 return (JarEntry)getEntry(name); in getJarEntry() 233 public ZipEntry getEntry(String name) { in getEntry() method in JarFile 234 ZipEntry ze = super.getEntry(name); in getEntry()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | PathClassLoaderTest.java | 106 JarEntry signedEntry = (JarEntry) jarFile.getEntry(signedEntryName); in test_classLoader_tampered_certificate_loadsOK_nullCertificates()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ThreadLocal.java | 146 ThreadLocalMap.Entry e = map.getEntry(this); in get() 375 private Entry getEntry(ThreadLocal key) { in getEntry() method in ThreadLocal.ThreadLocalMap
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | ManifestEntryVerifier.java | 181 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/src/main/java/java/util/ |
D | HashMap.java | 348 Entry<K,V> entry = getEntry(key); in get() 380 return getEntry(key) != null; in containsKey() 388 final Entry<K,V> getEntry(Object key) { in getEntry() method in HashMap 1315 Entry<K,V> candidate = getEntry(e.getKey()); in contains() 1477 if ((e = (HashMapEntry)getEntry(key)) != null && in replace()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ClassLoaderTest.java | 232 jarFile.getEntry("anyName"); in isJarFileClosed()
|