Home
last modified time | relevance | path

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

12345678

/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 …]
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 …]
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 …]
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 …]
/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/
DWeakHashMapTest.java35 WeakHashMap<Data, String> map = new WeakHashMap<>(); in test_replaceAll() local
77 var map = new WeakHashMap<String, String>(); in testContainsNullValue() local
91 var map = new WeakHashMap<String, String>(); in testEntrySet_removeMapping() local
103 var map = new WeakHashMap<String, String>(); in testEntrySet_clear() local
113 var map = new WeakHashMap<String, String>(); in testEntrySet_entrySetValue() local
125 var map = new WeakHashMap<String, String>(); in testEntrySet_entryEquals() local
136 var map = new WeakHashMap<String, String>(); in testKeySet_remove() local
145 var map = new WeakHashMap<String, String>(); in testKeySet_clear() local
154 var map = new WeakHashMap<String, String>(); in testValues_clear() local
163 var map = new WeakHashMap<String, String>(); in test_putAll() local
[all …]
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.java295 NavigableMap<String, Integer> map = checkedNavigableMap( in test_checkedNavigableMap_replaceAll() local
305 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_putIfAbsent() local
312 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_remove() local
319 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_replace$K$V() local
326 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_replace$K$V$V() local
333 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_computeIfAbsent() local
340 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_computeIfPresent() local
346 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_compute() local
352 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_merge() local
358 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
/libcore/ojluni/src/test/java/util/SequencedCollection/
DBasicMap.java64 M load(M map, List<Map.Entry<String, Integer>> mappings) { in load()
70 static NavigableMap<String, Integer> cknav(NavigableMap<String, Integer> map) { in cknav()
74 static SortedMap<String, Integer> cksorted(SortedMap<String, Integer> map) { in cksorted()
78 static SequencedMap<String, Integer> umap(SequencedMap<String, Integer> map) { in umap()
82 static SortedMap<String, Integer> usorted(SortedMap<String, Integer> map) { in usorted()
86 static NavigableMap<String, Integer> unav(NavigableMap<String, Integer> map) { in unav()
282 …public void checkContents1(SequencedMap<String, Integer> map, List<Map.Entry<String, Integer>> ref… in checkContents1()
297 …public void checkContents(SequencedMap<String, Integer> map, List<Map.Entry<String, Integer>> ref)… in checkContents()
385 …public void checkKeySet(SequencedMap<String, Integer> map, List<Map.Entry<String, Integer>> refEnt… in checkKeySet()
424 …public void checkValues(SequencedMap<String, Integer> map, List<Map.Entry<String, Integer>> refEnt… in checkValues()
[all …]
/libcore/ojluni/src/test/java/util/Map/
DInPlaceOpsCollisions.java50 Map<Object, Object> map = ms.get(); in testPutIfAbsent() local
81 Map<Object, Object> map = ms.get(); in testRemoveMapping() local
118 Map<Object, Object> map = ms.get(); in testReplaceOldValue() local
150 Map<Object, Object> map = ms.get(); in testReplaceIfMapped() local
186 private static <T> void testComputeIfAbsent(Map<T, T> map, String desc, T[] keys, in testComputeIfAbsent() argument
232 Map<Object, Object> map = ms.get(); in testComputeIfAbsentNonNull() local
239 Map<Object, Object> map = ms.get(); in testComputeIfAbsentNull() local
244 private static <T> void testComputeIfPresent(Map<T, T> map, String desc, T[] keys, in testComputeIfPresent() argument
287 Map<Object, Object> map = ms.get(); in testComputeIfPresentNonNull() local
294 Map<Object, Object> map = ms.get(); in testComputeIfPresentNull() local
[all …]
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
DCollisions.java50 Map<IntKey, IntKey> map = ms.get(); in testIntegerIteration() local
81 Map<String, String> map = ms.get(); in testStringIteration() local
117 Map<Object, Object> map = ms.get(); in testRemove() local
132 Map<Object, Object> map = ms.get(); in testKeysIteratorRemove() local
147 Map<Object, Object> map = ms.get(); in testValuesIteratorRemove() local
162 Map<Object, Object> map = ms.get(); in testEntriesIteratorRemove() local
/libcore/ojluni/src/test/java/util/HashMap/
DWhiteBoxResizeTest.java76 Object[] table(HashMap map) { in table()
82 int capacity(HashMap map) { in capacity()
108 void capacityTestDefaultConstructor(HashMap<Integer, Integer> map) { in capacityTestDefaultConstructor() argument
128 HashMap<Integer, Integer> map = supplier.get(); in capacityTestInitialCapacity() 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 …]

12345678