Searched refs:key (Results 226 - 250 of 1876) sorted by relevance

1234567891011>>

/openjdk9/jdk/src/jdk.rmic/share/classes/sun/tools/javac/
H A DCompilerMember.java47 String key; field in class:CompilerMember
62 if (key==null)
63 key = name+sig;
64 return key;
/openjdk9/jdk/test/java/nio/channels/SelectionKey/
H A DRacyRegister.java54 SelectionKey key = null;
56 key = sc.register(sel, SelectionKey.OP_READ);
63 // if we have a key then it should be invalid
64 if (key != null && key.isValid())
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/
H A DNativeWeakMap.java77 * ECMA6 23.3.3.5 WeakMap.prototype.set ( key , value )
80 * @param key the key
85 public static Object set(final Object self, final Object key, final Object value) { argument
87 map.jmap.put(checkKey(key), value);
92 * ECMA6 23.3.3.3 WeakMap.prototype.get ( key )
95 * @param key the key
99 public static Object get(final Object self, final Object key) { argument
101 if (isPrimitive(key)) {
115 delete(final Object self, final Object key) argument
133 has(final Object self, final Object key) argument
149 checkKey(final Object key) argument
[all...]
/openjdk9/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/code/
H A DTypeMetadata.java88 Entry.Kind key = elem.kind();
89 if (contents.containsKey(key)) {
90 out.add(key, this.contents.get(key).combine(elem));
92 out.add(key, elem);
111 for(Entry.Kind key : keys) {
112 if (contents.containsKey(key)) {
113 if (other.contents.containsKey(key)) {
114 out.add(key, contents.get(key)
[all...]
/openjdk9/jdk/src/demo/share/java2d/J2DBench/src/j2dbench/
H A DResultSet.java137 Object key = enum_.nextElement();
138 if (!ignoreprops.containsKey(key)) {
139 props.put(key, sysprops.get(key));
170 String key = preferredkeys[i];
171 pw.println(" <sys-prop key=\""+key+
172 "\" value=\""+props.get(key)+"\"/>");
176 Object key = enum_.nextElement();
177 if (!preferprops.containsKey(key)) {
[all...]
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/api/
H A DPropertySet.java62 * @param key
67 public Object get(Object key) { argument
68 Accessor sp = getPropertyMap().get(key);
71 throw new IllegalArgumentException("Undefined property "+key);
82 * if the given key is an alias of a strongly-typed field,
87 public Object put(String key, Object value) { argument
88 Accessor sp = getPropertyMap().get(key);
94 throw new IllegalArgumentException("Undefined property "+key);
98 public boolean supports(Object key) { argument
99 return getPropertyMap().containsKey(key);
102 remove(Object key) argument
[all...]
/openjdk9/jdk/test/com/sun/crypto/provider/Cipher/AES/
H A DTestGCMKeyAndIvCheck.java30 * @summary Ensure that same key+iv can't be repeated used for encryption.
73 SecretKey key = new SecretKeySpec(new byte[16], "AES");
75 c.init(Cipher.ENCRYPT_MODE, key);
79 // subsequent encryption should fail unless re-init w/ different key+iv
95 // Should be ok to use the same key+iv for decryption
96 c.init(Cipher.DECRYPT_MODE, key, params);
103 // Now try to encrypt again using the same key+iv; should fail also
105 c.init(Cipher.ENCRYPT_MODE, key, params);
106 throw new Exception("Should throw exception when same key+iv is used");
112 c.init(Cipher.ENCRYPT_MODE, key);
[all...]
/openjdk9/jdk/test/com/sun/crypto/provider/Cipher/PBE/
H A DPBESealedObject.java48 * @key randomness
129 SecretKey key = skf.generateSecret(
134 ci.init(Cipher.ENCRYPT_MODE, key);
137 ci.init(Cipher.ENCRYPT_MODE, key, aps);
140 SealedObject so = new SealedObject(key, ci);
144 ci.init(Cipher.DECRYPT_MODE, key, pbeParams);
146 ci.init(Cipher.DECRYPT_MODE, key, aps);
152 if (!Arrays.equals(unsealedKey.getEncoded(), key.getEncoded())) {
156 unsealedKey = (SecretKey) so.getObject(key);
157 if (!Arrays.equals(unsealedKey.getEncoded(), key
[all...]
/openjdk9/jdk/test/java/nio/file/WatchService/
H A DFileTreeModifier.java45 WatchKey key;
47 key = watcher.take();
52 WatchEvent<?> event = key.pollEvents().iterator().next();
70 WatchKey key = top.register(watcher,
76 key.reset();
82 if (k != key)
83 throw new RuntimeException("Existing key not returned");
88 key.reset();
93 if (k != key)
94 throw new RuntimeException("Existing key no
[all...]
/openjdk9/jdk/src/java.base/share/classes/java/security/
H A DKeyFactorySpi.java36 * of a key factory for a particular algorithm.
39 * cryptographic keys of type {@code Key}) into <I>key specifications</I>
40 * (transparent representations of the underlying key material), and vice
44 * opaque key object from a given key specification (key material), or to
45 * retrieve the underlying key material of a key object in a suitable format.
47 * <P> Multiple compatible key specifications may exist for the same key
124 engineGetKeySpec(Key key, Class<T> keySpec) argument
139 engineTranslateKey(Key key) argument
[all...]
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/api/message/
H A DExceptionHasMessage.java43 public ExceptionHasMessage(String key, Object... args) { argument
44 super(key, args);
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/protocol/xml/
H A DXMLMessageException.java36 public XMLMessageException(String key, Object... args) { argument
37 super(key, args);
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/server/
H A DServerRtException.java35 public ServerRtException(String key, Object... args) { argument
36 super(key, args);
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/streaming/
H A DXMLStreamWriterException.java41 public XMLStreamWriterException(String key, Object... args) { argument
42 super(key, args);
H A DXMLStreamReaderException.java41 public XMLStreamReaderException(String key, Object... args) { argument
42 super(key, args);
H A DXMLReaderException.java41 public XMLReaderException(String key, Object... args) { argument
42 super(key, args);
/openjdk9/jaxws/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/processor/
H A DProcessorException.java40 public ProcessorException(String key, Object... args) { argument
41 super(key, args);
/openjdk9/jaxws/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/wsdl/framework/
H A DParseException.java38 public ParseException(String key, Object... args) { argument
39 super(key, args);
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/encoding/soap/
H A DDeserializationException.java41 public DeserializationException(String key, Object... args) { argument
42 super(key, args);
H A DSerializationException.java41 public SerializationException(String key, Object... args) { argument
42 super(key, args);
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/handler/
H A DHandlerException.java41 public HandlerException(String key, Object... args) { argument
42 super(key, args);
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/client/
H A DSenderException.java36 public SenderException(String key, Object... args) { argument
37 super(key, args);
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/model/
H A DRuntimeModelerException.java40 public RuntimeModelerException(String key, Object... args) { argument
41 super(key, args);
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/util/
H A DUtilException.java40 public UtilException(String key, Object... args) { argument
41 super(key, args);
/openjdk9/jaxws/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/processor/model/
H A DModelException.java41 public ModelException(String key, Object... args) { argument
42 super(key, args);

Completed in 281 milliseconds

1234567891011>>