Home
last modified time | relevance | path

Searched refs:getEntry (Results 1 – 25 of 36) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DZipFileTest.java90 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 …]
DZipEntryTest.java52 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/
DOldZipFileTest.java51 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()
DZipEntryTest.java90 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()
DOldAndroidZipFileTest.java132 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()
DZipFileTest.java68 assertNotNull(zipFile.getEntry(entry2.getName())); in testZipFileOffsetNeverChangesAfterInit()
/libcore/luni/src/main/java/libcore/io/
DClassPathURLStreamHandler.java59 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/
DBufferedZipFileBenchmark.java59 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/
DKeyStore2Test.java731 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 …]
DKeyStore4Test.java564 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/
DOldJarEntryTest.java73 zipEntry = jarFile.getEntry(entryName); in test_ConstructorLjava_util_zip_ZipEntry()
103 zipEntry = jarFile.getEntry(entryName); in test_ConstructorLjava_lang_String()
DOldJarFileTest.java125 InputStream is = jf.getInputStream(jf.getEntry(entryName)); in test_getInputStreamLjava_util_jar_JarEntry()
/libcore/ojluni/src/main/java/java/util/zip/
DZipFile.java352 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/
DJarFile.java233 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/
DJarEntryTest.java86 zipEntry = jarFile.getEntry(entryName); in test_ConstructorLjava_util_zip_ZipEntry()
119 zipEntry = jarFile.getEntry(entryName2); in testCertificatesAndCodesigners()
DJarFileTest.java279 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/
DURLJarFile.java130 public ZipEntry getEntry(String name) { in getEntry() method in URLJarFile
131 ZipEntry ze = super.getEntry(name); in getEntry()
DJarURLConnection.java138 jarEntry = (JarEntry)jarFile.getEntry(entryName); in connect()
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DZipFile.java64 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/
DThreadLocal.java135 private java.lang.ThreadLocal.ThreadLocalMap.Entry getEntry(java.lang.ThreadLocal<?> key) { in getEntry() method in ThreadLocal.ThreadLocalMap
/libcore/ojluni/src/main/java/java/lang/
DThreadLocal.java163 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/
DPathClassLoaderTest.java113 JarEntry signedEntry = (JarEntry) jarFile.getEntry(signedEntryName); in test_classLoader_tampered_certificate_loadsOK_nullCertificates()
/libcore/ojluni/src/main/java/sun/security/util/
DManifestEntryVerifier.java179 public JarEntry getEntry() in getEntry() method in ManifestEntryVerifier
/libcore/luni/src/test/java/tests/targets/security/
DKeyStoreTest.java139 PrivateKeyEntry entry = (PrivateKeyEntry) keyStore.getEntry( in testKeyStoreCreate()
/libcore/ojluni/annotations/hiddenapi/java/util/jar/
DJarFile.java74 public java.util.zip.ZipEntry getEntry(java.lang.String name) { in getEntry() method in JarFile

12