Home
last modified time | relevance | path

Searched refs:JarFile (Results 1 – 25 of 50) sorted by relevance

12

/external/apache-commons-bcel/src/test/java/org/apache/bcel/
DBCELBenchmark.java24 import java.util.jar.JarFile;
55 private JarFile getJarFile() throws IOException { in getJarFile()
57 return new JarFile(javaHome + "/lib/rt.jar"); in getJarFile()
60 private Iterable<JarEntry> getClasses(JarFile jar) { in getClasses()
74 JarFile jar = getJarFile();
86 JarFile jar = getJarFile();
100 JarFile jar = getJarFile();
DPerformanceTest.java28 import java.util.jar.JarFile;
80 try (JarFile jar = new JarFile(lib)) { in test()
/external/doclava/src/com/google/doclava/
DJarUtils.java26 import java.util.jar.JarFile;
33 public static JarFile jarForClass(Class<?> clazz, JarFile defaultJar) { in jarForClass()
45 return new JarFile(url.substring(JAR_URI_PREFIX.length(), bang)); in jarForClass()
57 public static void copyResourcesToDirectory(JarFile fromJar, String jarDir, String destDir) in copyResourcesToDirectory()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/typesolvers/
DJarTypeSolver.java32 import java.util.jar.JarFile;
65 JarFile jarFile = new JarFile(pathToJar); in addPathToJar()
122 private JarFile jarFile;
126 ClasspathElement(JarFile jarFile, JarEntry entry, String path) { in ClasspathElement()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typesolvers/
DJarTypeSolver.java32 import java.util.jar.JarFile;
100 JarFile jarFile = new JarFile(pathToJar); in addPathToJar()
157 private JarFile jarFile;
160 ClasspathElement(JarFile jarFile, JarEntry entry) { in ClasspathElement()
DAarTypeSolver.java24 import java.util.jar.JarFile;
46 JarFile jarFile = new JarFile(aarFile); in AarTypeSolver()
/external/kotlinx.coroutines/publication-validator/src/test/kotlin/kotlinx/coroutines/tools/
DMavenPublicationValidator.kt24 JarFile(clazz.protectionDomain.codeSource.location.file).checkForAtomicFu() in testNoAtomicfuInMppJar()
30 JarFile(clazz.protectionDomain.codeSource.location.file).checkForAtomicFu() in testNoAtomicfuInAndroidJar()
33 private fun JarFile.checkForAtomicFu() { in checkForAtomicFu() method
/external/jarjar/src/main/com/tonicsystems/jarjar/util/
DStandaloneJarProcessor.java20 import java.util.jar.JarFile;
31 JarFile in = new JarFile(from); in run()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/pack200/
DPack200Utils.java27 import java.util.jar.JarFile;
136 JarFile jarFile = new JarFile(from)) { in normalize()
/external/turbine/javatests/com/google/turbine/main/
DMainTest.java40 import java.util.jar.JarFile;
123 try (JarFile jf = new JarFile(output.toFile())) { in readJar()
185 try (JarFile jarFile = new JarFile(output.toFile())) { in testManifest()
190 assertThat(jarFile.getEntry(JarFile.MANIFEST_NAME).getLastModifiedTime().toInstant()) in testManifest()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/classfile/
DJDKClassDumpTestCase.java30 import java.util.jar.JarFile;
62 try (JarFile jar = new JarFile(file)) { in testJar()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/
DFastServiceLoader.kt55 (JarFile(pathToJar, false)).use { file -> in <lambda>()
68 private inline fun <R> JarFile.use(block: (JarFile) -> R): R { in <lambda>()
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/
DJarInstrumentor.java13 import java.util.jar.JarFile;
53 JarFile jarFile = new JarFile(sourceFile); in instrumentJar()
128 private static byte[] getClassBytes(String className, JarFile jarFile) in getClassBytes()
/external/jline/src/src/main/java/jline/
DClassNameCompletor.java13 import java.util.jar.JarFile;
91 JarFile jf = new JarFile(file); in getClassNames()
/external/objenesis/tck/src/main/java/org/objenesis/tck/search/
DClassEnumerator.java23 import java.util.jar.JarFile;
59 JarFile jarFile; in processJarfile()
61 jarFile = new JarFile(jarPath); in processJarfile()
/external/guava/android/guava/src/com/google/common/reflect/
DClassPath.java54 import java.util.jar.JarFile;
369 protected abstract void scanJarFile(ClassLoader loader, JarFile file) throws IOException; in scanJarFile()
389 JarFile jarFile; in scanJar()
391 jarFile = new JarFile(file); in scanJar()
519 protected void scanJarFile(ClassLoader classloader, JarFile file) { in scanJarFile()
523 if (entry.isDirectory() || entry.getName().equals(JarFile.MANIFEST_NAME)) { in scanJarFile()
568 if (!resourceName.equals(JarFile.MANIFEST_NAME)) { in scanDirectory()
/external/guava/guava/src/com/google/common/reflect/
DClassPath.java54 import java.util.jar.JarFile;
369 protected abstract void scanJarFile(ClassLoader loader, JarFile file) throws IOException; in scanJarFile()
389 JarFile jarFile; in scanJar()
391 jarFile = new JarFile(file); in scanJar()
518 protected void scanJarFile(ClassLoader classloader, JarFile file) { in scanJarFile()
522 if (entry.isDirectory() || entry.getName().equals(JarFile.MANIFEST_NAME)) { in scanJarFile()
567 if (!resourceName.equals(JarFile.MANIFEST_NAME)) { in scanDirectory()
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTestHelper_ClassLoader.java25 import java.util.jar.JarFile;
154 JarFile theJar = null; in loadClassFromJar()
156 theJar = new JarFile(jarfileName); in loadClassFromJar()
/external/opencensus-java/contrib/agent/src/main/java/io/opencensus/contrib/agent/
DAgentMain.java28 import java.util.jar.JarFile;
73 new JarFile(Resources.getResourceAsTempFile("bootstrap.jar"))); in premain()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/
DJDKGenericDumpTestCase.java32 import java.util.jar.JarFile;
159 try (JarFile jar = new JarFile(file)) {
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DJarFinder.java37 import java.util.jar.JarFile;
142 JarFile jarFile; in scanJar()
144 jarFile = new JarFile(file); in scanJar()
DAllocationInstrument.java42 import java.util.jar.JarFile;
178 JarFile jarFile = null; in findAllocationInstrumentJarOnClasspath()
180 jarFile = new JarFile(file); in findAllocationInstrumentJarOnClasspath()
/external/vogar/src/vogar/
DClassFileIndex.java36 import java.util.jar.JarFile;
157 JarFile jarFile = new JarFile(file);
/external/emma/core/java12/com/vladium/emma/
DrunCommand.java14 import java.util.jar.JarFile;
297 JarFile jarfile = null; in openJarFile()
300 jarfile = new JarFile (file, false); in openJarFile()
/external/turbine/javatests/com/google/turbine/zip/
DZipTest.java38 import java.util.jar.JarFile;
110 try (JarFile jf = new JarFile(path.toFile())) { in expected()

12