Home
last modified time | relevance | path

Searched refs:jarFile (Results 1 – 25 of 58) sorted by relevance

123

/external/guava/guava-tests/test/com/google/common/reflect/
DClassPathTest.java233 File jarFile = File.createTempFile("with_circular_class_path", ".jar"); in testScan_classPathCycle() local
235 writeSelfReferencingJarFile(jarFile, "test.txt"); in testScan_classPathCycle()
237 scanner.scan(jarFile.toURI(), ClassPathTest.class.getClassLoader()); in testScan_classPathCycle()
240 jarFile.delete(); in testScan_classPathCycle()
280 File jarFile = new File("base.jar"); in testGetClassPathFromManifest_noClassPath() local
281 assertThat(ClassPath.Scanner.getClassPathFromManifest(jarFile, manifest(""))) in testGetClassPathFromManifest_noClassPath()
286 File jarFile = new File("base.jar"); in testGetClassPathFromManifest_emptyClassPath() local
287 assertThat(ClassPath.Scanner.getClassPathFromManifest(jarFile, manifestClasspath(""))) in testGetClassPathFromManifest_emptyClassPath()
292 File jarFile = new File("base.jar"); in testGetClassPathFromManifest_badClassPath() local
294 assertThat(ClassPath.Scanner.getClassPathFromManifest(jarFile, manifest)) in testGetClassPathFromManifest_badClassPath()
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DJarFinder.java142 JarFile jarFile; in scanJar() local
144 jarFile = new JarFile(file); in scanJar()
151 for (URI uri : getClassPathFromManifest(file, jarFile.getManifest())) { in scanJar()
156 jarFile.close(); in scanJar()
169 File jarFile, @Nullable Manifest manifest) { in getClassPathFromManifest() argument
180 uri = getClassPathEntry(jarFile, path); in getClassPathFromManifest()
199 @VisibleForTesting static URI getClassPathEntry(File jarFile, String path) in getClassPathEntry() argument
204 : new File(jarFile.getParentFile(), path.replace('/', File.separatorChar)).toURI(); in getClassPathEntry()
DAllocationInstrument.java178 JarFile jarFile = null; in findAllocationInstrumentJarOnClasspath() local
180 jarFile = new JarFile(file); in findAllocationInstrumentJarOnClasspath()
181 Manifest manifest = jarFile.getManifest(); in findAllocationInstrumentJarOnClasspath()
188 if (jarFile != null) { in findAllocationInstrumentJarOnClasspath()
189 jarFile.close(); in findAllocationInstrumentJarOnClasspath()
/external/jetty/src/java/org/eclipse/jetty/util/resource/
DJarFileResource.java163 JarFile jarFile=null; in exists() local
166 jarFile=_jarFile; in exists()
174 jarFile=c.getJarFile(); in exists()
183 if (jarFile!=null && _entry==null && !_directory) in exists()
186 Enumeration<JarEntry> e=jarFile.entries(); in exists()
304 JarFile jarFile=_jarFile; in listEntries() local
305 if(jarFile==null) in listEntries()
311 jarFile=jc.getJarFile(); in listEntries()
321 Enumeration<JarEntry> e=jarFile.entries(); in listEntries()
/external/guava/guava/src/com/google/common/reflect/
DClassPath.java367 JarFile jarFile; in scanJar() local
369 jarFile = new JarFile(file); in scanJar()
375 for (URI uri : getClassPathFromManifest(file, jarFile.getManifest())) { in scanJar()
378 Enumeration<JarEntry> entries = jarFile.entries(); in scanJar()
388 jarFile.close(); in scanJar()
400 File jarFile, @Nullable Manifest manifest) { in getClassPathFromManifest() argument
411 uri = getClassPathEntry(jarFile, path); in getClassPathFromManifest()
429 @VisibleForTesting static URI getClassPathEntry(File jarFile, String path) in getClassPathEntry() argument
435 return new File(jarFile.getParentFile(), path.replace('/', File.separatorChar)).toURI(); in getClassPathEntry()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DCompatibilityTest.java248 JarFile jarFile = conn.getJarFile(); in getJarTargets() local
250 Enumeration entries = jarFile.entries(); in getJarTargets()
289 … target.add(className, copyInputStream(jarFile.getInputStream(entry))); in getJarTargets()
295 jarFile.close(); in getJarTargets()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DCompatibilityTest.java252 JarFile jarFile = conn.getJarFile(); in getJarTargets() local
254 Enumeration entries = jarFile.entries(); in getJarTargets()
293 … target.add(className, copyInputStream(jarFile.getInputStream(entry))); in getJarTargets()
299 jarFile.close(); in getJarTargets()
/external/testng/src/test/java/test/jarpackages/
DJarPackagesTest.java13 private TestListenerAdapter init(String jarFile) { in init() argument
19 String finalPath = path + jarFile; in init()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DURLHandler.java187 JarFile jarFile; field in URLHandler.JarURLHandler
212 jarFile = conn.getJarFile(); in JarURLHandler()
222 Enumeration<JarEntry> entries = jarFile.entries(); in guide()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DURLHandler.java191 JarFile jarFile; field in URLHandler.JarURLHandler
216 jarFile = conn.getJarFile(); in JarURLHandler()
226 Enumeration<JarEntry> entries = jarFile.entries(); in guide()
/external/vogar/src/vogar/target/
DClassPathScanner.java131 private Set<String> getJarEntries(File jarFile) throws IOException { in getJarEntries() argument
133 ZipFile zipFile = new ZipFile(jarFile); in getJarEntries()
/external/vogar/src/vogar/
DClassFileIndex.java157 JarFile jarFile = new JarFile(file);
158 for (Enumeration<JarEntry> e = jarFile.entries(); e.hasMoreElements(); ) {
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.equinox.launcher.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.equinox.launcher_1.1.0.v20100507.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.equinox.p2.jarprocessor_1.0.200.v20100503a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.equinox.frameworkadmin_2.0.0.v20100503.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.equinox.p2.metadata.repository_1.1.0.v20100513.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.equinox.p2.metadata.generator_1.0.200.v20100503a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.equinox.p2.artifact.repository_1.1.1.R36x_v20100901.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/59/1/.cp/
DjdtCompilerAdapter.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/eclipse/ org/ ...
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DURLClassLoaderTest.java504 JarFile jarFile = new JarFile(resources.getAbsolutePath() + "/JarIndex/hyts_11.jar"); in test_findClassLjava_lang_String_Jar_Class_Path() local
505 Manifest mf = jarFile.getManifest(); in test_findClassLjava_lang_String_Jar_Class_Path()
/external/guice/extensions/persist/lib/
Dhibernate-entitymanager.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ org/ ...
/external/testng/src/main/java/org/testng/
DTestNG.java349 File jarFile = new File(m_jarPath); in initializeSuitesAndJarFile() local
353 Utils.log("TestNG", 2, "Trying to open jar file:" + jarFile); in initializeSuitesAndJarFile()
357 try (JarFile jf = new JarFile(jarFile)) { in initializeSuitesAndJarFile()
/external/owasp/sanitizer/tools/findbugs/lib/
Djdepend-2.9.jarMETA-INF/ META-INF/MANIFEST.MF jdepend/ jdepend/framework/ jdepend/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
Dant-nodeps.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...

123