/external/guava/guava-tests/test/com/google/common/reflect/ |
D | ClassPathTest.java | 233 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/ |
D | JarFinder.java | 142 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()
|
D | AllocationInstrument.java | 178 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/ |
D | JarFileResource.java | 163 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/ |
D | ClassPath.java | 367 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/jmonkeyengine/engine/src/tools/jme3tools/converters/ |
D | FolderConverter.java | 68 File jarFile = new File(sourceRoot.getParent(), sourceRoot.getName()+".jar"); in main() local 69 FileOutputStream out = new FileOutputStream(jarFile); in main()
|
/external/android-mock/src/com/google/android/testing/mocking/ |
D | AndroidFrameworkMockGenerator.java | 149 File jarFile = new File(getJarFileNameForVersion(version)).getAbsoluteFile(); in getJarFile() local 150 System.out.println("Using Jar File: " + jarFile.getAbsolutePath()); in getJarFile() 151 return new JarFile(jarFile); in getJarFile()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | CompatibilityTest.java | 248 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/testng/src/test/java/test/jarpackages/ |
D | JarPackagesTest.java | 13 private TestListenerAdapter init(String jarFile) { in init() argument 19 String finalPath = path + jarFile; in init()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
D | CompatibilityTest.java | 252 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | URLHandler.java | 187 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/ |
D | URLHandler.java | 191 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/ |
D | ClassPathScanner.java | 131 private Set<String> getJarEntries(File jarFile) throws IOException { in getJarEntries() argument 133 ZipFile zipFile = new ZipFile(jarFile); in getJarEntries()
|
/external/vogar/src/vogar/ |
D | ClassFileIndex.java | 157 JarFile jarFile = new JarFile(file); 158 for (Enumeration<JarEntry> e = jarFile.entries(); e.hasMoreElements(); ) {
|
/external/libgdx/extensions/gdx-jnigen/src/com/badlogic/gdx/jnigen/ |
D | JniGenSharedLibraryLoader.java | 149 private InputStream getFromJar (String jarFile, String sharedLibrary) throws IOException { in getFromJar() argument
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | URLClassLoaderTest.java | 504 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/testng/src/main/java/org/testng/ |
D | TestNG.java | 349 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()
|