/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | WeakHashMapTest.java | 33 import java.util.WeakHashMap; 54 WeakHashMap whm; 61 new Support_MapTest2(new WeakHashMap()).runTest(); in test_Constructor() 63 whm = new WeakHashMap(); in test_Constructor() 76 whm = new WeakHashMap(50); in test_ConstructorI() 82 WeakHashMap empty = new WeakHashMap(0); in test_ConstructorI() 88 new WeakHashMap(-50); in test_ConstructorI() 100 whm = new WeakHashMap(50, 0.5f); in test_ConstructorIF() 106 WeakHashMap empty = new WeakHashMap(0, 0.75f); in test_ConstructorIF() 112 new WeakHashMap(50, -0.5f); in test_ConstructorIF() [all …]
|
D | AbstractMapTest.java | 35 import java.util.WeakHashMap; 95 AbstractMap map7 = new WeakHashMap(); in test_keySet() 127 AbstractMap map7 = new WeakHashMap(); in test_removeLjava_lang_Object() 247 AbstractMap map7 = new WeakHashMap(); in test_values()
|
/libcore/ojluni/src/main/java/java/util/ |
D | WeakHashMap.java | 135 public class WeakHashMap<K,V> class 206 public WeakHashMap(int initialCapacity, float loadFactor) { in WeakHashMap() method in WeakHashMap 231 public WeakHashMap(int initialCapacity) { in WeakHashMap() method in WeakHashMap 239 public WeakHashMap() { in WeakHashMap() method in WeakHashMap 253 public WeakHashMap(Map<? extends K, ? extends V> m) { in WeakHashMap() method in WeakHashMap 703 return (K) WeakHashMap.unmaskNull(get()); in getKey() 806 WeakHashMap.this.remove(currentKey); in remove() 860 return WeakHashMap.this.size(); in size() 869 WeakHashMap.this.remove(o); in remove() 877 WeakHashMap.this.clear(); in clear() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | EvilMapTest.java | 27 import java.util.WeakHashMap; 83 WeakHashMap<String, String> map = new WeakHashMap<String, String>(evil); in test_48055_WeakHashMap() 85 WeakHashMap<String, String> map2 = new WeakHashMap<String, String>(); in test_48055_WeakHashMap()
|
D | WeakHashMapTest.java | 22 import java.util.WeakHashMap; 30 WeakHashMap<Data, String> map = new WeakHashMap<>(); in test_replaceAll()
|
D | TreeMapTest.java | 33 import java.util.WeakHashMap;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | AttributedStringTest.java | 25 import java.util.WeakHashMap; 144 as = new AttributedString("123", new WeakHashMap()); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() 165 AttributedString as = new AttributedString("123", new WeakHashMap()); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_Object()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldAttributedStringTest.java | 26 import java.util.WeakHashMap; 170 new WeakHashMap<AttributedCharacterIterator.Attribute, String>()); in test_ConstructorLjava_lang_StringLjava_util_Map() 185 …Map<AttributedCharacterIterator.Attribute, String> whm = new WeakHashMap<AttributedCharacterIterat… in test_ConstructorLjava_lang_StringLjava_util_Map() 307 as = new AttributedString("123", new WeakHashMap()); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() 329 AttributedString as = new AttributedString("123", new WeakHashMap()); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_Object() 361 …Map<AttributedCharacterIterator.Attribute, String> whm = new WeakHashMap<AttributedCharacterIterat… in test_addAttributesLjava_util_MapII()
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Proxy.java | 43 import java.util.WeakHashMap; 244 = new WeakHashMap<>(); 255 Collections.synchronizedMap(new WeakHashMap<Class<?>, Void>());
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | CollectionAndMapModifyStreamTest.java | 119 maps.put(WeakHashMap.class.getName(), () -> new WeakHashMap<>(content)); in createMaps()
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | AnnotationFactory.java | 31 import java.util.WeakHashMap; 52 new WeakHashMap<Class<? extends Annotation>, AnnotationMember[]>();
|
/libcore/expectations/ |
D | taggedtests.txt | 34 "java.util.WeakHashMap.GCDuringIteration",
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | DocumentImpl.java | 22 import java.util.WeakHashMap; 74 private WeakHashMap<NodeImpl, Map<String, UserData>> nodeToUserData; 497 nodeToUserData = new WeakHashMap<NodeImpl, Map<String, UserData>>(); in getUserDataMap()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipFile.java | 44 import java.util.WeakHashMap; 334 private final Map<InputStream, Inflater> streams = new WeakHashMap<>();
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLClassLoader.java | 207 private WeakHashMap<Closeable,Void> 208 closeables = new WeakHashMap<>();
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | JceSecurity.java | 222 private static final Map codeBaseCacheRef = new WeakHashMap();
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ClassLoader.java | 53 import java.util.WeakHashMap;
|
/libcore/ |
D | openjdk_java_files.mk | 884 ojluni/src/main/java/java/util/WeakHashMap.java \
|