Searched refs:put (Results 1 - 25 of 471) 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/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/ojluni/src/main/java/sun/security/rsa/
H A DSunRsaSignEntries.java45 map.put("KeyFactory.RSA",
47 map.put("KeyPairGenerator.RSA",
49 map.put("Signature.MD2withRSA",
51 map.put("Signature.MD5withRSA",
53 map.put("Signature.SHA1withRSA",
55 map.put("Signature.SHA256withRSA",
57 map.put("Signature.SHA384withRSA",
59 map.put("Signature.SHA512withRSA",
66 map.put("Signature.MD2withRSA SupportedKeyClasses", rsaKeyClasses);
67 map.put("Signatur
[all...]
/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/ojluni/src/main/java/sun/net/
H A DRegisteredDomain.java128 topMap.put("ac", new HashSet<String>(Arrays.asList("com", "co", "edu", "gov", "net", "mil", "org")));
129 topMap.put("ae", new HashSet<String>(Arrays.asList("co", "net", "org", "sch", "ac", "gov", "mil")));
130 topMap.put("aero", new HashSet<String>(Arrays.asList("accident-investigation",
145 topMap.put( "ag", new HashSet<String>(Arrays.asList("com", "org", "net", "co", "nom")));
146 topMap.put( "ai", new HashSet<String>(Arrays.asList("off", "com", "net", "org")));
147 topMap.put( "al", new HashSet<String>(Arrays.asList("com", "edu", "gov", "mil", "net", "org")));
148 topMap.put( "an", new HashSet<String>(Arrays.asList("com")));
149 topMap.put( "ao", new HashSet<String>(Arrays.asList("ed", "gv", "og", "co", "pb", "it")));
150 topMap.put( "at", new HashSet<String>(Arrays.asList("ac", "co", "gv", "or", "biz", "info", "priv")));
151 topMap.put( "a
[all...]
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
H A DCryptoProvider.java38 put("SecureRandom.SHA1PRNG",
40 put("SecureRandom.SHA1PRNG ImplementedIn", "Software");
/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/luni/src/test/java/libcore/java/util/
H A DTreeMapTest.java45 map.put("A", "a");
46 map.put("B", "b");
47 map.put("C", "c");
70 map.put("A", "a");
71 map.put("B", "b");
72 map.put("C", "c");
73 map.put("D", "d");
99 map.put("A", "a");
100 map.put("B", "b");
101 map.put("
[all...]
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...]
/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/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("
949 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/json/src/test/java/org/json/
H A DJSONObjectTest.java120 object.put("foo", value);
121 object.put("bar", new Object());
122 object.put("baz", new Object());
130 object.put(null, value);
143 assertSame(object, object.put("foo", true));
144 object.put("foo", false);
147 object.put("foo", 5.0d);
149 object.put("foo", 0);
151 object.put("bar", Long.MAX_VALUE - 1);
153 object.put("ba
[all...]
H A DJSONArrayTest.java64 a.put(true);
65 a.put(false);
66 b.put(true);
67 b.put(false);
71 b.put(true);
78 array.put(true);
79 array.put(false);
80 array.put(2, false);
81 array.put(3, false);
82 array.put(
[all...]
/libcore/luni/src/test/java/libcore/util/
H A DBasicLruCacheTest.java35 cache.put("aa", "put-aa");
36 assertEquals("put-aa", cache.get("aa"));
50 cache.put(null, "A");
59 cache.put("a", null);
67 cache.put("a", "A");
68 cache.put("b", "B");
81 cache.put("a", "A");
82 cache.put("b", "B");
83 cache.put("
[all...]

Completed in 2303 milliseconds

1234567891011>>