/libcore/luni/src/test/java/libcore/java/util/ |
D | LinkedHashMapTest.java | 270 m.putAll(createMap("K1", "V1", "K2", "V2", "K3", "V3", "K4", "V4")); in test_removeEldestEntry_removeKey() 271 assertEquals(createMap("K3", "V3", "K4", "V4"), m); in test_removeEldestEntry_removeKey() 287 m.putAll(createMap("K1", "V1", "K2", "V2", "K3", "V3", "K4", "V4")); in test_removeEldestEntry_removeEntry() 288 assertEquals(createMap("K3", "V3", "K4", "V4"), m); in test_removeEldestEntry_removeEntry() 304 m.putAll(createMap("K1", "V1", "K2", "V2", "K3", "V3")); in test_removeEldestEntry_orderedAccess() 306 m.putAll(createMap("K4", "V4")); in test_removeEldestEntry_orderedAccess() 307 assertEquals(createMap("K2", "V2", "K4", "V4"), m); in test_removeEldestEntry_orderedAccess() 323 m.putAll(createMap("K1", "V1", "K2", "V2", "K3", "V3")); in test_removeEldestEntry_removeOtherThanPassedEldest() 324 assertEquals(createMap("K1", "V1", "K3", "V3"), m); in test_removeEldestEntry_removeOtherThanPassedEldest() 362 LinkedHashMap<String, String> emptyMap = createMap(); in test_eldest_empty() [all …]
|
D | CollectionsTest.java | 294 new TreeMap<>(createMap("key3", 3, "key1", 1, "key4", 4, "key2", 2)), in test_checkedNavigableMap_replaceAll() 298 createMap("key3", 15, "key1", 5, "key4", 20, "key2", 10), in test_checkedNavigableMap_replaceAll() 357 new TreeMap<>(createMap("key3", 3, "key1", 1, "key4", 4, "key2", 2)), in test_checkedNavigableMap_navigableKeySet() 367 new TreeMap<>(createMap("key3", 3, "key1", 1, "key4", 4, "key2", 2)), in test_checkedNavigableMap_values() 623 new TreeMap<>(createMap("key3", 3, "key1", 1, "key4", 4, "key2", 2))); in test_unmodifiableNavigableMap_nonEmpty() 660 new TreeMap<>(createMap("key3", 3, "key1", 1, "key4", 4, "key2", 2))); in test_synchronizedNavigableMap_replaceAll() 662 assertEquals(map, createMap("key3", 15, "key1", 5, "key4", 20, "key2", 10)); in test_synchronizedNavigableMap_replaceAll() 715 new TreeMap<>(createMap("key3", 3, "key1", 1, "key4", 4, "key2", 2))); in test_synchronizedNavigableMap_keySet() 723 new TreeMap<>(createMap("key3", 3, "key1", 1, "key4", 4, "key2", 2))); in test_synchronizedNavigableMap_navigableKeySet() 730 new TreeMap<>(createMap("key3", 3, "key1", 1, "key4", 4, "key2", 2))); in test_synchronizedNavigableMap_descendingMap_descendingKeySet() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | ConcurrentHashMapTest.java | 108 static ConcurrentHashMap<Long, Long> createMap() { in createMap() method in ConcurrentHashMapTest 118 ConcurrentHashMap<Long, Long> map = createMap(); in testReduceEntriesToDoubleSequentially() 126 ConcurrentHashMap<Long, Long> map = createMap(); in testReduceEntriesToDoubleInParallel() 134 ConcurrentHashMap<Long, Long> map = createMap(); in testReduceEntriesToIntSequentially() 141 ConcurrentHashMap<Long, Long> map = createMap(); in testReduceEntriesToIntInParallel() 148 ConcurrentHashMap<Long, Long> map = createMap(); in testReduceEntriesToLongSequentially() 155 ConcurrentHashMap<Long, Long> map = createMap(); in testReduceEntriesToLongInParallel() 162 ConcurrentHashMap<Long, Long> map = createMap(); in testTransformReduceEntriesSequentially() 170 ConcurrentHashMap<Long, Long> map = createMap(); in testTransformReduceEntriesInParallel() 178 ConcurrentHashMap<Long, Long> map = createMap(); in testTransformReduceEntriesToDoubleSequentially() [all …]
|
/libcore/ojluni/src/main/java/sun/util/resources/ |
D | OpenListResourceBundle.java | 138 Map<String, Object> temp = createMap(contents.length); in loadLookup() 159 protected <K, V> Map<K, V> createMap(int size) { in createMap() method in OpenListResourceBundle
|
/libcore/ojluni/src/main/java/java/lang/ |
D | InheritableThreadLocal.java | 80 void createMap(Thread t, T firstValue) { in createMap() method in InheritableThreadLocal
|
D | ThreadLocal.java | 186 createMap(t, value); in setInitialValue() 205 createMap(t, value); in set() 243 void createMap(Thread t, T firstValue) { in createMap() method in ThreadLocal
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | ThreadLocal.java | 71 void createMap(java.lang.Thread t, T firstValue) { in createMap() method in ThreadLocal
|