/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 | ZipFileTest.java | 69 assertNotNull(zipFile.getEntry(entry2.getName())); in testZipFileOffsetNeverChangesAfterInit()
|
D | AbstractZipFileTest.java | 163 ZipEntry ze = zip.getEntry(name); in testStoredEntrySize() 422 assertEquals(expectedEntryComment, zipFile.getEntry("a").getComment()); in testComments()
|
/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/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 | 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/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()
|
/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/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()
|
D | JarURLConnection.java | 138 jarEntry = (JarEntry)jarFile.getEntry(entryName); in connect()
|
/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/ojluni/src/main/java/sun/security/util/ |
D | ManifestEntryVerifier.java | 179 public JarEntry getEntry() in getEntry() method in ManifestEntryVerifier
|
/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/annotations/hiddenapi/java/util/jar/ |
D | JarFile.java | 74 public java.util.zip.ZipEntry getEntry(java.lang.String name) { in getEntry() method in JarFile
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ClassLoaderTest.java | 232 jarFile.getEntry("anyName"); in isJarFileClosed()
|
/libcore/ojluni/src/main/java/java/util/ |
D | TreeMap.java | 233 return getEntry(key) != null; in containsKey() 279 TreeMapEntry<K,V> p = getEntry(key); in get() 343 final TreeMapEntry<K,V> getEntry(Object key) { in getEntry() method in TreeMap 604 TreeMapEntry<K,V> p = getEntry(key); in remove() 982 TreeMapEntry<K,V> p = getEntry(key); in replace() 992 TreeMapEntry<K,V> p = getEntry(key); in replace() 1072 TreeMapEntry<K,V> p = getEntry(entry.getKey()); in contains() 1081 TreeMapEntry<K,V> p = getEntry(entry.getKey()); in remove() 1661 TreeMapEntry<?, ?> node = m.getEntry(key); in contains() 1673 TreeMapEntry<K,V> node = m.getEntry(key); in remove()
|
/libcore/support/src/test/java/libcore/java/security/ |
D | TestKeyStore.java | 837 PrivateKeyEntry privateKey = (PrivateKeyEntry) keyStore.getEntry(alias, password); in privateKey() 893 (TrustedCertificateEntry) keyStore.getEntry(alias, null); in issuer() 985 (TrustedCertificateEntry) keyStore.getEntry(alias, null); in rootCertificate() 1026 return keyStore.getEntry(alias, null); in entryByAlias()
|