Home
last modified time | relevance | path

Searched refs:jarName (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/jar/
DOldJarFileTest.java31 private final String jarName = "hyts_patch.jar"; // a 'normal' jar file field in OldJarFileTest
47 Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_File()
48 new JarFile(new File(resources, jarName)); in test_ConstructorLjava_io_File()
58 Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_lang_String()
59 String fileName = (new File(resources, jarName)).getCanonicalPath(); in test_ConstructorLjava_lang_String()
70 Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_lang_StringZ()
71 String fileName = (new File(resources, jarName)).getCanonicalPath(); in test_ConstructorLjava_lang_StringZ()
82 Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_FileZ()
83 new JarFile(new File(resources, jarName), false); in test_ConstructorLjava_io_FileZ()
94 Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_FileZI()
[all …]
DOldJarEntryTest.java33 private final String jarName = "hyts_patch.jar"; field in OldJarEntryTest
40 Support_Resources.copyFile(resources, null, jarName); in setUp()
41 jarFile = new JarFile(new File(resources, jarName)); in setUp()
/libcore/ojluni/src/main/java/sun/misc/
DJarIndex.java198 public void add(String fileName, String jarName) { in add() argument
207 addMapping(packageName, jarName); in add()
215 private void addMapping(String jarItem, String jarName) { in addMapping() argument
217 addToList(jarItem, jarName, indexMap); in addMapping()
220 addToList(jarName, jarItem, jarMap); in addMapping()
348 String jarName = listItr.next(); in merge() local
350 jarName = path.concat(jarName); in merge()
352 toIndex.addMapping(packageName, jarName); in merge()
DURLClassPath.java1099 String jarName = jarFiles[count++];
1104 url = new URL(csu, jarName);
1124 int pos = jarName.lastIndexOf("/");
1126 null : jarName.substring(0, pos + 1)));
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java75 private final String jarName = "hyts_patch.jar"; // a 'normal' jar file field in JarFileTest
168 File file = Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_File()
188 File file = Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_lang_String()
209 File file = Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_lang_StringZ()
230 File file = Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_FileZ()
251 File file = Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_FileZI()
259 File file = Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_FileZI()
277 File f = Support_Resources.copyFile(resources, null, jarName); in testConstructor_file()
295 File file = Support_Resources.copyFile(resources, null, jarName); in test_entries()
313 File file = Support_Resources.copyFile(resources, null, jarName); in test_getEntryLjava_lang_String()
[all …]
DJarInputStreamTest.java44 private String jarName; field in JarInputStreamTest
51 jarName = Support_Resources.getURL("morestuff/hyts_patch.jar"); in setUp()
57 InputStream is = new URL(jarName).openConnection().getInputStream(); in test_ConstructorLjava_io_InputStream()
97 InputStream is = new URL(jarName).openConnection().getInputStream(); in test_getNextJarEntry_Ex()
136 is = new URL(jarName).openConnection().getInputStream(); in test_getManifest()
146 InputStream is = new URL(jarName).openConnection().getInputStream(); in test_getNextJarEntry()
DJarEntryTest.java39 private final String jarName = "hyts_patch.jar"; field in JarEntryTest
56 Support_Resources.copyFile(resources, null, jarName); in setUp()
57 jarFile = new JarFile(new File(resources, jarName)); in setUp()
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DJarIndex.java74 public void add(java.lang.String fileName, java.lang.String jarName) { in add() argument
78 private void addMapping(java.lang.String jarItem, java.lang.String jarName) { in addMapping() argument