/libcore/ojluni/src/test/java/util/IdentityHashMap/ |
D | Capacity.java | 24 package test.java.util.IdentityHashMap; 29 import java.util.IdentityHashMap; 59 tableField = IdentityHashMap.class.getDeclaredField("table"); 80 static int capacity(IdentityHashMap<?,?> map) { in capacity() argument 88 static void assertCapacity(IdentityHashMap<?,?> map, in assertCapacity() argument 93 static void growUsingPut(IdentityHashMap<Object,Object> map, in growUsingPut() 99 static void growUsingPutAll(IdentityHashMap<Object,Object> map, in growUsingPutAll() 101 IdentityHashMap<Object,Object> other = new IdentityHashMap<>(); in growUsingPutAll() 106 static void growUsingRepeatedPutAll(IdentityHashMap<Object,Object> map, in growUsingRepeatedPutAll() 121 IdentityHashMap<Object,Object> m = new IdentityHashMap<>(size); in canInsertExpectedItemsWithoutResizing() [all …]
|
D | ToArray.java | 31 package test.java.util.IdentityHashMap; 34 import java.util.IdentityHashMap; 46 Map<String,String> mm = new IdentityHashMap<>(); in main() 60 Map m = new IdentityHashMap(); in main() 74 IdentityHashMap<Integer,Integer> map = new IdentityHashMap<>(); in main()
|
D | EntrySetIteratorRemoveInvalidatesEntry.java | 35 package test.java.util.IdentityHashMap; 37 import java.util.IdentityHashMap; 44 final IdentityHashMap<String, String> identityHashMap = in main() 45 new IdentityHashMap<>(); in main()
|
D | DistinctEntrySetElements.java | 35 package test.java.util.IdentityHashMap; 37 import java.util.IdentityHashMap; 45 final IdentityHashMap<String, String> identityHashMap = in main() 46 new IdentityHashMap<>(); in main()
|
D | ToString.java | 31 package test.java.util.IdentityHashMap; 33 import java.util.IdentityHashMap; 41 Map<String, String> m = new IdentityHashMap<>(); in main()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | IdentityHashMap2Test.java | 28 import java.util.IdentityHashMap; 46 private IdentityHashMap hm; 59 new Support_MapTest2(new IdentityHashMap()).runTest(); in test_Constructor() 61 IdentityHashMap hm2 = new IdentityHashMap(); in test_Constructor() 70 IdentityHashMap hm2 = new IdentityHashMap(5); in test_ConstructorI() 73 new IdentityHashMap(-1); in test_ConstructorI() 80 IdentityHashMap empty = new IdentityHashMap(0); in test_ConstructorI() 94 IdentityHashMap hm2 = new IdentityHashMap(myMap); in test_ConstructorLjava_util_Map() 100 hm2 = new IdentityHashMap(mockMap); in test_ConstructorLjava_util_Map() 106 new IdentityHashMap(Integer.MAX_VALUE); in test_IdentityHashMap_Constructor_BigSize() [all …]
|
D | IdentityHashMapTest.java | 33 import java.util.IdentityHashMap; 57 IdentityHashMap hm; 70 new Support_MapTest2(new IdentityHashMap()).runTest(); in test_Constructor() 72 IdentityHashMap hm2 = new IdentityHashMap(); in test_Constructor() 81 IdentityHashMap hm2 = new IdentityHashMap(5); in test_ConstructorI() 84 new IdentityHashMap(-1); in test_ConstructorI() 90 IdentityHashMap empty = new IdentityHashMap(0); in test_ConstructorI() 104 IdentityHashMap hm2 = new IdentityHashMap(myMap); in test_ConstructorLjava_util_Map() 110 hm2 = new IdentityHashMap(mockMap); in test_ConstructorLjava_util_Map() 114 new IdentityHashMap(null); in test_ConstructorLjava_util_Map() [all …]
|
D | AbstractMapTest.java | 28 import java.util.IdentityHashMap; 86 AbstractMap map4 = new IdentityHashMap(1); in test_keySet() 110 AbstractMap map4 = new IdentityHashMap(1); in test_removeLjava_lang_Object() 238 AbstractMap map4 = new IdentityHashMap(1); in test_values()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | EvilMapTest.java | 23 import java.util.IdentityHashMap; 93 IdentityHashMap<String, String> map = new IdentityHashMap<String, String>(evil); in test_48055_IdentityHashMap() 95 IdentityHashMap<String, String> map2 = new IdentityHashMap<String, String>(); in test_48055_IdentityHashMap()
|
/libcore/ojluni/src/main/java/java/util/ |
D | IdentityHashMap.java | 143 public class IdentityHashMap<K,V> class 214 public IdentityHashMap() { in IdentityHashMap() method in IdentityHashMap 227 public IdentityHashMap(int expectedMaxSize) { in IdentityHashMap() method in IdentityHashMap 269 public IdentityHashMap(Map<? extends K, ? extends V> m) { in IdentityHashMap() method in IdentityHashMap 647 } else if (o instanceof IdentityHashMap<?, ?> m) { in equals() 706 IdentityHashMap<?,?> m = (IdentityHashMap<?,?>) super.clone(); in clone() 782 if (tab != IdentityHashMap.this.table) { in remove() 783 IdentityHashMap.this.remove(key); in remove() 806 traversalTable == IdentityHashMap.this.table) { in remove() 882 if (traversalTable != IdentityHashMap.this.table) in setValue() [all …]
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | CheckedIdentityMap.java | 35 import java.util.IdentityHashMap; 47 new IdentityHashMap<Integer, Integer>(), in testHashCode() 50 new IdentityHashMap<Integer, Integer>(), in testHashCode()
|
D | SetFromMap.java | 34 import java.util.IdentityHashMap; 57 Map<String,Boolean> m = new IdentityHashMap<>(); in realMain()
|
/libcore/ojluni/src/main/java/jdk/internal/misc/ |
D | TerminatingThreadLocal.java | 29 import java.util.IdentityHashMap; 102 return Collections.newSetFromMap(new IdentityHashMap<>(4));
|
/libcore/ojluni/src/test/java/util/Map/ |
D | Get.java | 34 import java.util.IdentityHashMap; 53 testMap(new IdentityHashMap<>()); in testGet() 84 boolean usesIdentity = m instanceof IdentityHashMap; in testMap()
|
D | LockStep.java | 35 import java.util.IdentityHashMap; 104 new IdentityHashMap(11), in testLockStep()
|
D | EntryHashCode.java | 55 new IdentityHashMap<>(),
|
D | Collisions.java | 32 import java.util.IdentityHashMap; 170 assertTrue((map instanceof IdentityHashMap) || !map.entrySet().contains(t), in testEntriesIteratorRemove()
|
D | MapWithCollisionsProviders.java | 30 import java.util.IdentityHashMap; 195 new IdentityHashMap<>(), keys, val)); in makeMapsMoreTypes()
|
D | ToArray.java | 51 new IdentityHashMap<>(), in testToArray()
|
/libcore/ojluni/src/test/java/util/Collection/ |
D | IteratorAtEnd.java | 37 import java.util.IdentityHashMap; 160 testMap(new IdentityHashMap()); in testIdentityHashMap()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | JceSecurity.java | 61 new IdentityHashMap<>(); 65 new IdentityHashMap<>();
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | CollectionAndMapModifyStreamTest.java | 119 maps.put(IdentityHashMap.class.getName(), () -> new IdentityHashMap<>(content)); in createMaps()
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Proxy.java | 42 import java.util.IdentityHashMap; 614 Map<Class<?>, Boolean> interfaceSet = new IdentityHashMap<>(interfaces.length); in apply()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest.java | 45 import java.util.IdentityHashMap; 126 … static final IdentityHashMap<String, String> IDENTITYMAP = new IdentityHashMap<String, String>();
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Throwable.java | 680 Set<Throwable> dejaVu = Collections.newSetFromMap(new IdentityHashMap<>()); in printStackTrace()
|