Home
last modified time | relevance | path

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

123

/libcore/jsr166-tests/src/test/java/jsr166/
DConcurrentSkipListSubMapTest.java20 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); in map5() local
38 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); in dmap5() local
51 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); in map0() local
57 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); in dmap0() local
66 ConcurrentNavigableMap map = map5(); in testClear() local
88 ConcurrentNavigableMap map = map5(); in testContainsKey() local
97 ConcurrentNavigableMap map = map5(); in testContainsValue() local
107 ConcurrentNavigableMap map = map5(); in testGet() local
118 ConcurrentNavigableMap map = map5(); in testIsEmpty() local
127 ConcurrentNavigableMap map = map5(); in testFirstKey() local
[all …]
DTreeSubMapTest.java18 TreeMap map = new TreeMap(); in map5() local
33 TreeMap map = new TreeMap(); in map0() local
42 TreeMap map = new TreeMap(); in dmap5() local
55 TreeMap map = new TreeMap(); in dmap0() local
64 NavigableMap map = map5(); in testClear() local
86 NavigableMap map = map5(); in testContainsKey() local
95 NavigableMap map = map5(); in testContainsValue() local
105 NavigableMap map = map5(); in testGet() local
116 NavigableMap map = map5(); in testIsEmpty() local
125 NavigableMap map = map5(); in testFirstKey() local
[all …]
DConcurrentSkipListMapTest.java19 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); in map5() local
35 ConcurrentSkipListMap map = map5(); in testClear() local
44 ConcurrentSkipListMap map = map5(); in testConstructFromSorted() local
66 ConcurrentSkipListMap map = map5(); in testContainsKey() local
75 ConcurrentSkipListMap map = map5(); in testContainsValue() local
85 ConcurrentSkipListMap map = map5(); in testGet() local
96 ConcurrentSkipListMap map = map5(); in testIsEmpty() local
105 ConcurrentSkipListMap map = map5(); in testFirstKey() local
113 ConcurrentSkipListMap map = map5(); in testLastKey() local
121 ConcurrentSkipListMap map = map5(); in testKeySetToArray() local
[all …]
DTreeMapTest.java18 TreeMap map = new TreeMap(); in map5() local
34 TreeMap map = map5(); in testClear() local
43 TreeMap map = map5(); in testConstructFromSorted() local
65 TreeMap map = map5(); in testContainsKey() local
74 TreeMap map = map5(); in testContainsValue() local
84 TreeMap map = map5(); in testGet() local
95 TreeMap map = map5(); in testIsEmpty() local
104 TreeMap map = map5(); in testFirstKey() local
112 TreeMap map = map5(); in testLastKey() local
120 TreeMap map = map5(); in testKeySetToArray() local
[all …]
DConcurrentHashMapTest.java21 ConcurrentHashMap map = new ConcurrentHashMap(5); in map5() local
144 ConcurrentHashMap map = map5(); in testClear() local
166 ConcurrentHashMap map = map5(); in testContains() local
175 ConcurrentHashMap map = map5(); in testContainsKey() local
184 ConcurrentHashMap map = map5(); in testContainsValue() local
194 ConcurrentHashMap map = map5(); in testEnumeration() local
209 ConcurrentHashMap map = map5(); in testGet() local
220 ConcurrentHashMap map = map5(); in testIsEmpty() local
229 ConcurrentHashMap map = map5(); in testKeys() local
243 ConcurrentHashMap map = map5(); in testKeySet() 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.java37 TreeMap<String, String> map = new TreeMap<String, String>(); in testEntrySetSetValue() local
62 TreeMap<String, String> map = new TreeMap<String, String>(); in testSubMapEntrySetSetValue() local
91 TreeMap<String, String> map = new TreeMap<String, String>(); in testExceptionsOnSetValue() local
103 TreeMap<String, String> map = new TreeMap<String, String>(); in testExceptionsOnSubMapSetValue() local
116 private void assertAllEntryMethodsReturnImmutableEntries(NavigableMap<String, String> map) { in assertAllEntryMethodsReturnImmutableEntries() argument
138 Map<String, String> map = new TreeMap<String, String>(); in testConcurrentModificationDetection() local
155 Map<String, String> map = new TreeMap<String, String>(); in testIteratorRemoves() local
172 Map<String,String> map = new TreeMap<String, String>(String.CASE_INSENSITIVE_ORDER); in testEntrySetUsesComparatorOnly() local
194 TreeMap<String,String> map = new TreeMap<String, String>(); in testNullsWithNaturalOrder() local
215 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
DOldLinkedHashMapTest.java29 LinkedHashMap map = new LinkedHashMap<String, String>(10, 0.75f, true); in testLinkedHashMap() local
/libcore/benchmarks/src/benchmarks/
DHashedCollectionsBenchmark.java33 HashMap<String, String> map = new HashMap<String, String>(); in timeHashMapGet() local
40 HashMap<String, String> map = new HashMap<String, String>(); in timeHashMapGet_Synchronized() local
51 Hashtable<String, String> map = new Hashtable<String, String>(); in timeHashtableGet() local
58 LinkedHashMap<String, String> map = new LinkedHashMap<String, String>(); in timeLinkedHashMapGet() local
65 ConcurrentHashMap<String, String> map = new ConcurrentHashMap<String, String>(); in timeConcurrentHashMapGet() local
DVirtualVersusInterfaceBenchmark.java32 Map<String, String> map = new HashMap<String, String>(); in timeMapPut() local
38 HashMap<String, String> map = new HashMap<String, String>(); in timeHashMapPut() local
/libcore/luni/src/main/java/java/sql/
DArray.java70 public Object getArray(long index, int count, Map<String, Class<?>> map) in getArray()
83 public Object getArray(Map<String, Class<?>> map) throws SQLException; in getArray()
150 Map<String, Class<?>> map) throws SQLException; in getResultSet()
163 public ResultSet getResultSet(Map<String, Class<?>> map) in getResultSet()
DRef.java69 public Object getObject(Map<String, Class<?>> map) throws SQLException; in getObject()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DIdentityHashMapTest.java141 IdentityHashMap map = new IdentityHashMap(); in test_clone() local
258 Map map = new IdentityHashMap(101); in test_keySet() local
316 IdentityHashMap<Object, Object> map = new IdentityHashMap<Object, Object>(); in test_putLjava_lang_ObjectLjava_lang_Object() local
445 IdentityHashMap<String, String> map = new IdentityHashMap<String, String>(); in test_Serialization() local
506 IdentityHashMap map = new IdentityHashMap(); in test_null_Keys_and_Values() local
561 IdentityHashMap map = new IdentityHashMap(); in test_remove() local
583 IdentityHashMap map = new IdentityHashMap(); in test_sets() local
617 IdentityHashMap map = new IdentityHashMap(); in test_entrySet_removeAll() local
636 IdentityHashMap map = new IdentityHashMap(); in test_keySet_clear() local
655 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.java120 WeakHashMap map = new WeakHashMap(mockMap); in test_ConstructorLjava_util_Map() local
240 WeakHashMap map = new WeakHashMap(); in test_putLjava_lang_ObjectLjava_lang_Object() local
254 WeakHashMap map = new WeakHashMap(); in test_putAllLjava_util_Map() local
333 WeakHashMap map = new WeakHashMap(); in test_keySet_hasNext() local
DSortedMapTestBase.java43 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()
DHashMapTest.java178 HashMap<Integer, String> map = new HashMap<Integer, String>(); in test_clear() local
200 HashMap map = new HashMap(); in test_clone() local
327 HashMap map = new HashMap(); in test_getLjava_lang_Object() local
363 Map map = new HashMap(101); in test_keySet() local
417 HashMap<Integer, String> map = new HashMap<Integer, String>(); in test_putLjava_lang_ObjectLjava_lang_Object() local
553 HashMap<Integer, Object> map = new HashMap<Integer, Object>(); in test_removeLjava_lang_Object() local
648 HashMap<Integer, Integer> map = new HashMap<Integer, Integer>(10); in test_Map_Entry_hashCode() local
678 HashMap map = new HashMap(); in test_EntrySet() local
DSimpleEntryTest.java50 Map map = new TreeMap(); in test_SimpleEntry_Constructor_LEntry() local
95 Map map = new TreeMap(); in test_SimpleEntry_equals() local
DSimpleImmutableEntryTest.java51 Map map = new TreeMap(); in test_SimpleImmutableEntry_Constructor_LEntry() local
105 Map map = new TreeMap(); in test_SimpleImmutableEntry_equals() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DCookieManagerTest.java36 Map<String, List<String>> map) throws IOException { in checkValidParams4Get()
48 Map<String, List<String>> map) throws IOException { in checkValidParams4Put()
147 Map<String, List<String>> map = manager.get(new URI("http://a.b.c/"), in test_Put_Get_LURI_LMap() local
276 Map<String, List<String>> map = manager.get(uri, in test_SetCookiePolicy_LCookiePolicy() local
/libcore/luni/src/test/java/libcore/java/net/
DOldFileNameMapTest.java26 FileNameMap map = URLConnection.getFileNameMap(); in test_getContentTypeFor() local
/libcore/support/src/test/java/tests/support/
DSupport_MapTest2.java25 Map<String, String> map; field in Support_MapTest2
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
DASN1Choice.java236 TreeMap<BigInteger, BigInteger> map = new TreeMap<BigInteger, BigInteger>(); in ASN1Choice() local
281 private void addIdentifier(TreeMap<BigInteger, BigInteger> map, int identifier, int index){ in addIdentifier() argument
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
DsetNamedItemNS01.java83 NamedNodeMap map; in runTest() local

123