/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ConcurrentSkipListSubMapTest.java | 38 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); in map5() local 56 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); in dmap5() local 69 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); in map0() local 75 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); in dmap0() local 84 ConcurrentNavigableMap map = map5(); in testClear() local 106 ConcurrentNavigableMap map = map5(); in testContainsKey() local 115 ConcurrentNavigableMap map = map5(); in testContainsValue() local 125 ConcurrentNavigableMap map = map5(); in testGet() local 136 ConcurrentNavigableMap map = map5(); in testIsEmpty() local 145 ConcurrentNavigableMap map = map5(); in testFirstKey() local [all …]
|
D | TreeSubMapTest.java | 37 TreeMap map = new TreeMap(); in map5() local 52 TreeMap map = new TreeMap(); in map0() local 61 TreeMap map = new TreeMap(); in dmap5() local 74 TreeMap map = new TreeMap(); in dmap0() local 83 NavigableMap map = map5(); in testClear() local 105 NavigableMap map = map5(); in testContainsKey() local 114 NavigableMap map = map5(); in testContainsValue() local 124 NavigableMap map = map5(); in testGet() local 135 NavigableMap map = map5(); in testIsEmpty() local 144 NavigableMap map = map5(); in testFirstKey() local [all …]
|
D | TreeMapTest.java | 39 TreeMap map = new TreeMap(); in map5() local 55 TreeMap map = map5(); in testClear() local 64 TreeMap map = map5(); in testConstructFromSorted() local 86 TreeMap map = map5(); in testContainsKey() local 95 TreeMap map = map5(); in testContainsValue() local 105 TreeMap map = map5(); in testGet() local 116 TreeMap map = map5(); in testIsEmpty() local 125 TreeMap map = map5(); in testFirstKey() local 133 TreeMap map = map5(); in testLastKey() local 141 TreeMap map = map5(); in testKeySetToArray() local [all …]
|
D | ConcurrentSkipListMapTest.java | 40 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); in map5() local 56 ConcurrentSkipListMap map = map5(); in testClear() local 65 ConcurrentSkipListMap map = map5(); in testConstructFromSorted() local 87 ConcurrentSkipListMap map = map5(); in testContainsKey() local 96 ConcurrentSkipListMap map = map5(); in testContainsValue() local 106 ConcurrentSkipListMap map = map5(); in testGet() local 117 ConcurrentSkipListMap map = map5(); in testIsEmpty() local 126 ConcurrentSkipListMap map = map5(); in testFirstKey() local 134 ConcurrentSkipListMap map = map5(); in testLastKey() local 142 ConcurrentSkipListMap map = map5(); in testKeySetToArray() local [all …]
|
D | ConcurrentHashMapTest.java | 40 ConcurrentHashMap map = new ConcurrentHashMap<Integer, String>(5); in map5() local 184 ConcurrentHashMap<Object, Object> map = in testMixedComparable() local 217 ConcurrentHashMap map = map5(); in testClear() local 239 ConcurrentHashMap<Integer,String> map = map5(); in testHashCode() local 250 ConcurrentHashMap map = map5(); in testContains() local 259 ConcurrentHashMap map = map5(); in testContainsKey() local 268 ConcurrentHashMap map = map5(); in testContainsValue() local 278 ConcurrentHashMap map = map5(); in testEnumeration() local 293 ConcurrentHashMap map = map5(); in testGet() local 305 ConcurrentHashMap map = map5(); in testIsEmpty() local [all …]
|
D | ConcurrentHashMap8Test.java | 44 ConcurrentHashMap map = new ConcurrentHashMap(5); in map5() local 60 ConcurrentHashMap map = map5(); in testGetOrDefault() local 69 ConcurrentHashMap map = map5(); in testComputeIfAbsent() local 78 ConcurrentHashMap map = map5(); in testComputeIfAbsent2() local 86 ConcurrentHashMap map = map5(); in testComputeIfAbsent3() local 95 ConcurrentHashMap map = map5(); in testComputeIfPresent() local 104 ConcurrentHashMap map = map5(); in testComputeIfPresent2() local 112 ConcurrentHashMap map = map5(); in testCompute() local 121 ConcurrentHashMap map = map5(); in testCompute2() local 129 ConcurrentHashMap map = map5(); in testCompute3() local [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldAndroidHashMapTest.java | 29 private void addItems(HashMap<String, Integer> map) { in addItems() 44 HashMap<String, Integer> map = new HashMap<String, Integer>(); in testAdd() local 49 HashMap<String, Integer> map = new HashMap<String, Integer>(); in testClear() local 57 HashMap<String, Integer> map = new HashMap<String, Integer>(); in testRemove() local 65 HashMap<String, Integer> map = new HashMap<String, Integer>(); in testManipulate() local 113 HashMap<String, Integer> map = new HashMap<String, Integer>(); in testKeyIterator() local 148 HashMap<String, Integer> map = new HashMap<String, Integer>(); in testValueIterator() local 183 HashMap<String, Integer> map = new HashMap<String, Integer>(); in testEntryIterator() local
|
D | TreeMapTest.java | 45 TreeMap<String, String> map = new TreeMap<String, String>(); in testEntrySetSetValue() local 70 TreeMap<String, String> map = new TreeMap<String, String>(); in testSubMapEntrySetSetValue() local 99 TreeMap<String, String> map = new TreeMap<String, String>(); in testExceptionsOnSetValue() local 111 TreeMap<String, String> map = new TreeMap<String, String>(); in testExceptionsOnSubMapSetValue() local 124 private void assertAllEntryMethodsReturnImmutableEntries(NavigableMap<String, String> map) { in assertAllEntryMethodsReturnImmutableEntries() argument 146 Map<String, String> map = new TreeMap<String, String>(); in testConcurrentModificationDetection() local 163 Map<String, String> map = new TreeMap<String, String>(); in testIteratorRemoves() local 180 Map<String,String> map = new TreeMap<String, String>(String.CASE_INSENSITIVE_ORDER); in testEntrySetUsesComparatorOnly() local 202 TreeMap<String,String> map = new TreeMap<String, String>(); in testNullsWithNaturalOrder() local 250 Map<Object, Object> map = new TreeMap<Object, Object>(); in testClassCastExceptions() local [all …]
|
D | EvilMapTest.java | 53 HashMap<String, String> map = new HashMap<String, String>(evil); in test_48055_HashMap() local 63 Hashtable<String, String> map = new Hashtable<String, String>(evil); in test_48055_Hashtable() local 73 LinkedHashMap<String, String> map = new LinkedHashMap<String, String>(evil); in test_48055_LinkedHashMap() local 83 WeakHashMap<String, String> map = new WeakHashMap<String, String>(evil); in test_48055_WeakHashMap() local 93 IdentityHashMap<String, String> map = new IdentityHashMap<String, String>(evil); in test_48055_IdentityHashMap() local 103 ConcurrentHashMap<String, String> map = new ConcurrentHashMap<String, String>(evil); in test_48055_ConcurrentHashMap() local
|
D | CollectionsTest.java | 293 NavigableMap<String, Integer> map = checkedNavigableMap( in test_checkedNavigableMap_replaceAll() local 303 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_putIfAbsent() local 310 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_remove() local 317 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_replace$K$V() local 324 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_replace$K$V$V() local 331 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_computeIfAbsent() local 338 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_computeIfPresent() local 344 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_compute() local 350 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_merge() local 356 NavigableMap<String, Integer> map = checkedNavigableMap( in test_checkedNavigableMap_navigableKeySet() local [all …]
|
D | OldLinkedHashMapTest.java | 29 LinkedHashMap map = new LinkedHashMap<String, String>(10, 0.75f, true); in testLinkedHashMap() local
|
/libcore/benchmarks/src/benchmarks/ |
D | HashedCollectionsBenchmark.java | 29 HashMap<String, String> map = new HashMap<String, String>(); in timeHashMapGet() local 36 HashMap<String, String> map = new HashMap<String, String>(); in timeHashMapGet_Synchronized() local 47 Hashtable<String, String> map = new Hashtable<String, String>(); in timeHashtableGet() local 54 LinkedHashMap<String, String> map = new LinkedHashMap<String, String>(); in timeLinkedHashMapGet() local 61 ConcurrentHashMap<String, String> map = new ConcurrentHashMap<String, String>(); in timeConcurrentHashMapGet() local
|
D | VirtualVersusInterfaceBenchmark.java | 28 Map<String, String> map = new HashMap<String, String>(); in timeMapPut() local 34 HashMap<String, String> map = new HashMap<String, String>(); in timeHashMapPut() local
|
/libcore/ojluni/src/main/java/java/sql/ |
D | Array.java | 156 Object getArray(java.util.Map<String,Class<?>> map) throws SQLException; in getArray() 219 Object getArray(long index, int count, java.util.Map<String,Class<?>> map) in getArray() 276 ResultSet getResultSet (java.util.Map<String,Class<?>> map) throws SQLException; in getResultSet() 345 java.util.Map<String,Class<?>> map) in getResultSet()
|
D | Struct.java | 104 Object[] getAttributes(java.util.Map<String,Class<?>> map) in getAttributes()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | IdentityHashMapTest.java | 145 IdentityHashMap map = new IdentityHashMap(); in test_clone() local 262 Map map = new IdentityHashMap(101); in test_keySet() local 320 IdentityHashMap<Object, Object> map = new IdentityHashMap<Object, Object>(); in test_putLjava_lang_ObjectLjava_lang_Object() local 449 IdentityHashMap<String, String> map = new IdentityHashMap<String, String>(); in test_Serialization() local 510 IdentityHashMap map = new IdentityHashMap(); in test_null_Keys_and_Values() local 565 IdentityHashMap map = new IdentityHashMap(); in test_remove() local 587 IdentityHashMap map = new IdentityHashMap(); in test_sets() local 621 IdentityHashMap map = new IdentityHashMap(); in test_entrySet_removeAll() local 640 IdentityHashMap map = new IdentityHashMap(); in test_keySet_clear() local 659 IdentityHashMap map = new IdentityHashMap(); in test_values() local [all …]
|
D | AbstractMapTest.java | 142 AbstractMap map = new HashMap(); in test_clear() local 175 AbstractMap map = new AMT(); in test_containsKey() local 194 AbstractMap map = new AMT(); in test_containValue() local 212 AbstractMap map = new AMT(); in test_get() local 256 private Map map = new HashMap(); in test_clone() field in AbstractMapTest.MyMap 279 MyMap map = new MyMap(); in test_clone() local
|
D | WeakHashMapTest.java | 124 WeakHashMap map = new WeakHashMap(mockMap); in test_ConstructorLjava_util_Map() local 237 WeakHashMap map = new WeakHashMap(); in test_putLjava_lang_ObjectLjava_lang_Object() local 251 WeakHashMap map = new WeakHashMap(); in test_putAllLjava_util_Map() local 337 WeakHashMap map = new WeakHashMap(); in test_keySet_hasNext() local 412 WeakHashMap map = new WeakHashMap(); in test_forEach() local 434 WeakHashMap map = new WeakHashMap(); in test_forEach_NPE() local 458 WeakHashMap map = new WeakHashMap(); in test_forEach_CME() local
|
D | HashMapTest.java | 183 HashMap<Integer, String> map = new HashMap<Integer, String>(); in test_clear() local 205 HashMap map = new HashMap(); in test_clone() local 332 HashMap map = new HashMap(); in test_getLjava_lang_Object() local 368 Map map = new HashMap(101); in test_keySet() local 422 HashMap<Integer, String> map = new HashMap<Integer, String>(); in test_putLjava_lang_ObjectLjava_lang_Object() local 559 HashMap<Integer, Object> map = new HashMap<Integer, Object>(); in test_removeLjava_lang_Object() local 654 HashMap<Integer, Integer> map = new HashMap<Integer, Integer>(10); in test_Map_Entry_hashCode() local 684 HashMap map = new HashMap(); in test_EntrySet() local 699 HashMap<String, String> map = new HashMap<>(); in test_forEach() local 722 HashMap<String, String> map = new HashMap<>(); in test_forEach_NPE() local [all …]
|
D | SortedMapTestBase.java | 43 SortedMap<Integer, Integer> map; field in SortedMapTestBase 263 TreeMap<String, String> map = new TreeMap<String, String>(); in testIsEmpty2() local 292 SortedMap<Integer, Integer> map) { in checkSubMap() 324 private void testViews(SortedMap<Integer, Integer> ref, SortedMap<Integer, Integer> map) { in testViews() argument 336 private void compareIterators(Collection ref, Collection map) { in compareIterators()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeTextProvider.java | 270 Map<String, Integer> map = CalendarDataUtility.retrieveJavaTimeFieldValueNames( in getTextIterator() local 339 Map<Long, String> map = new HashMap<>(); in createStore() local 355 Map<Long, String> map = new HashMap<>(); in createStore() local 385 Map<Long, String> map = new HashMap<>(); in createStore() local 420 Map<Long, String> map = new HashMap<>(); in createStore() local 476 Map<Long, String> map = new HashMap<>(); in extractQuarters() local 540 Map<TextStyle, List<Entry<String, Long>>> map = new HashMap<>(); in LocaleStore() local 569 Map<Long, String> map = valueTextMap.get(style); in getText() local
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeTextPrinting.java | 161 Map<Long, String> map = new HashMap<Long, String>(); in test_appendTextMap() local 184 Map<Long, String> map = new HashMap<Long, String>(); in test_appendTextMap_DOM() local 198 Map<Long, String> map = new HashMap<Long, String>(); in test_appendTextMapIncomplete() local
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldFileNameMapTest.java | 26 FileNameMap map = URLConnection.getFileNameMap(); in test_getContentTypeFor() local
|
/libcore/support/src/test/java/tests/support/ |
D | Support_MapTest2.java | 25 Map<String, String> map; field in Support_MapTest2
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | ZoneName.java | 39 Map<String, String> map = mzoneToZidL.get(mzone); in toZid() local 768 mzoneToZidL.put(mzone, map); in mzoneToZidL.put() argument
|