Lines Matching refs:entry

332             assertEquals("Error in returned entry", 311, jarFile.getEntry(
369 assertEquals("Error in returned entry", 311, jarFile.getJarEntry(
405 assertEquals("Error in returned entry", 311, jarFile.getEntry(
458 JarEntry entry = e.nextElement();
459 InputStream is = jarFile.getInputStream(entry);
462 Certificate[] certs = entry.getCertificates();
524 ZipEntry entry = new ZipEntry("META-INF/");
525 entry.setSize(0);
526 jarOut.putNextEntry(entry);
527 entry = new ZipEntry(JarFile.MANIFEST_NAME);
528 entry.setSize(manBytes.length);
529 jarOut.putNextEntry(entry);
531 entry = new ZipEntry("myfile");
532 entry.setSize(1);
533 jarOut.putNextEntry(entry);
570 // This test doesn't pass on RI. If entry size is set up incorrectly,
584 JarEntry entry = new JarEntry(entryName3);
585 InputStream in = jar.getInputStream(entry);
593 JarEntry entry = new JarEntry(entryName3);
594 InputStream in = jar.getInputStream(entry);
598 assertNull("found certificates", entry.getCertificates());
605 JarEntry entry = new JarEntry(entryName3);
606 entry.setSize(1076);
607 InputStream in = jar.getInputStream(entry);
627 JarEntry entry = new JarEntry(entryName3);
628 InputStream in = jar.getInputStream(entry);
685 JarEntry entry = e.nextElement();
686 InputStream is = jarFile.getInputStream(entry);
689 Certificate[] certs = entry.getCertificates();
731 JarEntry entry = e.nextElement();
732 InputStream is = jarFile.getInputStream(entry);
734 is.skip(entry.getSize());
736 Certificate[] certs = entry.getCertificates();
737 CodeSigner[] signers = entry.getCodeSigners();
784 * algorithm-Digest-Manifest-Main-Attributes entry in .SF file.
812 * The jar is intact, but the entry object is modified.
836 * If another entry is inserted into Manifest, no security exception will be
856 * If another entry is inserted into Manifest, no security exception will be
1023 assertNull("Got stream for non-existent entry", in);
1058 * The jar is intact, but the entry object is modified.
1069 assertEquals("Wrong length of empty jar entry", -1, res);
1073 assertEquals("Wrong length of empty jar entry", -1, res);
1077 assertEquals("Wrong length of empty jar entry", -1, res);