Home
last modified time | relevance | path

Searched defs:map (Results 1 – 25 of 150) sorted by relevance

123456

/libcore/jsr166-tests/src/test/java/jsr166/
DConcurrentSkipListSubMapTest.java38 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 …]
DTreeSubMapTest.java37 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 …]
DTreeMapTest.java39 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 …]
DConcurrentSkipListMapTest.java40 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 …]
DConcurrentHashMapTest.java40 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 …]
DConcurrentHashMap8Test.java44 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/ojluni/src/test/java/util/concurrent/tck/
DConcurrentSkipListSubMapTest.java61 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); in map5() local
79 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); in dmap5() local
92 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); in map0() local
98 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); in dmap0() local
107 ConcurrentNavigableMap map = map5(); in testClear() local
129 ConcurrentNavigableMap map = map5(); in testContainsKey() local
138 ConcurrentNavigableMap map = map5(); in testContainsValue() local
148 ConcurrentNavigableMap map = map5(); in testGet() local
159 ConcurrentNavigableMap map = map5(); in testIsEmpty() local
168 ConcurrentNavigableMap map = map5(); in testFirstKey() local
[all …]
DTreeSubMapTest.java60 TreeMap map = new TreeMap(); in map5() local
75 TreeMap map = new TreeMap(); in map0() local
84 TreeMap map = new TreeMap(); in dmap5() local
97 TreeMap map = new TreeMap(); in dmap0() local
106 NavigableMap map = map5(); in testClear() local
128 NavigableMap map = map5(); in testContainsKey() local
137 NavigableMap map = map5(); in testContainsValue() local
147 NavigableMap map = map5(); in testGet() local
158 NavigableMap map = map5(); in testIsEmpty() local
167 NavigableMap map = map5(); in testFirstKey() local
[all …]
DConcurrentSkipListMapTest.java63 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); in map5() local
79 ConcurrentSkipListMap map = map5(); in testClear() local
88 ConcurrentSkipListMap map = map5(); in testConstructFromSorted() local
110 ConcurrentSkipListMap map = map5(); in testContainsKey() local
119 ConcurrentSkipListMap map = map5(); in testContainsValue() local
129 ConcurrentSkipListMap map = map5(); in testGet() local
140 ConcurrentSkipListMap map = map5(); in testIsEmpty() local
149 ConcurrentSkipListMap map = map5(); in testFirstKey() local
157 ConcurrentSkipListMap map = map5(); in testLastKey() local
165 ConcurrentSkipListMap map = map5(); in testKeySetToArray() local
[all …]
DTreeMapTest.java62 TreeMap map = new TreeMap(); in map5() local
78 TreeMap map = map5(); in testClear() local
87 TreeMap map = map5(); in testConstructFromSorted() local
109 TreeMap map = map5(); in testContainsKey() local
118 TreeMap map = map5(); in testContainsValue() local
128 TreeMap map = map5(); in testGet() local
139 TreeMap map = map5(); in testIsEmpty() local
148 TreeMap map = map5(); in testFirstKey() local
156 TreeMap map = map5(); in testLastKey() local
164 TreeMap map = map5(); in testKeySetToArray() local
[all …]
DConcurrentHashMapTest.java65 ConcurrentHashMap<Integer, String> map = new ConcurrentHashMap<>(5); in map5() local
209 ConcurrentHashMap<Object, Object> map = in testMixedComparable() local
242 ConcurrentHashMap map = map5(); in testClear() local
264 ConcurrentHashMap<Integer,String> map = map5(); in testHashCode() local
275 ConcurrentHashMap map = map5(); in testContains() local
284 ConcurrentHashMap map = map5(); in testContainsKey() local
293 ConcurrentHashMap map = map5(); in testContainsValue() local
303 ConcurrentHashMap map = map5(); in testEnumeration() local
318 ConcurrentHashMap map = map5(); in testGet() local
330 ConcurrentHashMap map = map5(); in testIsEmpty() local
[all …]
/libcore/luni/src/test/java/libcore/java/util/
DOldAndroidHashMapTest.java29 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
DTreeMapTest.java45 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 …]
DEvilMapTest.java53 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
DCollectionsTest.java293 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 …]
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DConcurrentSkipListMapTest.java105 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); in createPopulatedMap() local
118 ConcurrentSkipListMap map = createPopulatedMap(); in testCloneFromSorted() local
137 ConcurrentSkipListMap map = createPopulatedMap(); in testFirstEntry() local
144 ConcurrentSkipListMap map = createPopulatedMap(); in testLastEntry() local
151 ConcurrentSkipListMap map = createPopulatedMap(); in testSubMap() local
164 ConcurrentSkipListMap map = createPopulatedMap(); in testSubMapEmpty() local
177 ConcurrentSkipListMap map = createPopulatedMap(); in testHeadMap() local
190 ConcurrentSkipListMap map = createPopulatedMap(); in testHeadMapEmpty() local
203 ConcurrentSkipListMap map = createPopulatedMap(); in testTailMap() local
216 ConcurrentSkipListMap map = createPopulatedMap(); in testTailMapSingleElement() local
DConcurrentHashMapTest.java109 ConcurrentHashMap<Long, Long> map = new ConcurrentHashMap<Long, Long>(MAP_SIZE); in createMap() local
118 ConcurrentHashMap<Long, Long> map = createMap(); in testReduceEntriesToDoubleSequentially() local
126 ConcurrentHashMap<Long, Long> map = createMap(); in testReduceEntriesToDoubleInParallel() local
134 ConcurrentHashMap<Long, Long> map = createMap(); in testReduceEntriesToIntSequentially() local
141 ConcurrentHashMap<Long, Long> map = createMap(); in testReduceEntriesToIntInParallel() local
148 ConcurrentHashMap<Long, Long> map = createMap(); in testReduceEntriesToLongSequentially() local
155 ConcurrentHashMap<Long, Long> map = createMap(); in testReduceEntriesToLongInParallel() local
162 ConcurrentHashMap<Long, Long> map = createMap(); in testTransformReduceEntriesSequentially() local
170 ConcurrentHashMap<Long, Long> map = createMap(); in testTransformReduceEntriesInParallel() local
178 ConcurrentHashMap<Long, Long> map = createMap(); in testTransformReduceEntriesToDoubleSequentially() local
[all …]
/libcore/benchmarks/src/benchmarks/
DHashedCollectionsBenchmark.java29 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
DVirtualVersusInterfaceBenchmark.java28 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/test/java/util/Map/
DMapFactories.java46 Map<Integer, String> map = new HashMap<>(); in genMap() local
84 Map<Integer, String> map = Map.copyOf(null); in copyOfRejectsNullMap() local
89 Map<Integer, String> map = genMap(); in copyOfRejectsNullKey() local
96 Map<Integer, String> map = genMap(); in copyOfRejectsNullValue() local
/libcore/ojluni/src/main/java/java/sql/
DArray.java156 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()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DIdentityHashMapTest.java145 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 …]
DAbstractMapTest.java142 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
DWeakHashMapTest.java124 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
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeTextProvider.java271 Map<String, Integer> map = CalendarDataUtility.retrieveJavaTimeFieldValueNames( in getTextIterator() local
340 Map<Long, String> map = new HashMap<>(); in createStore() local
356 Map<Long, String> map = new HashMap<>(); in createStore() local
386 Map<Long, String> map = new HashMap<>(); in createStore() local
421 Map<Long, String> map = new HashMap<>(); in createStore() local
484 Map<Long, String> map = new HashMap<>(); in extractQuarters() local
548 Map<TextStyle, List<Entry<String, Long>>> map = new HashMap<>(); in LocaleStore() local
577 Map<Long, String> map = valueTextMap.get(style); in getText() local

123456