Searched refs:put (Results 1 - 25 of 489) sorted by relevance

1234567891011>>

/libcore/support/src/test/java/tests/support/
H A DSupport_TestProvider.java55 put("MessageDigest.SHA",
57 put("MessageDigest.MD5",
60 put("Alg.Alias.MessageDigest.SHA1", "SHA");
61 put("Alg.Alias.MessageDigest.SHA-1", "SHA");
62 put("Alg.Alias.MessageDigest.OID.1.3.14.3.2.26", "SHA");
63 put("Alg.Alias.MessageDigest.1.3.14.3.2.26", "SHA");
66 put("AlgorithmParameterGenerator.DSA",
70 put("AlgorithmParameters.DSA",
73 put("Alg.Alias.AlgorithmParameters.1.2.840.10040.4.1", "DSA");
74 put("Al
[all...]
H A DSupport_ProviderTrust.java56 put("MessageDigest.SHA",
58 put("MessageDigest.MD5",
62 put("AlgorithmParameterGenerator.DSA",
66 put("AlgorithmParameters.DSA",
70 put("KeyPairGenerator.DSA",
74 put("KeyFactory.DSA", "made.up.provider.name.KeyFactoryDSA");
75 put("KeyFactory.RSA", "made.up.provider.name.KeyFactoryRSA");
78 put("Signature.SHA1withDSA",
82 put("KeyStore.PKCS#12/Netscape",
86 put("CertificateFactor
[all...]
/libcore/ojluni/src/main/java/sun/util/locale/
H A DLocaleEquivalentMaps.java47 singleEquivMap.put("acn", "xia");
48 singleEquivMap.put("adx", "pcr");
49 singleEquivMap.put("ami", "i-ami");
50 singleEquivMap.put("art-lojban", "jbo");
51 singleEquivMap.put("ase", "sgn-us");
52 singleEquivMap.put("ayx", "nun");
53 singleEquivMap.put("bfi", "sgn-gb");
54 singleEquivMap.put("bjd", "drl");
55 singleEquivMap.put("bnn", "i-bnn");
56 singleEquivMap.put("bz
[all...]
/libcore/ojluni/src/main/java/sun/security/provider/
H A DCertPathProvider.java41 put("CertPathBuilder.PKIX", "sun.security.provider.certpath.SunCertPathBuilder");
42 put("CertPathBuilder.PKIX ImplementedIn", "Software");
43 put("CertPathBuilder.PKIX ValidationAlgorithm", "RFC3280");
46 put("CertPathValidator.PKIX", "sun.security.provider.certpath.PKIXCertPathValidator");
47 put("CertPathValidator.PKIX ImplementedIn", "Software");
48 put("CertPathValidator.PKIX ValidationAlgorithm", "RFC3280");
/libcore/support/src/test/java/libcore/tlswire/handshake/
H A DHelloExtension.java39 TYPE_TO_NAME.put(TYPE_SERVER_NAME, "server_name");
40 TYPE_TO_NAME.put(1, "max_fragment_length");
41 TYPE_TO_NAME.put(2, "client_certificate_url");
42 TYPE_TO_NAME.put(3, "trusted_ca_keys");
43 TYPE_TO_NAME.put(4, "truncated_hmac");
44 TYPE_TO_NAME.put(5, "status_request");
45 TYPE_TO_NAME.put(6, "user_mapping");
46 TYPE_TO_NAME.put(7, "client_authz");
47 TYPE_TO_NAME.put(8, "server_authz");
48 TYPE_TO_NAME.put(
[all...]
/libcore/luni/src/test/java/libcore/java/math/
H A DRunCSVTests.java20 funcUlps.put("sinh", 2.5);
21 funcUlps.put("cosh", 2.5);
22 funcUlps.put("tanh", 2.5);
23 funcUlps.put("abs", 0.0);
24 funcUlps.put("signum", 0.0);
25 funcUlps.put("getExponent", 0.0);
26 funcUlps.put("toRadians", 0.0);
27 funcUlps.put("toDegrees", 0.0);
28 funcUlps.put("sqrt", 0.0);
29 funcUlps.put("cei
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DReadOnlyCharBufferTest.java76 buf.put((char) 0);
86 buf.put(array);
92 buf.put((char[]) null);
102 buf.put(array, 0, array.length);
108 buf.put((char[]) null, 0, 1);
114 buf.put(new char[buf.capacity() + 1], 0, buf.capacity() + 1);
120 buf.put(array, -1, array.length);
130 buf.put(other);
136 buf.put((CharBuffer) null);
142 buf.put(bu
[all...]
H A DReadOnlyDoubleBufferTest.java73 buf.put(0);
83 buf.put(array);
89 buf.put((double[]) null);
99 buf.put(array, 0, array.length);
105 buf.put((double[]) null, 0, 1);
111 buf.put(new double[buf.capacity() + 1], 0, buf.capacity() + 1);
117 buf.put(array, -1, array.length);
127 buf.put(other);
133 buf.put((DoubleBuffer) null);
139 buf.put(bu
[all...]
H A DReadOnlyFloatBufferTest.java74 buf.put(0);
84 buf.put(array);
90 buf.put((float[]) null);
100 buf.put(array, 0, array.length);
106 buf.put((float[]) null, 0, 1);
112 buf.put(new float[buf.capacity() + 1], 0, buf.capacity() + 1);
118 buf.put(array, -1, array.length);
128 buf.put(other);
134 buf.put((FloatBuffer) null);
140 buf.put(bu
[all...]
H A DReadOnlyIntBufferTest.java74 buf.put(0);
84 buf.put(array);
90 buf.put((int[]) null);
100 buf.put(array, 0, array.length);
106 buf.put((int[]) null, -1, 1);
112 buf.put(new int[buf.capacity() + 1], 0, buf.capacity() + 1);
118 buf.put(array, -1, array.length);
128 buf.put(other);
134 buf.put((IntBuffer) null);
140 buf.put(bu
[all...]
H A DReadOnlyLongBufferTest.java74 buf.put(0);
84 buf.put(array);
90 buf.put((long[]) null);
100 buf.put(array, 0, array.length);
106 buf.put((long[]) null, 0, 1);
112 buf.put(new long[buf.capacity() + 1], 0, buf.capacity() + 1);
118 buf.put(array, -1, array.length);
128 buf.put(other);
134 buf.put((LongBuffer) null);
140 buf.put(bu
[all...]
H A DReadOnlyShortBufferTest.java74 buf.put((short)0);
84 buf.put(array);
90 buf.put((short[]) null);
100 buf.put(array, 0, array.length);
106 buf.put((short[]) null, 0, 1);
112 buf.put(new short[buf.capacity() + 1], 0, buf.capacity() + 1);
118 buf.put(array, -1, array.length);
128 buf.put(other);
134 buf.put((ShortBuffer) null);
140 buf.put(bu
[all...]
/libcore/luni/src/test/java/libcore/java/util/
H A DOldAbstractMapTest.java41 amt1.put("1", "one");
43 amt1.put("2", "two");
44 amt1.put("3", "three");
46 amt2.put("1", "one");
47 amt2.put("2", "two");
48 amt2.put("3", "three");
56 amt1.put("1", "one");
64 amt.put("1", "one");
71 amt.put("1", "one");
73 amt.put("
104 @Override public String put(String key, String value) { method in class:OldAbstractMapTest.AMT
[all...]
H A DTreeMapTest.java46 map.put("A", "a");
47 map.put("B", "b");
48 map.put("C", "c");
71 map.put("A", "a");
72 map.put("B", "b");
73 map.put("C", "c");
74 map.put("D", "d");
100 map.put("A", "a");
101 map.put("B", "b");
102 map.put("
[all...]
H A DHashMapTest.java86 m.put("a", 1);
87 m.put("b", 2);
88 m.put("c", 3);
89 m.put("d", 4);
90 m.put("e", 5);
91 m.put("f", 6);
92 m.put("g", 7);
93 m.put("h", 8);
94 m.put("i", 9);
95 m.put("
[all...]
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DSocketOptionRegistry.java61 map.put(new RegistryKey(StandardSocketOptions.SO_BROADCAST, Net.UNSPEC), new OptionKey(1, 6));
62 map.put(new RegistryKey(StandardSocketOptions.SO_KEEPALIVE, Net.UNSPEC), new OptionKey(1, 9));
63 map.put(new RegistryKey(StandardSocketOptions.SO_LINGER, Net.UNSPEC), new OptionKey(1, 13));
64 map.put(new RegistryKey(StandardSocketOptions.SO_SNDBUF, Net.UNSPEC), new OptionKey(1, 7));
65 map.put(new RegistryKey(StandardSocketOptions.SO_RCVBUF, Net.UNSPEC), new OptionKey(1, 8));
66 map.put(new RegistryKey(StandardSocketOptions.SO_REUSEADDR, Net.UNSPEC), new OptionKey(1, 2));
67 map.put(new RegistryKey(StandardSocketOptions.TCP_NODELAY, Net.UNSPEC), new OptionKey(6, 1));
68 map.put(new RegistryKey(StandardSocketOptions.IP_TOS, StandardProtocolFamily.INET), new OptionKey(0, 1));
69 map.put(new RegistryKey(StandardSocketOptions.IP_MULTICAST_IF, StandardProtocolFamily.INET), new OptionKey(0, 32));
70 map.put(ne
[all...]
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/
H A DMapTest.java52 EXPECTED.put(0, "zero");
53 EXPECTED.put(1, "one");
54 EXPECTED.put(2, "two");
55 EXPECTED.put(3, "three");
56 EXPECTED.put(4, "four");
57 EXPECTED.put(5, "five");
58 EXPECTED.put(6, "six");
59 EXPECTED.put(7, "seven");
60 EXPECTED.put(8, "eight");
61 EXPECTED.put(
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DWeakHashMapTest.java65 whm.put(keyArray[i], valueArray[i]);
78 whm.put(keyArray[i], valueArray[i]);
84 empty.put("something", "here");
102 whm.put(keyArray[i], valueArray[i]);
108 empty.put("something", "here");
142 whm.put(keyArray[i], valueArray[i]);
157 whm.put(keyArray[i], valueArray[i]);
171 whm.put(keyArray[i], valueArray[i]);
185 whm.put(keyArray[i], valueArray[i]);
225 whm.put(myObjec
[all...]
H A DHashMapTest.java130 empty.put("something", "here");
150 empty.put("something", "here");
161 myMap.put(objArray2[counter], objArray[counter]);
185 map.put(i, "foobar");
206 map.put("key", "value");
215 map2.put("key", "value2");
222 map2.put("key2", "value3");
231 hashmap.put(1, mock);
251 m.put(null, "test");
302 hm.put("
953 public V put(K key, V value) { method in class:HashMapTest.SubMap
[all...]
H A DLinkedHashMapTest.java98 empty.put("something", "here");
119 empty.put("something", "here");
130 myMap.put(objArray2[counter], objArray[counter]);
145 hm.put("T", "HELLO");
150 m.put(null, "test");
157 * java.util.LinkedHashMap#put(java.lang.Object, java.lang.Object)
161 // java.util.LinkedHashMap.put(java.lang.Object, java.lang.Object)
162 hm.put("KEY", "VALUE");
167 m.put(new Short((short) 0), "short");
168 m.put(nul
444 public Object put(Object k, Object v) { method in class:LinkedHashMapTest.MockMap
[all...]
H A DIdentityHashMapTest.java92 empty.put("something", "here");
103 myMap.put(objArray2[counter], objArray[counter]);
146 map.put("key", "value");
155 map2.put("key", "value2");
162 map2.put("key2", "value3");
182 m.put(null, "test");
224 hm.put("T", "HELLO");
229 m.put(null, "test");
258 m.put(null, "test");
263 map.put(ne
[all...]
/libcore/ojluni/src/main/java/java/time/
H A DZoneId.java221 map.put("ACT", "Australia/Darwin");
222 map.put("AET", "Australia/Sydney");
223 map.put("AGT", "America/Argentina/Buenos_Aires");
224 map.put("ART", "Africa/Cairo");
225 map.put("AST", "America/Anchorage");
226 map.put("BET", "America/Sao_Paulo");
227 map.put("BST", "Asia/Dhaka");
228 map.put("CAT", "Africa/Harare");
229 map.put("CNT", "America/St_Johns");
230 map.put("CS
[all...]
/libcore/json/src/test/java/libcore/org/json/
H A DJSONObjectTest.java126 object.put("foo", value);
127 object.put("bar", new Object());
128 object.put("baz", new Object());
136 object.put(null, value);
149 assertSame(object, object.put("foo", true));
150 object.put("foo", false);
153 object.put("foo", 5.0d);
155 object.put("foo", 0);
157 object.put("bar", Long.MAX_VALUE - 1);
159 object.put("ba
[all...]
H A DJSONArrayTest.java69 a.put(true);
70 a.put(false);
71 b.put(true);
72 b.put(false);
76 b.put(true);
83 array.put(true);
84 array.put(false);
85 array.put(2, false);
86 array.put(3, false);
87 array.put(
[all...]
/libcore/luni/src/test/java/libcore/libcore/util/
H A DBasicLruCacheTest.java37 cache.put("aa", "put-aa");
38 assertEquals("put-aa", cache.get("aa"));
52 cache.put(null, "A");
61 cache.put("a", null);
69 cache.put("a", "A");
70 cache.put("b", "B");
83 cache.put("a", "A");
84 cache.put("b", "B");
85 cache.put("
[all...]

Completed in 3622 milliseconds

1234567891011>>