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

1234567891011>>

/openjdk7/jdk/test/javax/script/
H A DTest3.js1 if (key == undefined || key != 'engine value') {
6 if (context.getAttribute('key', context.GLOBAL_SCOPE) != 'global value') {
11 key = 'new engine value';
13 if (context.getAttribute('key', context.GLOBAL_SCOPE) != 'global value') {
18 delete key;
20 if (key == undefined && key != 'xglobal value') {
H A DTest5.js1 var key; variable
9 if (key != 'value in engine') {
12 if (context.getAttribute("key", context.GLOBAL_SCOPE ) != null) {
19 if (key != 'value in engine') {
22 if (context.getAttribute("key", context.GLOBAL_SCOPE ) !=
30 if (key != 'value in global') {
33 if (context.getAttribute("key", context.GLOBAL_SCOPE ) !=
/openjdk7/jdk/src/share/classes/sun/swing/
H A DStringUIClientPropertyKey.java35 private final String key; field in class:StringUIClientPropertyKey
37 public StringUIClientPropertyKey(String key) { argument
38 this.key = key;
42 return key;
/openjdk7/jdk/src/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...]
/openjdk7/jdk/src/share/classes/sun/applet/
H A DAppletIOException.java37 private String key = null; field in class:AppletIOException
40 public AppletIOException(String key) { argument
41 super(key);
42 this.key = key;
45 public AppletIOException(String key, Object arg) { argument
46 this(key);
52 return amh.getMessage(key, msgobj);
54 return amh.getMessage(key);
H A DAppletIllegalArgumentException.java35 private String key = null; field in class:AppletIllegalArgumentException
37 public AppletIllegalArgumentException(String key) { argument
38 super(key);
39 this.key = key;
44 return amh.getMessage(key);
/openjdk7/jdk/src/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;
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/
H A DXMLSchemaException.java36 String key; field in class:XMLSchemaException
40 public XMLSchemaException(String key, Object[] args) { argument
41 this.key = key;
46 return key;
/openjdk7/jdk/src/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);
/openjdk7/jaxws/src/share/jaxws_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;
/openjdk7/jdk/src/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 shft 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...]
/openjdk7/jdk/src/share/classes/sun/misc/
H A DJavaAWTAccess.java32 public Object get(Object context, Object key); argument
33 public void put(Object context, Object key, Object value); argument
34 public void remove(Object context, Object key); argument
37 public Object get(Object key); argument
38 public void put(Object key, Object value); argument
39 public void remove(Object key); argument
/openjdk7/jdk/src/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>, <code>className</code>, <code>key</code>,
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...]
/openjdk7/jdk/test/java/util/TreeMap/
H A DClone.java45 for( final String key : m2.keySet() ) {
46 if( !"one".equals( key ) && !"three".equals( key ) ) {
47 throw new IllegalStateException( "Unexpected key: " + key );
51 for( final String key : m1.keySet() ) {
52 if( !"one".equals( key ) && !"two".equals( key ) ) {
53 throw new IllegalStateException( "Unexpected key: " + key );
[all...]
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DDESedeKey.java34 * This class represents a DES-EDE key.
44 private byte[] key; field in class:DESedeKey
47 * Creates a DES-EDE key from a given key.
49 * @param key the given key
51 * @exception InvalidKeyException if the given key has a wrong size
53 DESedeKey(byte[] key) throws InvalidKeyException { argument
54 this(key, 0);
58 * Uses the first 24 bytes in <code>key</cod
67 DESedeKey(byte[] key, int offset) argument
[all...]
H A DDESKey.java34 * This class represents a DES key.
44 private byte[] key; field in class:DESKey
47 * Uses the first 8 bytes of the given key as the DES key.
49 * @param key the buffer with the DES key bytes.
52 * the key.
54 DESKey(byte[] key) throws InvalidKeyException { argument
55 this(key, 0);
59 * Uses the first 8 bytes in <code>key</cod
69 DESKey(byte[] key, int offset) argument
[all...]
/openjdk7/corba/src/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)
45 /** If key >= 0, return the value bound to key, or null if none.
46 * Throws IllegalArgumentException if key <0.
48 public Object get( int key )
50 checkKey( key ) ;
53 if (key < list.size())
54 result = list.get( key ) ;
62 set( int key, Object value ) argument
[all...]
/openjdk7/jdk/src/share/classes/java/text/
H A DRuleBasedCollationKey.java59 int result = key.compareTo(((RuleBasedCollationKey)(target)).key);
81 return key.equals(other.key);
86 * key itself, not the String from which the key was created. Thus
93 return (key.hashCode());
104 char[] src = key.toCharArray();
117 RuleBasedCollationKey(String source, String key) { argument
119 this.key
121 private String key = null; field in class:RuleBasedCollationKey
[all...]
/openjdk7/jdk/test/tools/launcher/
H A DEnvironmentVariables.java39 String key = null;
42 key = name;
48 if (key == null) {
49 key = s;
56 if (key == null) {
61 System.err.println("Will check the variable named: '" + key +
64 if (!System.getenv().containsKey(key)) {
65 throw new RuntimeException("ERROR: the variable '" + key +
69 if (!expect.equals(System.getenv().get(key))) {
71 "', got: '" + System.getenv().get(key)
[all...]
/openjdk7/jdk/src/share/classes/sun/security/ec/
H A DECKeyFactory.java87 * ECPublicKey or ECPrivateKey. Check the key and convert it
88 * to a Sun key if necessary. If the key is not an EC key
97 public static ECKey toECKey(Key key) throws InvalidKeyException { argument
98 if (key instanceof ECKey) {
99 ECKey ecKey = (ECKey)key;
103 return (ECKey)INSTANCE.translateKey(key);
108 * Check that the given EC key is valid.
110 private static void checkKey(ECKey key) throw argument
137 engineTranslateKey(Key key) argument
179 implTranslatePublicKey(PublicKey key) argument
200 implTranslatePrivateKey(PrivateKey key) argument
252 engineGetKeySpec(Key key, Class<T> keySpec) argument
[all...]
/openjdk7/jdk/test/java/util/HashMap/
H A DOverrideIsEmpty.java45 public V get(Object key) { argument
46 if (key == alwaysExistingKey) {
49 return super.get(key);
65 Object key = new Object();
67 map.get(key);
68 map.remove(key);
69 map.replace(key, value, null);
70 map.replace(key, value);
71 map.computeIfPresent(key, new BiFunction<Object, Object, Object>() {
72 public Object apply(Object key, Objec
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ha/
H A DHaInfo.java44 * <li>key - Related {@link com.sun.org.glassfish.ha.store.api.BackingStore} keys can
46 * and subsequent related stores use the same key.
64 private final String key; field in class:HaInfo
67 public HaInfo(String key, String replicaInstance, boolean failOver) { argument
68 this.key = key;
78 return key;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/localization/
H A DLocalizableImpl.java34 private final String key; field in class:LocalizableImpl
38 public LocalizableImpl(String key, Object[] arguments, String resourceBundleName) { argument
39 this.key = key;
45 return key;
/openjdk7/jdk/src/share/classes/com/sun/script/util/
H A DBindingsImpl.java39 //get method delegates to global if key is not defined in
58 public Object get(Object key) { argument
59 checkKey(key);
62 if ((local != null) && (null != (ret = local.get(key)))) {
66 ret = getImpl((String)key);
71 return global.get(key);
77 public Object remove(Object key) { argument
78 checkKey(key);
79 Object ret = get(key);
81 removeImpl((String)key);
[all...]
/openjdk7/jdk/src/share/classes/sun/nio/fs/
H A DAbstractWatchService.java42 // special key to indicate that watch service is closed
70 // used by AbstractWatchKey to enqueue key
71 final void enqueueKey(WatchKey key) { argument
72 pendingKeys.offer(key);
84 * Checks the key isn't the special CLOSE_KEY used to unblock threads when
87 private void checkKey(WatchKey key) { argument
88 if (key == CLOSE_KEY) {
90 enqueueKey(key);
98 WatchKey key = pendingKeys.poll();
99 checkKey(key);
[all...]

Completed in 140 milliseconds

1234567891011>>