Home
last modified time | relevance | path

Searched defs:keys (Results 1 – 25 of 72) sorted by relevance

123

/libcore/ojluni/src/test/java/util/Map/
DInPlaceOpsCollisions.java48 Object[] keys = map.keySet().toArray(); in testPutIfAbsent() local
79 Object[] keys = map.keySet().toArray(); in testRemoveMapping() local
116 Object[] keys = map.keySet().toArray(); in testReplaceOldValue() local
148 Object[] keys = map.keySet().toArray(); in testReplaceIfMapped() local
183 private static <T> void testComputeIfAbsent(Map<T, T> map, String desc, T[] keys, in testComputeIfAbsent() argument
230 Object[] keys = map.keySet().toArray(); in testComputeIfAbsentNonNull() local
237 Object[] keys = map.keySet().toArray(); in testComputeIfAbsentNull() local
241 private static <T> void testComputeIfPresent(Map<T, T> map, String desc, T[] keys, in testComputeIfPresent() argument
285 Object[] keys = map.keySet().toArray(); in testComputeIfPresentNonNull() local
292 Object[] keys = map.keySet().toArray(); in testComputeIfPresentNull() local
[all …]
DMapWithCollisionsProviders.java170 private static <T> Map<T, T> fillMap(Map<T, T> m, T[] keys) { in fillMap() argument
180 private static <T> Supplier<Map<T, T>> createMap(Map<T, T> m, T[] keys) { in createMap() argument
184 private static <T> Object[] createCase(String desc, Map<T, T> m, T[] keys, T val) { in createCase() argument
189 T[] keys, in makeMapsMoreTypes()
208 T[] keys, in makeMapsHashMap()
218 private static <T> Collection<Object[]> makeMaps(String desc, T[] keys, T val) { in makeMaps()
225 private static <T> Collection<Object[]> makeObjectsCases(String desc, T[] keys) { in makeObjectsCases()
230 T[] keys) { in makeStringsCases()
DToArray.java85 Object[] keys = map.keySet().toArray(); in testMap() local
/libcore/ojluni/src/main/java/sun/nio/ch/
DMembershipRegistry.java59 List<MembershipKeyImpl> keys = groups.get(group); in checkMembership() local
89 List<MembershipKeyImpl> keys; in add() local
108 List<MembershipKeyImpl> keys = groups.get(group); in remove() local
DSelectorImpl.java47 protected HashSet<SelectionKey> keys; field in SelectorImpl
66 public Set<SelectionKey> keys() { in keys() method in SelectorImpl
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DListResourceBundleTest.java35 Enumeration<String> keys = bundle.getKeys(); in test_getKeys() local
54 Enumeration keys = bundle.getKeys(); in test_handleGetObjectLjava_lang_String() local
DWeakHashMapTest.java186 List keys = Arrays.asList(keyArray); in test_entrySet() local
295 List keys = Arrays.asList(keyArray); in test_keySet() local
381 List keys = Arrays.asList(keyArray); in test_values() local
537 Set<String> keys = hashMap.keySet(); in test_spliterator_keySet() local
/libcore/json/src/test/java/libcore/org/json/
DJSONArrayTest.java330 JSONArray keys = new JSONArray(); in testToJSONObject() local
348 JSONArray keys = new JSONArray(); in testToJSONObjectWithNulls() local
364 JSONArray keys = new JSONArray(); in testToJSONObjectMoreNamesThanValues() local
375 JSONArray keys = new JSONArray(); in testToJSONObjectMoreValuesThanNames() local
386 JSONArray keys = new JSONArray(); in testToJSONObjectNullKey() local
/libcore/ojluni/src/tools/build/tools/spp/
DSpp.java72 Set<String> keys = new HashSet<>(); in main() local
124 Set<String> keys, Map<String, String> vars) { in append()
154 Set<String> keys, Map<String, String> vars, in spp()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyPairGenerator1Test.java349 int[] keys = { -10000, -1024, -1, 0, 10000 }; in testKeyPairGenerator11() local
386 int[] keys = { -1, -250, 1, 64, 512, 1024 }; in testKeyPairGenerator12() local
462 int[] keys = { -1, -250, 1, 63, -512, -1024 }; in testKeyPairGenerator13() local
DKeyFactory2Test.java117 KeyPair keys = keyGen.generateKeyPair(); in test_generatePrivateLjava_security_spec_KeySpec() local
147 KeyPair keys = keyGen.generateKeyPair(); in test_generatePublicLjava_security_spec_KeySpec() local
239 KeyPair keys = keyGen.generateKeyPair(); in test_getKeySpecLjava_security_KeyLjava_lang_Class() local
296 KeyPair keys = keyGen.generateKeyPair(); in test_translateKeyLjava_security_Key() local
DKeyFactoryTest.java290 Key[] keys = { in testGetKeySpec() local
319 Key[] keys = { in testGetKeySpec() local
372 Key[] keys = { in testTranslateKey() local
396 Key[] keys = { in testTranslateKey() local
/libcore/luni/src/test/java/tests/security/interfaces/
DDSAPublicKeyTest.java39 KeyPair keys = null; in test_getY() local
/libcore/ojluni/annotations/hiddenapi/sun/nio/ch/
DSelectorImpl.java40 public java.util.Set<java.nio.channels.SelectionKey> keys() { in keys() method in SelectorImpl
93 protected java.util.HashSet<java.nio.channels.SelectionKey> keys; field in SelectorImpl
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSessionTest.java464 String keys; field in SSLSessionTest.TestServer
472 public TestServer(boolean provideKeys, int clientAuth, String keys) throws Exception { in TestServer()
547 private String keys; field in SSLSessionTest.TestClient
553 public TestClient(boolean provideKeys, String keys) { in TestClient()
608 private KeyStore getKeyStore(String keys) throws Exception { in getKeyStore()
DHandshakeCompletedEventTest.java391 String keys; field in HandshakeCompletedEventTest.TestServer
397 public TestServer(boolean provideKeys, int clientAuth, String keys) throws Exception { in TestServer()
473 private String keys; field in HandshakeCompletedEventTest.TestClient
477 public TestClient(boolean provideKeys, String keys) { in TestClient()
536 private KeyManager[] getKeyManagers(String keys) throws Exception { in getKeyManagers()
DSSLSocketTest.java497 String keys = useBKS ? SERVER_KEYS_BKS : SERVER_KEYS_JKS; in startServer() local
533 String keys; field in SSLSocketTest.TestServer
539 public TestServer(boolean provideKeys, String keys) { in TestServer()
601 private KeyManager[] getKeyManagers(String keys) throws Exception { in getKeyManagers()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DCipherWrapThread.java26 CipherWrapThread(String name, int[] keys, String[] modes, String[] paddings) { in CipherWrapThread()
DCipherRSAThread.java26 CipherRSAThread(String name, int[] keys, String[] modes, String[] paddings) { in CipherRSAThread()
DCipherSymmetricKeyThread.java28 CipherSymmetricKeyThread(String name, int[] keys, String[] modes, String[] paddings) { in CipherSymmetricKeyThread()
DCipherPBEThread.java30 CipherPBEThread(String name, int[] keys, String[] modes, String[] paddings) { in CipherPBEThread()
/libcore/ojluni/src/main/java/java/util/
DDictionary.java84 public abstract Enumeration<K> keys(); in keys() method in Dictionary
/libcore/luni/src/test/java/tests/security/spec/
DEncodedKeySpec2Test.java42 KeyPair keys = keyGen.generateKeyPair(); in test_getEncoded() local
/libcore/ojluni/src/test/java/util/HashMap/
DReplaceExisting.java75 HashSet<Integer> keys = new HashSet<>(hm.size()); in testItr() local
/libcore/ojluni/src/main/java/java/security/
DSigner.java158 String keys = ""; in printKeys() local

123