Searched defs:entry (Results 1 - 25 of 26) sorted by relevance

12

/libcore/ojluni/src/main/java/sun/misc/
H A DMetaIndex.java233 public boolean mayContain(String entry) { argument
237 if (isClassOnlyJar && !entry.endsWith(".class")){
243 if (entry.startsWith(conts[i])) {
H A DURLClassPath.java634 // entry recorded in meta-index file or such jar file is
752 final JarEntry entry) {
774 { return jar.getInputStream(entry); }
776 { return (int)entry.getSize(); }
780 { return entry.getCertificates(); };
782 { return entry.getCodeSigners(); };
799 ZipEntry entry;
802 entry = enum_.nextElement();
803 entryName = entry.getName();
839 final JarEntry entry
751 checkResource(final String name, boolean check, final JarEntry entry) argument
[all...]
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
H A DAuthCache.java39 * Put an entry in the cache. pkey is a string specified as follows:
59 * Get an entry from the cache based on pkey as described above, but also
60 * using a pathname (skey) and the cache must return an entry
66 * remove the entry from the cache whose pkey is specified and
67 * whose path is equal to entry.path. If entry is null then
70 public void remove (String pkey, AuthCacheValue entry); argument
H A DAuthCacheImpl.java95 public synchronized void remove (String pkey, AuthCacheValue entry) { argument
100 if (entry == null) {
107 if (entry.equals(inf)) {
/libcore/ojluni/src/main/java/java/security/acl/
H A DAcl.java37 * entries. Each ACL entry, of interface type AclEntry, contains a
40 * group). Additionally, each ACL entry is specified as being either
47 * <ul> <li>Each principal can have at most one positive ACL entry and
48 * one negative entry; that is, multiple positive or negative ACL
49 * entries are not allowed for any principal. Each entry specifies
53 * <li>If there is no entry for a particular principal, then the
56 * <li>If there is a positive entry that grants a principal a
57 * particular permission, and a negative entry that denies the
81 * call the ACL's <code>addEntry</code> method to add a new ACL entry
119 * Adds an ACL entry t
139 addEntry(Principal caller, AclEntry entry) argument
155 removeEntry(Principal caller, AclEntry entry) argument
[all...]
/libcore/ojluni/src/main/java/java/text/
H A DMergeCollation.java45 * Patterns are strings of the form <entry>*, where <entry> has the
47 * <pattern> := <entry>*
48 * <entry> := <separator><chars>{"/"<extension>}
94 PatternEntry entry = (PatternEntry) patterns.get(i);
95 if (entry.extension.length() != 0) {
98 extList.add(entry);
108 entry.addToBuffer(result, false, withWhiteSpace, null);
124 PatternEntry entry = (PatternEntry) patterns.get(i);
125 if (entry
302 findLastEntry(PatternEntry entry, StringBuffer excessChars) argument
[all...]
/libcore/ojluni/src/main/java/sun/security/util/
H A DManifestEntryVerifier.java39 * This class is used to verify each entry in a jar file with its
60 /** the digests in use for a given entry*/
72 private JarEntry entry; field in class:ManifestEntryVerifier
90 * manifest for this entry, save them, and set the MessageDigest
92 * null it signifies that update/verify should ignore this entry.
94 public void setEntry(String name, JarEntry entry) argument
100 this.entry = entry;
109 /* get the headers from the manifest for this entry */
110 /* if there aren't any, we can't verify any digests for this entry */
[all...]
/libcore/luni/src/test/java/libcore/java/util/
H A DTreeMapTest.java134 private void assertImmutable(Entry<String, String> entry) { argument
135 String initialValue = entry.getValue();
137 entry.setValue("x");
141 assertEquals(initialValue, entry.getValue());
176 * Test that entry set contains and removal use the comparator rather than equals.
/libcore/ojluni/src/main/java/java/security/
H A DKeyStoreSpi.java67 * or does not identify a key-related entry.
95 * <p> If the given alias name identifies an entry
99 * then the trusted certificate contained in that entry is returned.
101 * <p> If the given alias name identifies an entry
105 * then the first element of the certificate chain in that entry
116 * Returns the creation date of the entry identified by the given alias.
120 * @return the creation date of this entry, or null if the given alias does
180 * <p> If the given alias identifies an existing entry
184 * the trusted certificate in the existing entry
191 * not identify an entry containin
503 engineSetEntry(String alias, KeyStore.Entry entry, KeyStore.ProtectionParameter protParam) argument
[all...]
H A DKeyStore.java42 * Each type of entry implements the <code>KeyStore.Entry</code> interface.
47 * <p> This type of entry holds a cryptographic <code>PrivateKey</code>,
58 * <p> This type of entry holds a cryptographic <code>SecretKey</code>,
63 * <p> This type of entry contains a single public key <code>Certificate</code>
69 * <p>This type of entry can be used to authenticate other parties.
72 * <p> Each entry in a keystore is identified by an "alias" string. In the
161 * load the keystore, to protect the private key entry,
162 * to protect the secret key entry, and to store the keystore
380 * A marker interface for <code>KeyStore</code> entry types.
387 * A <code>KeyStore</code> entry tha
1350 setEntry(String alias, Entry entry, ProtectionParameter protParam) argument
[all...]
/libcore/ojluni/src/main/java/java/util/
H A DAbstractMap.java100 * for an entry with the specified value. If such an entry is found,
102 * finding such an entry, <tt>false</tt> is returned. Note that this
130 * for an entry with the specified key. If such an entry is found,
132 * finding such an entry, <tt>false</tt> is returned. Note that this
161 * for an entry with the specified key. If such an entry is found,
162 * the entry's value is returned. If the iteration terminates without
163 * finding such an entry, <t
595 SimpleEntry(Entry<? extends K, ? extends V> entry) argument
725 SimpleImmutableEntry(Entry<? extends K, ? extends V> entry) argument
[all...]
H A DHashtable.java56 * increase the time cost to look up an entry (which is reflected in most
467 // Creates the new entry.
559 * entry is rendered as the key, an equals sign <tt>=</tt>, and the
661 * <tt>setValue</tt> operation on a map entry returned by the
689 Map.Entry entry = (Map.Entry)o;
690 Object key = entry.getKey();
696 if (e.hash==hash && e.equals(entry))
704 Map.Entry<K,V> entry = (Map.Entry<K,V>) o;
705 K key = entry.getKey();
712 if (e.hash==hash && e.equals(entry)) {
1127 HashtableEntry<K,V> entry = null; field in class:Hashtable.Enumerator
[all...]
H A DWeakHashMap.java38 * An entry in a <tt>WeakHashMap</tt> will automatically be removed when
42 * When a key has been discarded its entry is effectively removed from the map,
60 * <tt>WeakHashMap</tt> at some later time and be surprised that its entry
83 * the entry set to yield successively smaller numbers of elements.
403 * Returns the entry associated with the specified key in this map.
602 Map.Entry<?,?> entry = (Map.Entry<?,?>)o;
603 Object k = maskNull(entry.getKey());
611 if (h == e.hash && e.equals(entry)) {
690 * Creates new entry.
745 private Entry<K,V> entry field in class:WeakHashMap.HashIterator
[all...]
/libcore/ojluni/src/main/java/java/util/zip/
H A DZipInputStream.java46 private ZipEntry entry; field in class:ZipInputStream
57 // one entry
75 * decode the entry names.
90 * used to decode the ZIP entry name (ignored if the
92 * encoding bit</a> of the ZIP entry's general purpose bit
108 * Reads the next ZIP file entry and positions the stream at the
109 * beginning of the entry data.
110 * @return the next ZIP file entry, or null if there are no more entries
116 if (entry != null) {
121 if ((entry
[all...]
H A DZipOutputStream.java48 public final ZipEntry entry; field in class:ZipOutputStream.XEntry
50 public XEntry(ZipEntry entry, long offset) { argument
51 this.entry = entry;
100 * to encode the entry names and comments.
114 * to be used to encode the entry names and comments
143 * for an individual ZIP file entry, and is initially set to DEFLATED.
166 * Begins writing a new ZIP file entry and positions the stream to the
167 * start of the entry data. Closes the current entry i
[all...]
H A DZipFile.java107 * decode the entry names and comments.
131 * decode the entry names and comments
154 * decode the entry names and comments.
179 * be used to decode the ZIP entry name and comment that are not
180 * encoded by using UTF-8 encoding (indicated by entry's general
243 * be used to decode the ZIP entry name and comment that are not
244 * encoded by using UTF-8 encoding (indicated by entry's general
267 * used to decode the ZIP entry name and comment (ignored if
269 * encoding bit</a> of the ZIP entry's general purpose bit
302 * Returns the zip file entry fo
350 getInputStream(ZipEntry entry) argument
[all...]
/libcore/ojluni/src/main/java/sun/net/www/
H A DMimeTable.java117 MimeEntry entry = findByFileName(fileName);
118 if (entry != null) {
119 return entry.getType();
139 MimeEntry entry = entries.get(type);
140 return remove(entry);
143 public synchronized MimeEntry remove(MimeEntry entry) { argument
144 String[] extensionKeys = entry.getExtensions();
151 return entries.remove(entry.getType());
155 MimeEntry entry = entries.get(type);
156 if (entry
326 parse(String pair, MimeEntry entry) argument
346 fill(MimeEntry entry, String name, String value) argument
[all...]
/libcore/ojluni/src/main/java/sun/security/x509/
H A DX509CRLEntryImpl.java44 * This class is for each entry in the <code>revokedCertificates</code>,
85 * Constructs a revoked certificate entry using the given
97 * Constructs a revoked certificate entry using the given
98 * serial number, revocation date and the entry
103 * @param crlEntryExts the extensions for this entry.
143 * Returns true if this revoked certificate entry has
146 * @return true if this CRL entry has extensions, otherwise
274 * get Reason Code from CRL entry.
485 public static X509CRLEntryImpl toImpl(X509CRLEntry entry) argument
487 if (entry instanceo
[all...]
H A DX509CRLImpl.java311 for (X509CRLEntry entry : revokedList) {
312 ((X509CRLEntryImpl)entry).encode(rCerts);
500 for (X509CRLEntry entry: revokedList) {
501 sb.append("\n[" + i++ + "] " + entry.toString());
636 * Gets the CRL entry with the given serial number from this CRL.
638 * @return the entry with the given serial number, or <code>null</code> if
639 * no such entry exists in the CRL.
646 // assume this is a direct CRL entry (cert and CRL issuer are the same)
653 * Gets the CRL entry for the given certificate.
1103 X509CRLEntryImpl entry
1189 getCertIssuer(X509CRLEntryImpl entry, X500Principal prevCertIssuer) argument
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DTreeMapTest.java248 Map.Entry entry;
250 entry = (Map.Entry) entrySetIterator.next();
252 .get(entry.getKey()) == entry.getValue());
592 Map.Entry<String, String> entry = (Map.Entry<String, String>) iter
594 assertTrue(map.containsKey(entry.getKey()));
595 assertTrue(map.containsValue(entry.getValue()));
850 Map.Entry<String, String> entry = (Map.Entry<String, String>) iter
852 assertTrue(map.containsKey(entry.getKey()));
853 assertTrue(map.containsValue(entry
1303 assertEntry(Entry entry) argument
[all...]
/libcore/ojluni/src/main/java/java/util/jar/
H A DJarVerifier.java107 * This method scans to see which entry we're parsing and
125 * 1. The manifest should be the first entry in the META-INF directory.
130 * b. digest mismatch between the actual jar entry and the manifest
178 // don't compute the digest for this entry
222 * called when we reach the end of entry in one of the read() methods.
336 public java.security.cert.Certificate[] getCerts(JarFile jar, JarEntry entry) argument
338 return mapSignersToCertArray(getCodeSigners(jar, entry));
351 public CodeSigner[] getCodeSigners(JarFile jar, JarEntry entry) argument
353 String name = entry.getName();
356 * Force a read of the entry dat
[all...]
/libcore/ojluni/src/main/java/sun/security/ssl/
H A DX509KeyManagerImpl.java104 PrivateKeyEntry entry = getEntry(alias);
105 return entry == null ? null :
106 (X509Certificate[])entry.getCertificateChain();
110 PrivateKeyEntry entry = getEntry(alias);
111 return entry == null ? null : entry.getPrivateKey();
212 private String makeAlias(EntryStatus entry) { argument
213 return uidCounter.incrementAndGet() + "." + entry.builderIndex + "."
214 + entry.alias;
223 // try to get the entry fro
[all...]
/libcore/ojluni/src/main/java/java/io/
H A DObjectOutputStream.java2414 * Increases hash table capacity by lengthening entry arrays.
2527 void push(String entry) { argument
2528 stack.add("\t- " + entry);
H A DObjectStreamClass.java313 Object entry = null;
315 entry = ref.get();
318 if (entry == null) {
327 entry = ref.get();
329 } while (ref != null && entry == null);
330 if (entry == null) {
335 if (entry instanceof ObjectStreamClass) { // check common case first
336 return (ObjectStreamClass) entry;
338 if (entry instanceof EntryFuture) {
339 future = (EntryFuture) entry;
389 private Object entry = unset; field in class:ObjectStreamClass.EntryFuture
398 set(Object entry) argument
[all...]
/libcore/ojluni/src/main/native/
H A Dzip_util.c422 * Returns true if |s| is a valid zip entry name.
442 * Returns true if the specified entry's name begins with the string
701 ZIP_FORMAT_ERROR("invalid CEN header (encrypted entry)");
712 ZIP_FORMAT_ERROR("invalid CEN header (invalid entry name)");
715 /* if the entry is metadata add it to our metadata names */
727 /* Add the entry to the hash table */
739 ZIP_FORMAT_ERROR("invalid CEN header (duplicate entry)");
1070 /* This entry has "extra" data */
1112 /* This entry has a comment */
1136 * In fact we maintain a one-entry cach
1294 ZIP_GetEntryDataOffset(jzfile *zip, jzentry *entry) argument
1330 ZIP_Read(jzfile *zip, jzentry *entry, jlong pos, void *buf, jint len) argument
1383 InflateFully(jzfile *zip, jzentry *entry, void *buf, char **msg) argument
1449 jzentry *entry = ZIP_GetEntry(zip, name, 0); local
1464 ZIP_ReadEntry(jzfile *zip, jzentry *entry, unsigned char *buf, char *entryname) argument
[all...]

Completed in 525 milliseconds

12