Home
last modified time | relevance | path

Searched refs:man (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/main/java/java/util/jar/
DJarInputStream.java47 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()
DJarFile.java193 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()
DJarOutputStream.java57 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()
DManifest.java77 public Manifest(Manifest man) { in Manifest() argument
78 attr.putAll(man.getMainAttributes()); in Manifest()
79 entries.putAll(man.getEntries()); in Manifest()
DJarVerifier.java446 VerifierStream(Manifest man, in VerifierStream() argument
461 this.mev = new ManifestEntryVerifier(man); in VerifierStream()
/libcore/ojluni/src/main/java/sun/security/util/
DManifestEntryVerifier.java67 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/
DURLClassLoader.java392 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 …]
DJarURLConnection.java283 Manifest man = getManifest(); in getMainAttributes() local
284 return man != null ? man.getMainAttributes() : null; in getMainAttributes()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarOutputStreamTest.java45 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/annotations/hiddenapi/java/net/
DURLClassLoader.java81 java.lang.String pkgname, java.util.jar.Manifest man, java.net.URL url) { in getAndVerifyPackage() argument
86 java.lang.String pkgname, java.util.jar.Manifest man, java.net.URL url) { in definePackageInternal() argument
96 java.lang.String name, java.util.jar.Manifest man, java.net.URL url) in definePackage() argument
101 private boolean isSealed(java.lang.String name, java.util.jar.Manifest man) { in isSealed() argument
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DURLJarFile.java149 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/
DPackage.java491 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/
DOldURLClassLoaderTest.java205 Manifest man, in definePackage() argument
208 return super.definePackage(name, man, url); in definePackage()
/libcore/ojluni/src/main/java/sun/misc/
DURLClassPath.java1206 Manifest man = jar.getManifest();
1207 if (man != null) {
1208 Attributes attr = man.getMainAttributes();