Searched refs:entries (Results 1 - 25 of 26) sorted by relevance

12

/libcore/luni/src/main/java/java/util/jar/
H A DManifest.java37 * {@code JarFile} and its entries.
61 private HashMap<String, Attributes> entries = new HashMap<String, Attributes>(); field in class:Manifest
110 entries = (HashMap<String, Attributes>) ((HashMap<String, Attributes>) man
126 entries.clear();
150 return entries;
216 im.readEntries(entries, chunks);
314 Iterator<?> entries = manifest.mainAttributes.keySet().iterator();
315 while (entries.hasNext()) {
316 Attributes.Name name = (Attributes.Name) entries.next();
327 Attributes attributes = manifest.entries
[all...]
H A DManifestReader.java32 // but a manifest might have thousands of entries.
57 public void readEntries(Map<String, Attributes> entries, Map<String, Manifest.Chunk> chunks) throws IOException { argument
65 Attributes entry = entries.get(entryNameValue);
88 entries.put(entryNameValue, entry);
H A DJarVerifier.java50 * files) agree with the JAR entries information found in the JAR manifest.
244 * the associated JAR file has no entries at all in its {@code
314 HashMap<String, Attributes> entries = new HashMap<String, Attributes>();
317 im.readEntries(entries, null);
347 Iterator<Map.Entry<String, Attributes>> it = entries.entrySet().iterator();
361 signatures.put(signatureFile, entries);
430 * Remove all entries from the internal collection of data held about each
453 * @return all of the {@code Certificate} entries for the signer of the JAR
H A DJarFile.java32 * {@code JarFile} is used to read jar entries and their associated data from
230 * @return the {@code Enumeration} containing the JAR entries.
235 public Enumeration<JarEntry> entries() { method in class:JarFile
256 return new JarFileEnumerator(super.entries(), this);
314 * if there is a problem reading the jar file entries.
317 // Get all meta directory entries
430 Enumeration<? extends ZipEntry> allEntries = entries();
/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
H A DJarFileTest.java240 * java.util.jar.JarFile#entries()
249 Enumeration<JarEntry> e = jarFile.entries();
262 Enumeration<JarEntry> enumeration = jarFile.entries();
271 enumeration = jarFile.entries();
297 Enumeration<JarEntry> enumeration = jarFile.entries();
304 enumeration = jarFile.entries();
334 Enumeration<JarEntry> enumeration = jarFile.entries();
341 enumeration = jarFile.entries();
412 Enumeration<JarEntry> e = jarFile.entries();
616 Enumeration<JarEntry> e = jarFile.entries();
[all...]
/libcore/luni/src/main/java/java/security/acl/
H A DAcl.java142 Enumeration<AclEntry> entries(); method in interface:Acl
/libcore/luni/src/test/java/libcore/java/util/
H A DOldAbstractMapTest.java102 private final List<Entry<String, String>> entries = new ArrayList<Entry<String, String>>(); field in class:OldAbstractMapTest.AMT
106 entries.add(new AbstractMap.SimpleEntry<String, String>(key, value));
113 return entries.iterator();
116 return entries.size();
H A DEvilMapTest.java32 private final Set<Entry<K,V>> entries = new HashSet<Entry<K,V>>(); field in class:EvilMapTest.EvilMap
35 entries.add(new AbstractMap.SimpleEntry("hi", "there"));
40 // ...but potentially return many entries.
41 @Override public Set<Entry<K, V>> entrySet() { return entries; }
/libcore/crypto/src/main/java/org/conscrypt/
H A DCertPinManager.java37 private final Map<String, PinListEntry> entries = new HashMap<String, PinListEntry>(); field in class:CertPinManager
92 entries.put(pin.getCommonName(), pin);
141 return entries.get(cn);
149 return entries.get(cn);
162 for (String cn : entries.keySet()) {
/libcore/luni/src/main/native/
H A Djava_io_File.cpp137 // to 'entries'.
138 static bool readDirectory(JNIEnv* env, jstring javaPath, DirEntries& entries) { argument
149 entries.push_back(filename);
156 // Read the directory entries into an intermediate form.
157 DirEntries entries; local
158 if (!readDirectory(env, javaPath, entries)) {
162 return toStringArray(env, entries);
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/
H A DX509CRLImpl.java73 private ArrayList entries; field in class:X509CRLImpl
85 // indicates whether the crl entries have already been retrieved
197 * Retrieves the crl entries (TBSCertList.RevokedCertificate objects)
208 entries = new ArrayList(entriesSize);
225 entries.add(new X509CRLEntryImpl(rcert, rcertIssuer));
245 if (entries == null) {
257 X509CRLEntry entry = (X509CRLEntry) entries.get(i);
278 X509CRLEntry entry = (X509CRLEntry) entries.get(i);
297 if (entries == null) {
301 X509CRLEntry entry = (X509CRLEntry) entries
[all...]
/libcore/luni/src/test/java/libcore/java/util/zip/
H A DOldAndroidZipStressTest.java103 Enumeration<? extends ZipEntry> entries = zip.entries();
104 while (entries.hasMoreElements()) {
105 InputStream stream = zip.getInputStream(entries.nextElement());
H A DZipFileTest.java48 for (Enumeration<? extends ZipEntry> e = zipFile.entries(); e.hasMoreElements(); ) {
89 * Make sure we don't fail silently for duplicate entries.
181 for (Enumeration<? extends ZipEntry> e = zipFile.entries(); e.hasMoreElements(); ) {
195 for (Enumeration<? extends ZipEntry> e = zipFile.entries(); e.hasMoreElements(); ) {
H A DOldAndroidZipFileTest.java106 for (fileList = zipFile.entries(); fileList.hasMoreElements();) {
117 * Read compressed data from two different entries at the same time,
/libcore/luni/src/main/java/java/util/zip/
H A DZipFile.java42 * <p>If you only want to iterate through all the files (using {@link #entries()}, you should
103 private final LinkedHashMap<String, ZipEntry> entries = new LinkedHashMap<String, ZipEntry>(); field in class:ZipFile
199 * Returns an enumeration of the entries. The entries are listed in the
202 * <p>If you only need to iterate over the entries in a zip file, and don't
208 public Enumeration<? extends ZipEntry> entries() { method in class:ZipFile
210 final Iterator<ZipEntry> iterator = entries.values().iterator();
248 ZipEntry ze = entries.get(entryName);
250 ze = entries.get(entryName + "/");
327 * @return the number of entries i
[all...]
H A DZipOutputStream.java36 * entries, this extension can write uncompressed entries as well.
63 * Indicates deflated entries.
68 * Indicates uncompressed entries.
76 private final HashSet<String> entries = new HashSet<String>(); field in class:ZipOutputStream
208 * Indicates that all entries have been written to the stream. Any terminal
223 if (entries.isEmpty()) {
224 throw new ZipException("No entries");
234 writeShort(cDir, entries.size()); // Number of entries
[all...]
/libcore/luni/src/main/java/org/apache/harmony/security/utils/
H A DJarUtils.java191 Collection<?> entries = a.getValue().getValues(ASN1OctetString.getInstance());
192 if (entries.size() != 1) {
195 existingDigest = (byte[]) entries.iterator().next();
/libcore/luni/src/main/java/java/util/prefs/
H A DXMLParser.java367 NodeList entries = selectNodeList(node, "map/entry");
370 int entryNumber = entries.getLength();
376 Element entry = (Element) entries.item(i);
453 NodeList entries = selectNodeList(document.getDocumentElement(), "entry");
454 int length = entries.getLength();
456 Element node = (Element) entries.item(i);
/libcore/luni/src/main/java/java/util/
H A DProperties.java627 NodeList entries = doc.getElementsByTagName("entry");
628 if (entries == null) {
631 int entriesListLength = entries.getLength();
634 Element entry = (Element) entries.item(i);
/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
H A DZipFileTest.java192 * java.util.zip.ZipFile#entries()
195 // Test for method java.util.Enumeration java.util.zip.ZipFile.entries()
196 Enumeration<? extends ZipEntry> enumer = zfile.entries();
202 assertTrue("Incorrect number of entries returned: " + c, c == 6);
204 Enumeration<? extends ZipEntry> enumeration = zfile.entries();
219 zfile.entries();
/libcore/dalvik/src/main/java/dalvik/system/
H A DDexFile.java244 public Enumeration<String> entries() { method in class:DexFile
/libcore/luni/src/test/java/libcore/java/util/jar/
H A DOldJarFileTest.java106 jarFile.entries();
/libcore/luni/src/test/java/libcore/java/security/cert/
H A DX509CRLTest.java361 Set<? extends X509CRLEntry> entries = crlRsa.getRevokedCertificates();
362 assertEquals(1, entries.size());
363 for (X509CRLEntry e : entries) {
/libcore/luni/src/test/java/libcore/java/net/
H A DOldJarURLConnectionTest.java221 conn.getJarFile().entries();
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 367 milliseconds

12