/libcore/ojluni/src/main/java/java/util/jar/ |
D | JarInputStream.java | 47 private Manifest man; field in JarInputStream 93 man = new Manifest(); in checkManifest() 95 man.read(new ByteArrayInputStream(bytes)); in checkManifest() 99 mev = new ManifestEntryVerifier(man); in checkManifest() 126 return man; in getManifest() 228 if (man != null) { in createZipEntry() 229 e.attr = man.getAttributes(name); in createZipEntry()
|
D | JarFile.java | 193 Manifest man = manifest; in getManifestFromReference() local 194 if (man == null) { in getManifestFromReference() 202 man = new Manifest(new ByteArrayInputStream(b)); in getManifestFromReference() 207 man = new Manifest(super.getInputStream(manEntry)); in getManifestFromReference() 211 manifest = man; in getManifestFromReference() 214 return man; in getManifestFromReference() 300 Manifest man = JarFile.this.getManifest(); in getAttributes() local 301 if (man != null) { in getAttributes() 302 return man.getAttributes(getName()); in getAttributes()
|
D | JarOutputStream.java | 57 public JarOutputStream(OutputStream out, Manifest man) throws IOException { in JarOutputStream() argument 59 if (man == null) { in JarOutputStream() 64 man.write(new BufferedOutputStream(this)); in JarOutputStream()
|
D | Manifest.java | 77 public Manifest(Manifest man) { in Manifest() argument 78 attr.putAll(man.getMainAttributes()); in Manifest() 79 entries.putAll(man.getEntries()); in Manifest()
|
D | JarVerifier.java | 446 VerifierStream(Manifest man, in VerifierStream() argument 461 this.mev = new ManifestEntryVerifier(man); in VerifierStream()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | ManifestEntryVerifier.java | 67 private Manifest man; field in ManifestEntryVerifier 78 public ManifestEntryVerifier(Manifest man) in ManifestEntryVerifier() argument 83 this.man = man; in ManifestEntryVerifier() 103 if (man == null || name == null) { in setEntry() 110 Attributes attr = man.getAttributes(name); in setEntry() 115 attr = man.getAttributes("./"+name); in setEntry() 117 attr = man.getAttributes("/"+name); in setEntry()
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLClassLoader.java | 392 Manifest man, URL url) { in getAndVerifyPackage() argument 405 if ((man != null) && isSealed(pkgname, man)) { in getAndVerifyPackage() 417 private void definePackageInternal(String pkgname, Manifest man, URL url) in definePackageInternal() argument 419 if (getAndVerifyPackage(pkgname, man, url) == null) { in definePackageInternal() 421 if (man != null) { in definePackageInternal() 422 definePackage(pkgname, man, url); in definePackageInternal() 429 if (getAndVerifyPackage(pkgname, man, url) == null) { in definePackageInternal() 450 Manifest man = res.getManifest(); in defineClass() local 451 definePackageInternal(pkgname, man, url); in defineClass() 488 protected Package definePackage(String name, Manifest man, URL url) in definePackage() argument [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
D | JarOutputStreamTest.java | 45 Manifest man = new Manifest(); in test_JarOutputStreamLjava_io_OutputStreamLjava_util_jar_Manifest() local 46 Attributes att = man.getMainAttributes(); in test_JarOutputStreamLjava_io_OutputStreamLjava_util_jar_Manifest() 53 new JarOutputStream(fos, man); in test_JarOutputStreamLjava_io_OutputStreamLjava_util_jar_Manifest()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
D | URLJarFile.java | 149 Manifest man = new Manifest(); in getManifest() local 150 Attributes attr = man.getMainAttributes(); in getManifest() 155 Map<String, Attributes> entries = man.getEntries(); in getManifest() 162 return man; in getManifest()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Package.java | 491 private Package(String name, Manifest man, URL url, ClassLoader loader) { in Package() argument 501 Attributes attr = man.getAttributes(path); in Package() 511 attr = man.getMainAttributes(); in Package() 606 Manifest man = mans.get(fn); in defineSystemPackage() local 607 if (man != null) { in defineSystemPackage() 608 pkg = new Package(name, man, url, null); in defineSystemPackage()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldURLClassLoaderTest.java | 205 Manifest man, in definePackage() argument 208 return super.definePackage(name, man, url); in definePackage()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | URLClassPath.java | 1206 Manifest man = jar.getManifest(); 1207 if (man != null) { 1208 Attributes attr = man.getMainAttributes();
|