Searched refs:key (Results 1 - 25 of 1876) sorted by relevance

1234567891011>>

/openjdk9/nashorn/test/script/nosecurity/parsertests/
H A DswitchStat.js30 switch (key) {};
31 switch (key) { case 2: hello(); break; };
32 switch (key) { case 4: hello(); break; case 2: world(); break; default: break };
/openjdk9/jdk/test/javax/script/
H A DTest3.js3 if (key == undefined || key != 'engine value') {
8 if (context.getAttribute('key', ScriptContext.GLOBAL_SCOPE) != 'global value') {
13 key = 'new engine value';
15 if (context.getAttribute('key', ScriptContext.GLOBAL_SCOPE) != 'global value') {
20 delete key;
22 if (key == undefined && key != 'global value') {
/openjdk9/jdk/src/java.base/share/classes/javax/crypto/spec/
H A DDESedeKeySpec.java31 * This class specifies a DES-EDE ("triple-DES") key.
40 * The constant which defines the length of a DESede key in bytes.
44 private byte[] key; field in class:DESedeKeySpec
48 * <code>key</code> as the key material for the DES-EDE key.
50 * <p> The bytes that constitute the DES-EDE key are those between
51 * <code>key[0]</code> and <code>key[23]</code> inclusive
53 * @param key th
61 DESedeKeySpec(byte[] key) argument
83 DESedeKeySpec(byte[] key, int offset) argument
114 isParityAdjusted(byte[] key, int offset) argument
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/sun/swing/
H A DStringUIClientPropertyKey.java37 private final String key; field in class:StringUIClientPropertyKey
39 public StringUIClientPropertyKey(String key) { argument
40 this.key = key;
44 return key;
/openjdk9/jdk/src/java.base/share/classes/sun/util/locale/
H A DExtension.java36 private final char key; field in class:Extension
39 protected Extension(char key) { argument
40 this.key = key;
43 Extension(char key, String value) { argument
44 this.key = key;
50 this.id = key + LanguageTag.SEP + value;
54 return key;
/openjdk9/nashorn/test/script/basic/
H A Dbooleangetter.js38 var key = 'field';
39 obj[key] = x;
40 print(!obj[key]);
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/
H A DPropertyAccess.java39 * Get the value for a given key and return it as an int
40 * @param key the key
44 public int getInt(Object key, int programPoint); argument
47 * Get the value for a given key and return it as an int
48 * @param key the key
52 public int getInt(double key, int programPoint); argument
55 * Get the value for a given key and return it as an int
56 * @param key th
60 getInt(int key, int programPoint) argument
68 getDouble(Object key, int programPoint) argument
76 getDouble(double key, int programPoint) argument
84 getDouble(int key, int programPoint) argument
91 get(Object key) argument
98 get(double key) argument
105 get(int key) argument
113 set(Object key, int value, int flags) argument
121 set(Object key, double value, int flags) argument
129 set(Object key, Object value, int flags) argument
137 set(double key, int value, int flags) argument
145 set(double key, double value, int flags) argument
153 set(double key, Object value, int flags) argument
161 set(int key, int value, int flags) argument
169 set(int key, double value, int flags) argument
177 set(int key, Object value, int flags) argument
184 has(Object key) argument
191 has(int key) argument
198 has(double key) argument
205 hasOwnProperty(Object key) argument
212 hasOwnProperty(int key) argument
219 hasOwnProperty(double key) argument
227 delete(int key, boolean strict) argument
235 delete(double key, boolean strict) argument
243 delete(Object key, boolean strict) argument
[all...]
H A DDefaultPropertyAccess.java37 public int getInt(final Object key, final int programPoint) { argument
38 return JSType.toInt32(get(key));
42 public int getInt(final double key, final int programPoint) { argument
43 return getInt(JSType.toObject(key), programPoint);
47 public int getInt(final int key, final int programPoint) { argument
48 return getInt(JSType.toObject(key), programPoint);
52 public double getDouble(final Object key, final int programPoint) { argument
53 return JSType.toNumber(get(key));
57 public double getDouble(final double key, final int programPoint) { argument
58 return getDouble(JSType.toObject(key), programPoin
62 getDouble(final int key, final int programPoint) argument
67 get(Object key) argument
70 get(final double key) argument
75 get(final int key) argument
80 set(final double key, final int value, final int flags) argument
85 set(final double key, final double value, final int flags) argument
90 set(final double key, final Object value, final int flags) argument
95 set(final int key, final int value, final int flags) argument
100 set(final int key, final double value, final int flags) argument
105 set(final int key, final Object value, final int flags) argument
110 set(final Object key, final int value, final int flags) argument
115 set(final Object key, final double value, final int flags) argument
120 set(Object key, Object value, int flags) argument
123 has(Object key) argument
126 has(final int key) argument
131 has(final double key) argument
136 hasOwnProperty(final int key) argument
141 hasOwnProperty(final double key) argument
146 hasOwnProperty(Object key) argument
149 delete(final int key, final boolean strict) argument
154 delete(final double key, final boolean strict) argument
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/sun/applet/
H A DAppletIllegalArgumentException.java40 private String key = null; field in class:AppletIllegalArgumentException
42 public AppletIllegalArgumentException(String key) { argument
43 super(key);
44 this.key = key;
49 return amh.getMessage(key);
H A DAppletIOException.java42 private String key = null; field in class:AppletIOException
45 public AppletIOException(String key) { argument
46 super(key);
47 this.key = key;
50 public AppletIOException(String key, Object arg) { argument
51 this(key);
57 return amh.getMessage(key, msgobj);
59 return amh.getMessage(key);
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/
H A DArrayIndex.java47 * @param key Key as a string.
50 private static long fromString(final String key) { argument
52 final int length = key.length();
55 if (length == 0 || (length > 1 && key.charAt(0) == '0')) {
61 final char digit = key.charAt(i);
84 * <p>The {@code key} parameter must be a JavaScript primitive type, i.e. one of
89 * @param key key to check for array index.
90 * @return the array index, or {@code -1} if {@code key} does not represent a valid index.
94 public static int getArrayIndex(final Object key) { argument
117 getArrayIndex(final int key) argument
129 getArrayIndex(final long key) argument
149 getArrayIndex(final double key) argument
168 getArrayIndex(final String key) argument
[all...]
/openjdk9/jdk/make/src/classes/build/tools/cldrconverter/
H A DEntry.java29 private String key; field in class:Entry
31 Entry(String qName, Container parent, String key) { argument
33 this.key = key;
37 return key;
H A DKeyContainer.java29 * A container that provides a key for contained elements.
33 private String key; field in class:KeyContainer
35 KeyContainer(String qName, Container parent, String key) { argument
37 this.key = key;
41 return key;
H A DAliasEntry.java29 AliasEntry(String qName, Container parent, String key) { argument
30 super(qName, parent, key);
33 AliasEntry(String qName, Container parent, String key, String value) { argument
34 super(qName, parent, key, value);
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/
H A DXMLSchemaException.java38 String key; field in class:XMLSchemaException
42 public XMLSchemaException(String key, Object[] args) { argument
43 this.key = key;
48 return key;
/openjdk9/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/rngom/parse/compact/
H A DEscapeSyntaxException.java49 private final String key; field in class:EscapeSyntaxException
53 EscapeSyntaxException(String key, int lineNumber, int columnNumber) { argument
54 this.key = key;
60 return key;
/openjdk9/jdk/src/java.management/share/classes/com/sun/jmx/mbeanserver/
H A DGetPropertyAction.java37 private final String key; field in class:GetPropertyAction
39 public GetPropertyAction(String key) { argument
40 this.key = key;
44 return System.getProperty(key);
/openjdk9/langtools/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/
H A DMultiReleaseException.java36 private final String key; field in class:MultiReleaseException
43 * @param key
44 * The key that identifies the message in the jdeps.properties file
48 public MultiReleaseException(String key, Object... params) { argument
50 this.key = key;
55 * Returns the resource message key
58 return key;
/openjdk9/jdk/src/java.desktop/share/classes/java/awt/
H A DMenuShortcut.java35 * the accelerator key) would be created with code like the following:
53 * The accelerator key is platform-dependent and may be obtained
76 int key; field in class:MenuShortcut
79 * Indicates whether the shift key was pressed.
80 * If true, the shift key was pressed.
81 * If false, the shift key was not pressed
96 * @param key the raw keycode for this MenuShortcut, as would be returned
98 * this key were pressed.
101 public MenuShortcut(int key) { argument
102 this(key, fals
114 MenuShortcut(int key, boolean useShiftModifier) argument
[all...]
/openjdk9/langtools/test/jdk/jshell/
H A DIllegalArgumentExceptionTest.java45 Snippet key = varKey(assertEval("int value;", added(VALID)));
50 action.accept(key);
58 testIllegalArgumentException((key) -> getState().varValue((VarSnippet) key));
62 testIllegalArgumentException((key) -> getState().status(key));
66 testIllegalArgumentException((key) -> getState().drop(key));
70 testIllegalArgumentException((key) -> getState().unresolvedDependencies((DeclarationSnippet) key));
[all...]
/openjdk9/langtools/src/jdk.jshell/share/classes/jdk/jshell/
H A DExpressionSnippet.java43 ExpressionSnippet(ExpressionKey key, String userSource, Wrap guts, String name, SubKind subkind) { argument
44 super(key, userSource, guts, name, subkind, null);
57 return key().name();
65 return key().typeName();
71 ExpressionKey key() { method in class:ExpressionSnippet
72 return (ExpressionKey) super.key();
/openjdk9/jdk/src/java.base/share/classes/java/util/
H A DMissingResourceException.java58 * @param key the key for the missing resource.
60 public MissingResourceException(String s, String className, String key) { argument
63 this.key = key;
68 * {@code message}, {@code className}, {@code key},
76 * @param key
77 * the key for the missing resource.
84 MissingResourceException(String message, String className, String key, Throwable cause) { argument
87 this.key
123 private String key; field in class:MissingResourceException
[all...]
/openjdk9/jdk/test/java/util/TreeMap/
H A DClone.java44 for( final String key : m2.keySet() ) {
45 if( !"one".equals( key ) && !"three".equals( key ) ) {
46 throw new IllegalStateException( "Unexpected key: " + key );
50 for( final String key : m1.keySet() ) {
51 if( !"one".equals( key ) && !"two".equals( key ) ) {
52 throw new IllegalStateException( "Unexpected key: " + key );
[all...]
/openjdk9/jdk/src/java.base/share/classes/com/sun/crypto/provider/
H A DDESedeKey.java35 * This class represents a DES-EDE key.
45 private byte[] key; field in class:DESedeKey
48 * Creates a DES-EDE key from a given key.
50 * @param key the given key
52 * @exception InvalidKeyException if the given key has a wrong size
54 DESedeKey(byte[] key) throws InvalidKeyException { argument
55 this(key, 0);
59 * Uses the first 24 bytes in <code>key</cod
68 DESedeKey(byte[] key, int offset) argument
[all...]
/openjdk9/corba/src/java.corba/share/classes/com/sun/corba/se/impl/orbutil/
H A DDenseIntMapImpl.java32 * keys in the range 0..max such that "most" of the key space is actually
39 private void checkKey( int key )
41 if (key < 0)
46 * If {@code key >= 0}, return the value bound to key, or null if none.
47 * Throws IllegalArgumentException if {@code key < 0}.
49 public Object get( int key )
51 checkKey( key ) ;
54 if (key < list.size())
55 result = list.get( key ) ;
64 set( int key, Object value ) argument
[all...]

Completed in 253 milliseconds

1234567891011>>