/libcore/ojluni/src/main/java/java/text/ |
H A D | EntryPair.java | 42 * This is used for building contracting character tables. entryName 48 public String entryName; field in class:EntryPair 56 this.entryName = name;
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
H A D | OldJarFileTest.java | 32 private final String entryName = "foo/bar/A.class"; field in class:OldJarFileTest 125 InputStream is = jf.getInputStream(jf.getEntry(entryName));
|
H A D | OldJarEntryTest.java | 34 private final String entryName = "foo/bar/A.class"; field in class:OldJarEntryTest 56 JarEntry newJarEntry = new JarEntry(jarFile.getJarEntry(entryName)); 73 zipEntry = jarFile.getEntry(entryName); 77 assertEquals("Wrong entry constructed--wrong name", entryName, jarEntry 103 zipEntry = jarFile.getEntry(entryName); 105 jarEntry = new JarEntry(entryName); 107 assertEquals("Wrong entry constructed--wrong name", entryName, jarEntry 129 JarEntry je = jarFile.getJarEntry(entryName); 133 assertEquals("Wrong entry constructed--wrong name", entryName, jarEntry
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | JarURLConnection.java | 140 private String entryName; field in class:JarURLConnection 176 entryName = null; 178 /* if ! is the last letter of the innerURL, entryName is null */ 180 entryName = spec.substring(separator, spec.length()); 181 entryName = ParseUtil.decode (entryName); 202 return entryName; 249 return getJarFile().getJarEntry(entryName);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
H A D | JarEntryTest.java | 41 private final String entryName = "foo/bar/A.class"; field in class:JarEntryTest 72 JarEntry newJarEntry = new JarEntry(jarFile.getJarEntry(entryName)); 86 zipEntry = jarFile.getEntry(entryName); 90 assertEquals("Wrong entry constructed--wrong name", entryName, jarEntry
|
H A D | JarFileTest.java | 98 private final String entryName = "foo/bar/A.class"; field in class:JarFileTest 278 assertTrue(new JarFile(f).getEntry(entryName).getName().equals( 279 entryName)); 280 assertTrue(new JarFile(f.getPath()).getEntry(entryName).getName() 281 .equals(entryName)); 313 entryName).getSize()); 350 entryName).getSize()); 386 entryName).getSize()); 980 java.io.InputStream is = jf.getInputStream(jf.getEntry(entryName));
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | ClassPathURLStreamHandler.java | 59 public URL getEntryUrlOrNull(String entryName) { argument 60 if (findEntryWithDirectoryFallback(jarFile, entryName) != null) { 64 String encodedName = ParseUtil.encodePath(entryName, false); 77 public boolean isEntryStored(String entryName) { argument 78 ZipEntry entry = jarFile.getEntry(entryName); 97 static ZipEntry findEntryWithDirectoryFallback(JarFile jarFile, String entryName) { argument 98 ZipEntry entry = jarFile.getEntry(entryName); 99 if (entry == null && !entryName.endsWith("/") ) { 100 entry = jarFile.getEntry(entryName + "/");
|
/libcore/tzdata/shared2/src/main/libcore/tzdata/shared2/ |
H A D | TimeZoneDistro.java | 77 private static byte[] getEntryContents(InputStream is, String entryName) throws IOException { argument 83 if (!entryName.equals(name)) { 88 throw new IOException("Entry " + entryName + " too large: " + entry.getSize());
|
/libcore/luni/src/test/java/libcore/io/ |
H A D | ClassPathURLStreamHandlerTest.java | 103 String entryName, String expectedJarRelativeURI) throws IOException { 106 URL urlOrNull = streamHandler.getEntryUrlOrNull(entryName); 107 assertNotNull("URL was unexpectedly null for " + entryName, urlOrNull); 151 File jarFile, String entryName, URLStreamHandler streamHandler) throws IOException { 153 URL standardUrl = createJarUrl(jarFile, entryName, null /* use default stream handler */); 160 URL actualUrl = createJarUrl(jarFile, entryName, streamHandler); 168 private static void assertOpenConnectionOk(File jarFile, String entryName, argument 170 URL standardUrl = createJarUrl(jarFile, entryName, null /* use default stream handler */); 174 URL actualUrl = createJarUrl(jarFile, entryName, streamHandler); 217 private static URL createJarUrl(File jarFile, String entryName, URLStreamHandle argument 102 checkGetEntryUrlOrNull(ClassPathURLStreamHandler streamHandler, String entryName, String expectedJarRelativeURI) argument 150 assertOpenConnectionConnectFails( File jarFile, String entryName, URLStreamHandler streamHandler) argument [all...] |
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
H A D | JarURLConnection.java | 68 private String entryName; field in class:JarURLConnection 85 entryName = getEntryName(); 131 if ((entryName != null)) { 132 jarEntry = (JarEntry)jarFile.getEntry(entryName); 140 throw new FileNotFoundException("JAR entry " + entryName + 154 if (entryName == null) { 158 throw new FileNotFoundException("JAR entry " + entryName + 194 if (entryName == null) { 204 if (entryName == null) { 218 contentType = guessContentTypeFromName(entryName); [all...] |
/libcore/ojluni/src/main/native/ |
H A D | zip_util.c | 702 const char* entryName = (const char *)cp + CENHDR; local 703 if (!isValidEntryName(entryName, nlen)) { 708 if (isMetaName(entryName, nlen)) { 716 entries[i].hash = hashN(entryName, nlen); 730 if (strncmp(entryName, chainName, nlen) == 0) {
|