Searched refs:key (Results 176 - 200 of 1876) sorted by relevance

1234567891011>>

/openjdk9/hotspot/src/share/vm/libadt/
H A Ddict.hpp36 // These dictionaries define a key-value mapping. They can be inserted to,
37 // searched or deleted from. They grow and shrink as needed. The key is a
39 // key comparison routine determines if two keys are equal or not. A hash
40 // function can be provided; if it's not provided the key itself is used
43 typedef int (*Hash)(const void *key);
44 typedef void (*FuncDict)(const void *key, const void *val, Dict *d);
51 uint32_t _cnt; // Number of key-value pairs in hash table
59 // cmp is a key comparision routine. hash is a routine to hash a key.
70 // Return # of key
[all...]
/openjdk9/hotspot/src/share/vm/adlc/
H A Ddict2.hpp33 // These dictionaries define a key-value mapping. They can be inserted to,
34 // searched or deleted from. They grow and shrink as needed. The key is a
36 // key comparison routine determines if two keys are equal or not. A hash
37 // function can be provided; if it's not provided the key itself is used
40 typedef int (*Hash)(const void *key);
42 typedef void (*FuncDict)(const void *key, const void *val, Dict *d);
49 int _cnt; // Number of key-value pairs in hash table
57 // cmp is a key comparision routine. hash is a routine to hash a key.
69 // Return # of key
[all...]
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/transport/
H A DHeaders.java40 * the value associated with each key is a {@link List}<{@link String}> with one
56 * for the given key</li>
63 * as either a null entry for the key (i.e. the list is null) or where the key
65 * output as a header line containing the key but no associated value.
91 * Adds the given value to the list of headers for the given key. If the
94 * @param key the header name
97 public void add (String key, String value) { argument
98 List<String> list = this.get(key);
101 put(key,lis
113 getFirst(String key) argument
125 set(String key, String value) argument
[all...]
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/policy/subject/
H A DPolicyMapKeyConverter.java54 PolicyMapKey key = null;
56 key = PolicyMap.createWsdlEndpointScopeKey(this.serviceName, this.portName);
59 key = PolicyMap.createWsdlOperationScopeKey(this.serviceName, this.portName, subject.getName());
63 key = PolicyMap.createWsdlFaultMessageScopeKey(this.serviceName, this.portName,
67 key = PolicyMap.createWsdlMessageScopeKey(this.serviceName, this.portName, subject.getParent().getName());
71 LOGGER.exiting(key);
72 return key;
/openjdk9/jdk/src/java.security.jgss/share/classes/sun/security/krb5/internal/crypto/
H A DDes.java46 // string-to-key function. For historical reasons, some
53 // string-to-key encoding. When set, the specified charset
122 public static final byte[] set_parity(byte[] key) { argument
124 key[i] = good_parity[key[i] & 0xff];
126 return key;
129 public static final long set_parity(long key) { argument
130 return octet2long(set_parity(long2octet(key)));
133 public static final boolean bad_key(long key) { argument
135 if (bad_keys[i] == key) {
142 bad_key(byte[] key) argument
190 cbc_encrypt( byte[] input, byte[] output, byte[] key, byte[] ivec, boolean encrypt) argument
309 des_cksum(byte[] ivec, byte[] msg, byte[] key) argument
[all...]
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.graph/src/org/graalvm/compiler/graph/
H A DNodeNodeMap.java43 public Node get(Object key) { argument
44 return super.get((Node) key);
48 public Node put(Node key, Node value) { argument
49 Node oldValue = super.get(key);
50 super.set(key, value);
55 public Node remove(Object key) { argument
72 Node key = getKey(i);
73 if (key != null) {
74 entries.add(key);
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/utils/
H A DStringToIntTable.java98 * @param key String to append
101 public final void put(String key, int value) argument
121 m_map[m_firstFree] = key;
130 * @param key String to look for
135 public final int get(String key) argument
140 if (m_map[i].equals(key))
150 * @param key String to look for
154 public final int getIgnoreCase(String key) argument
157 if (null == key)
162 if (m_map[i].equalsIgnoreCase(key))
176 contains(String key) argument
[all...]
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/xml/internal/utils/
H A DTrie.java27 * The key must be a 7-bit ASCII string
54 * @param key must be a 7-bit ASCII string
57 * @return The old object that matched key, or null.
59 public Object put(String key, Object value) argument
62 final int len = key.length();
73 Node nextNode = node.m_nextChar[Character.toUpperCase(key.charAt(i))];
84 // put this value into the tree with a case insensitive key
85 node.m_nextChar[Character.toUpperCase(key.charAt(i))] = newNode;
86 node.m_nextChar[Character.toLowerCase(key.charAt(i))] = newNode;
101 * Get an object that matches the key
107 get(final String key) argument
[all...]
H A DStringToIntTable.java91 * @param key String to append
94 public final void put(String key, int value) argument
114 m_map[m_firstFree] = key;
123 * @param key String to look for
128 public final int get(String key) argument
133 if (m_map[i].equals(key))
143 * @param key String to look for
147 public final int getIgnoreCase(String key) argument
150 if (null == key)
155 if (m_map[i].equalsIgnoreCase(key))
169 contains(String key) argument
[all...]
/openjdk9/jdk/src/java.base/share/classes/sun/net/
H A DNetProperties.java82 * @param key the property name.
89 public static String get(String key) { argument
90 String def = props.getProperty(key);
92 return System.getProperty(key, def);
103 * @param key the property name.
111 public static Integer getInteger(String key, int defval) { argument
115 val = System.getProperty(key, props.getProperty(key));
133 * @param key the property name.
140 public static Boolean getBoolean(String key) { argument
[all...]
/openjdk9/jdk/src/java.base/share/classes/sun/util/locale/provider/
H A DCalendarNameProviderImpl.java64 String key = getResourceKey(calendarType, field, style, javatime);
65 if (key != null) {
67 String[] strings = javatime ? lr.getJavaTimeNames(key) : lr.getCalendarNames(key);
71 if (strings == null && key.indexOf("standalone.") != -1) {
72 key = key.replaceFirst("standalone.", "");
73 strings = javatime ? lr.getJavaTimeNames(key) : lr.getCalendarNames(key);
140 String key
[all...]
/openjdk9/jdk/src/java.security.jgss/share/classes/javax/security/auth/kerberos/
H A DKerberosKey.java33 * This class encapsulates a long term secret key for a Kerberos
38 * of the key.<p>
48 * The key material of a {@code KerberosKey} is defined as the value
52 * generate the secret key from it should use this class.
92 * The principal that this secret key belongs to.
99 * the version number of this secret key
107 * of the encryption key.
112 private KeyImpl key; field in class:KerberosKey
116 * Constructs a {@code KerberosKey} from the given bytes when the key type
117 * and key versio
[all...]
/openjdk9/jdk/test/java/awt/datatransfer/SystemFlavorMap/
H A DAddNativeTest.java79 DataFlavor key;
83 key = (DataFlavor)e.nextElement();
85 java.util.List listNatives = flavorMap.getNativesForFlavor(key);
93 StringBuffer mimeType = new StringBuffer(key.getMimeType());
122 DataFlavor key = (DataFlavor)e.nextElement();
124 java.util.List listNatives = flavorMap.getNativesForFlavor(key);
129 //if ( !vectorNatives.equals((Vector)hashVerify.get(key))) {
130 if ( !(vectorNatives.containsAll((Vector)hashVerify.get(key)) && ((Vector)hashVerify.get(key)).containsAll(vectorNatives))) {
134 "\nDataFlavor: " + key
[all...]
/openjdk9/langtools/test/lib/combo/tools/javac/combo/
H A DTemplate.java38 public Template lookup(String key); argument
42 /* Looks for expandable keys. An expandable key can take the form:
74 Template key = res.lookup(major);
75 if (key == null)
76 throw new IllegalStateException("Unknown major key " + major);
78 String replacement = key.expand(minor == null ? "" : minor);
100 public Template lookup(String key) { argument
101 return vars.get(key);
118 public Template lookup(String key) { argument
119 Template result = thisResolver.lookup(key);
[all...]
/openjdk9/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/
H A DLongHashMap.java42 private long key; field in class:LongHashMap.Entry
46 Entry(int hash, long key, Object value, Entry next) { argument
48 this.key = key;
54 * Returns the key corresponding to this entry.
56 * @return the key corresponding to this entry.
58 long getKey() { return key; }
116 return (key == e.getKey()) && eq(value, e.getValue());
218 * Returns the number of key-value mappings in this map.
220 * @return the number of key
246 get(long key) argument
259 containsKey(long key) argument
268 getEntry(long key) argument
318 put(long key, Object value) argument
355 remove(long key) argument
365 removeEntryForKey(long key) argument
453 newEntry(int hash, long key, Object value, Entry next) argument
[all...]
/openjdk9/jdk/make/src/classes/build/tools/generatenimbus/
H A DUIComponent.java44 if (key == null || "".equals(key)) {
51 return key;
/openjdk9/jdk/src/java.base/share/classes/com/sun/crypto/provider/
H A DPBEKey.java36 * This class represents a PBE key.
45 private byte[] key; field in class:PBEKey
50 * Creates a PBE key from a given PBE key specification.
52 * @param key the given PBE key specification
68 this.key = new byte[passwd.length];
70 this.key[i] = (byte) (passwd[i] & 0x7f);
76 return this.key.clone();
93 for (int i = 1; i < this.key
[all...]
H A DRC2Cipher.java78 protected void engineInit(int opmode, Key key, SecureRandom random) argument
81 core.init(opmode, key, random);
84 protected void engineInit(int opmode, Key key, argument
93 core.init(opmode, key, params, random);
96 protected void engineInit(int opmode, Key key, argument
103 engineInit(opmode, key, rc2Params, random);
110 core.init(opmode, key, params, random);
134 protected int engineGetKeySize(Key key) throws InvalidKeyException { argument
135 byte[] keyBytes = CipherCore.getKeyBytes(key);
136 RC2Crypt.checkKey(key
140 engineWrap(Key key) argument
[all...]
/openjdk9/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/schemagen/
H A DMultiMap.java32 * A special {@link Map} that 'conceptually' stores a set of values for each key.
49 public V put(K key, V value) { argument
50 V old = super.put(key, value);
53 super.put(key,many);
/openjdk9/jdk/src/java.base/share/classes/javax/crypto/
H A DExemptionMechanismSpi.java65 * Initializes this exemption mechanism with a key.
68 * that cannot be derived from the given <code>key</code>, the underlying
74 * @param key the key for this exemption mechanism
76 * @exception InvalidKeyException if the given key is inappropriate for
81 protected abstract void engineInit(Key key) argument
85 * Initializes this exemption mechanism with a key and a set of algorithm
95 * @param key the key for this exemption mechanism
98 * @exception InvalidKeyException if the given key i
105 engineInit(Key key, AlgorithmParameterSpec params) argument
130 engineInit(Key key, AlgorithmParameters params) argument
[all...]
H A DKeyAgreementSpi.java36 * of a particular key agreement algorithm.
40 * key generators (<code>KeyPairGenerator</code> or
42 * an intermediate phase of the key agreement protocol
45 * <p> For each of the correspondents in the key exchange,
47 * needs to be called. For example, if the key exchange is with one other
50 * If the key exchange is
54 * There may be any number of parties involved in a key exchange.
66 * Initializes this key agreement with the given key and source of
67 * randomness. The given key i
85 engineInit(Key key, SecureRandom random) argument
104 engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) argument
127 engineDoPhase(Key key, boolean lastPhase) argument
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/text/
H A DKeymap.java40 * Fetches the name of the set of key-bindings.
48 * key is typed (i.e. a KEY_TYPED KeyEvent is received)
52 * possible key.
59 * Set the default action to fire if a key is typed.
68 * determine how to interpret key sequences. If the
72 * @param key the key sequence
73 * @return the action associated with the key
76 public Action getAction(KeyStroke key); argument
103 * Determines if the given key sequenc
108 isLocallyDefined(KeyStroke key) argument
116 addActionForKeyStroke(KeyStroke key, Action a) argument
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/
H A DSynthDefaultLookup.java37 public Object getDefault(JComponent c, ComponentUI ui, String key) { argument
39 Object value = super.getDefault(c, ui, key);
43 Object value = context.getStyle().get(context, key);
/openjdk9/jdk/src/java.desktop/share/classes/sun/swing/
H A DUIAction.java71 public Object getValue(String key) { argument
72 if (key == NAME) {
79 public void putValue(String key, Object value) { argument
/openjdk9/jdk/src/java.management/share/classes/javax/management/openmbean/
H A DTabularData.java105 * (ie a row) whose index is the specified <var>key</var>. If <var>key</var> is {@code null} or does not conform to
108 * @param key the index value whose presence in this {@code TabularData} instance is to be tested.
110 * @return {@code true} if this {@code TabularData} indexes a row value with the specified key.
112 public boolean containsKey(Object[] key) ; argument
127 * <var>key</var>, or {@code null} if there is no value mapping
128 * to <var>key</var>, in this {@code TabularData} instance.
130 * @param key the key of the row to return.
132 * @return the value corresponding to <var>key</va
140 get(Object[] key) argument
189 remove(Object[] key) argument
[all...]

Completed in 292 milliseconds

1234567891011>>