/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/util/ |
H A D | JDKClassLoader.java | 88 Object key = classCache.createKey(className, loader); 90 if (classCache.knownToFail(key)) { 102 classCache.recordFailure(key); 116 public final void recordFailure(Object key) { argument 117 cache.put(key, JDKClassLoaderCache.KNOWN_TO_FAIL); 120 // Factory for a key (CacheKey is an implementation detail 123 // A key currently consists of the class name as well as 132 public final boolean knownToFail(Object key) { argument 133 return cache.get(key) == JDKClassLoaderCache.KNOWN_TO_FAIL; 142 // key [all...] |
H A D | IdentityHashtable.java | 41 * does not rely on the hashCode() and equals() methods of the key or value; 50 Object key; field in class:IdentityHashtableEntry 165 * Tests if some key maps into the specified value in this hashtable. 170 * @return <code>true</code> if some key maps to the 194 * Tests if the specified object is a key in this hashtable. 196 * @param key possible key. 197 * @return <code>true</code> if the specified object is a key in this 202 public boolean containsKey(Object key) { argument 204 int hash = System.identityHashCode(key); 224 get(Object key) argument 285 put(Object key, Object value) argument 329 remove(Object key) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/ |
H A D | AbstractType.java | 98 public Object getProperty(String key) { argument 102 return properties.get(key); 105 public void setProperty(String key, Object value) { argument 107 removeProperty(key); 114 properties.put(key, value); 117 public void removeProperty(String key) { argument 119 properties.remove(key);
|
H A D | ModelObject.java | 60 public Object getProperty(String key) { argument 64 return _properties.get(key); 67 public void setProperty(String key, Object value) { argument 69 removeProperty(key); 76 _properties.put(key, value); 79 public void removeProperty(String key) { argument 81 _properties.remove(key);
|
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/ |
H A D | P11ECKeyFactory.java | 84 static byte[] getEncodedPublicValue(PublicKey key) throws InvalidKeyException { argument 85 if (key instanceof ECPublicKeyImpl) { 86 return ((ECPublicKeyImpl)key).getEncodedPublicValue(); 87 } else if (key instanceof ECPublicKey) { 88 ECPublicKey ecKey = (ECPublicKey)key; 95 ("Key class not yet supported: " + key.getClass().getName()); 99 PublicKey implTranslatePublicKey(PublicKey key) throws InvalidKeyException { argument 101 if (key instanceof ECPublicKey) { 102 ECPublicKey ecKey = (ECPublicKey)key; 107 } else if ("X.509".equals(key 121 implTranslatePrivateKey(PrivateKey key) argument 262 implGetPublicKeySpec(P11Key key, Class keySpec, Session[] session) argument 284 implGetPrivateKeySpec(P11Key key, Class keySpec, Session[] session) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | KeyAgreement.java | 39 * This class provides the functionality of a key agreement (or key 43 * key generators (<code>KeyPairGenerator</code> or 45 * an intermediate phase of the key agreement protocol. 47 * <p> For each of the correspondents in the key exchange, <code>doPhase</code> 48 * needs to be called. For example, if this key exchange is with one other 51 * If this key exchange is 55 * There may be any number of parties involved in a key exchange. 87 // The name of the key agreement algorithm. 137 * specified key agreemen 336 implInit(KeyAgreementSpi spi, int type, Key key, AlgorithmParameterSpec params, SecureRandom random) argument 346 chooseProvider(int initType, Key key, AlgorithmParameterSpec params, SecureRandom random) argument 434 init(Key key) argument 458 init(Key key, SecureRandom random) argument 495 init(Key key, AlgorithmParameterSpec params) argument 517 init(Key key, AlgorithmParameterSpec params, SecureRandom random) argument 547 doPhase(Key key, boolean lastPhase) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/rsa/ |
H A D | RSACore.java | 39 * Core of the RSA implementation. Has code to perform public and private key 40 * RSA operations (with and without CRT for private key ops). Private CRT ops 69 * RSA key. 71 public static int getByteLength(RSAKey key) { argument 72 return getByteLength(key.getModulus()); 87 * Perform an RSA public key operation. 89 public static byte[] rsa(byte[] msg, RSAPublicKey key) argument 91 return crypt(msg, key.getModulus(), key.getPublicExponent()); 95 * Perform an RSA private key operatio 98 rsa(byte[] msg, RSAPrivateKey key) argument 135 crtCrypt(byte[] msg, RSAPrivateCrtKey key) argument 261 getBlindingParameters(RSAPrivateCrtKey key) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | DefaultMetalTheme.java | 138 * Returns the ideal font name for the font identified by key. 140 static String getDefaultFontName(int key) { argument 141 return fontNames[key]; 145 * Returns the ideal font size for the font identified by key. 147 static int getDefaultFontSize(int key) { argument 148 return fontSizes[key]; 152 * Returns the ideal font style for the font identified by key. 154 static int getDefaultFontStyle(int key) { argument 155 if (key != WINDOW_TITLE_FONT) { 159 // Only access the boldMetal key i 179 getDefaultPropertyName(int key) argument 332 getFont(int key) argument 389 getPrivilegedFont(final int key) argument [all...] |
/openjdk7/jdk/make/tools/src/build/tools/javazic/ |
H A D | Mappings.java | 138 for (String key : aliases.keySet()) { 143 false : excludeList.contains(key); 145 if ((perRO.contains(aliases.get(key)) || isExcluded) 146 && Zone.isTargetZone(key)) { 149 perRO.add(key); 150 Main.info("Alias <"+key+"> added to the list."); 157 Main.info("Alias <"+key+"> removed from the list."); 158 toBeRemoved.add(key); 163 for (String key : toBeRemoved) { 164 aliases.remove(key); [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | ActionMap.java | 41 * when a key is pressed. As with <code>InputMap</code>, 91 * Adds a binding for <code>key</code> to <code>action</code>. 93 * for <code>key</code>. 94 * <p>In most instances, <code>key</code> will be 97 public void put(Object key, Action action) { argument 98 if (key == null) { 102 remove(key); 108 arrayTable.put(key, action); 113 * Returns the binding for <code>key</code>, messaging the 116 public Action get(Object key) { argument 133 remove(Object key) argument [all...] |
H A D | UIManager.java | 105 * exists and contains the key <code>swing.defaultlaf</code>, 270 * Return a swing.properties file key for the attribute of specified 272 * key would be: "swing.installedlaf.windows.name" 661 * Returns a font from the defaults. If the value for {@code key} is 664 * @param key an <code>Object</code> specifying the font 666 * @throws NullPointerException if {@code key} is {@code null} 668 public static Font getFont(Object key) { argument 669 return getDefaults().getFont(key); 674 * for the given locale. If the value for {@code key} is 677 * @param key a 685 getFont(Object key, Locale l) argument 697 getColor(Object key) argument 714 getColor(Object key, Locale l) argument 726 getIcon(Object key) argument 743 getIcon(Object key, Locale l) argument 755 getBorder(Object key) argument 772 getBorder(Object key, Locale l) argument 784 getString(Object key) argument 801 getString(Object key, Locale l) argument 817 getString(Object key, Component c) argument 831 getInt(Object key) argument 849 getInt(Object key, Locale l) argument 863 getBoolean(Object key) argument 882 getBoolean(Object key, Locale l) argument 894 getInsets(Object key) argument 911 getInsets(Object key, Locale l) argument 923 getDimension(Object key) argument 940 getDimension(Object key, Locale l) argument 951 get(Object key) argument 967 get(Object key, Locale l) argument 984 put(Object key, Object value) argument 1263 checkProperty(Properties props, String key) argument [all...] |
/openjdk7/hotspot/src/share/vm/ci/ |
H A D | ciObjectFactory.hpp | 62 inline NonPermObject(NonPermObject* &bucket, oop key, ciObject* object); 71 int find(oop key, GrowableArray<ciObject*>* objects); 72 bool is_found_at(int index, oop key, GrowableArray<ciObject*>* objects); 75 static bool is_equal(NonPermObject* p, oop key) { argument 76 return p->object()->get_oop() == key; 79 NonPermObject* &find_non_perm(oop key); 80 void insert_non_perm(NonPermObject* &where, oop key, ciObject* obj); 101 ciObject* get(oop key); 103 ciSymbol* get_symbol(Symbol* key);
|
/openjdk7/jdk/make/tools/src/build/tools/generatebreakiteratordata/ |
H A D | GenerateBreakIteratorData.java | 96 String key = (String)keys.nextElement(); 98 if (key.equals("CharacterData")) { 99 generateDataFile(info.getString(key), 102 } else if (key.endsWith("WordData")) { 103 generateDataFile(info.getString(key), 106 } else if (key.endsWith("LineData")) { 107 generateDataFile(info.getString(key), 110 } else if (key.endsWith("SentenceData")) { 111 generateDataFile(info.getString(key),
|
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | PBEWithMD5AndDESCipher.java | 163 * Initializes this cipher with a key and a source 166 * encryption, decryption, key wrapping or key unwrapping, depending on 176 * @param key the encryption key 179 * @exception InvalidKeyException if the given key is inappropriate for 182 protected void engineInit(int opmode, Key key, SecureRandom random) argument 185 engineInit(opmode, key, (AlgorithmParameterSpec) null, random); 195 * Initializes this cipher with a key, a set of 198 * encryption, decryption, key wrappin 217 engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random) argument 224 engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random) argument 372 engineGetKeySize(Key key) argument 394 engineWrap(Key key) argument [all...] |
H A D | PBEWithMD5AndTripleDESCipher.java | 50 * form the triple DES key, and the last 8 bytes of the 2nd digest form the 175 * Initializes this cipher with a key and a source 178 * encryption, decryption, key wrapping or key unwrapping, depending on 188 * @param key the encryption key 191 * @exception InvalidKeyException if the given key is inappropriate for 194 protected void engineInit(int opmode, Key key, SecureRandom random) argument 197 core.init(opmode, key, (AlgorithmParameterSpec) null, random); 207 * Initializes this cipher with a key, 226 engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random) argument 233 engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random) argument 382 engineGetKeySize(Key key) argument 402 engineWrap(Key key) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/ |
H A D | HTTPInputSource.java | 156 * @param key the name of the request property 161 public String getHTTPRequestProperty(String key) { argument 162 return (String) fHTTPRequestProperties.get(key); 169 * where each key and value are a pair of strings corresponding 183 * @param key the name of the request property 186 public void setHTTPRequestProperty(String key, String value) { argument 188 fHTTPRequestProperties.put(key, value); 191 fHTTPRequestProperties.remove(key);
|
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | DebugSettings.java | 77 /* standard debug property key names */ 142 String key = (String)enum_.nextElement(); 143 String value = props.getProperty(key, ""); 144 pout.println(key + " = " + value); 203 String key = (String)enum_.nextElement(); 204 String value = sysProps.getProperty(key,""); 206 if ( key.startsWith(PREFIX) ) { 207 props.setProperty(key, value); 214 * @param key Name of property 218 public synchronized boolean getBoolean(String key, boolea argument 229 getInt(String key, int defval) argument 240 getString(String key, String defval) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jndi/dns/ |
H A D | NameNode.java | 105 * Returns the child node given the hash key (the down-cased label) 109 NameNode get(String key) { argument 111 ? (NameNode) children.get(key) 139 String key = name.getKey(i); 145 child = (NameNode) node.children.get(key); 150 node.children.put(key, child);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/util/ |
H A D | StringIntMap.java | 41 public Entry(String key, int hash, int value, Entry next) { argument 43 _key = key; 113 public final int obtainIndex(String key) { argument 114 final int hash = hashHash(key.hashCode()); 117 final int index = _readOnlyMap.get(key, hash); 125 if (e._hash == hash && eq(key, e._key)) { 130 addEntry(key, hash, tableIndex); 134 public final void add(String key) { argument 135 final int hash = hashHash(key.hashCode()); 137 addEntry(key, has 140 get(String key) argument 151 get(String key, int hash) argument 171 addEntry(String key, int hash, int bucketIndex) argument [all...] |
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | Hashtable.h | 34 void* key; member in struct:HashtableEntry 54 * a key and/or value. As you might guess, this was brazenly stolen 148 * Returns true if the collection contains an element for the key. 150 BOOL containsKey(void* key); 153 * Gets the object associated with the specified key in the 156 void* get(void* key); 160 * key. The element may be retrieved by doing a get() with the same key. 161 * The key and the element cannot be null. 163 virtual void* put(void* key, voi [all...] |
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/AES/ |
H A D | Test4626070.java | 46 SecretKey key = kg.generateKey(); 51 ci.init(Cipher.WRAP_MODE, key, params); 52 byte[] wrappedKeyEncoding = ci.wrap(key); 54 ci.init(Cipher.UNWRAP_MODE, key, params); 57 if (!key.equals(recoveredKey)) { 59 "key after wrap/unwrap is different from the original!");
|
/openjdk7/jdk/test/sun/net/www/httptest/ |
H A D | HttpTransaction.java | 45 SelectionKey key; field in class:HttpTransaction 51 String body, MessageHeader trailers, SelectionKey key) { 57 this.key = key; 65 * @param key the name of the request header 68 public String getRequestHeader (String key) { argument 69 return reqheaders.findValue (key); 76 * @param key the name of the response header 79 public String getResponseHeader (String key) { argument 80 return rspheaders.findValue (key); 49 HttpTransaction(HttpServer.Server server, String command, URI requesturi, MessageHeader headers, String body, MessageHeader trailers, SelectionKey key) argument 117 getRequestTrailer(String key) argument 127 addResponseHeader(String key, String val) argument 139 setResponseHeader(String key, String val) argument 151 addResponseTrailer(String key, String val) argument [all...] |
/openjdk7/jdk/test/sun/security/pkcs11/Cipher/ |
H A D | ReinitCipher.java | 55 SecretKeySpec key = new SecretKeySpec(keyData, "ARCFOUR"); 58 cipher.init(Cipher.ENCRYPT_MODE, key); 59 cipher.init(Cipher.ENCRYPT_MODE, key); 61 cipher.init(Cipher.ENCRYPT_MODE, key); 67 cipher.init(Cipher.ENCRYPT_MODE, key);
|
/openjdk7/jdk/test/sun/security/pkcs11/Mac/ |
H A D | ReinitMac.java | 55 SecretKeySpec key = new SecretKeySpec(keyData, "Hmac"); 57 mac.init(key); 58 mac.init(key); 60 mac.init(key); 67 mac.init(key);
|
/openjdk7/jdk/src/windows/classes/sun/security/mscapi/ |
H A D | RSACipher.java | 47 * is selected based on the en/decryption mode and public/private key used. 65 // mode constant for public key encryption 67 // mode constant for private key decryption 69 // mode constant for private key encryption (signing) 71 // mode constant for public key decryption (verifying) 90 // size of the output (the length of the key). 93 // the public key, if we were initialized using a public key 95 // the private key, if we were initialized using a private key 147 engineInit(int opmode, Key key, SecureRandom random) argument 153 engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random) argument 165 engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random) argument 177 init(int opmode, Key key) argument 340 engineWrap(Key key) argument 395 engineGetKeySize(Key key) argument [all...] |