/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 | 136 public class WeakHashMap<K,V> class 207 public WeakHashMap(int initialCapacity, float loadFactor) { in WeakHashMap() method in WeakHashMap 232 public WeakHashMap(int initialCapacity) { in WeakHashMap() method in WeakHashMap 240 public WeakHashMap() { in WeakHashMap() method in WeakHashMap 254 public WeakHashMap(Map<? extends K, ? extends V> m) { in WeakHashMap() method in WeakHashMap 721 return (K) WeakHashMap.unmaskNull(get()); in getKey() 823 WeakHashMap.this.remove(currentKey); in remove() 881 return WeakHashMap.this.size(); in size() 890 WeakHashMap.this.remove(o); in remove() 898 WeakHashMap.this.clear(); in clear() [all …]
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | WeakHashMap.annotated.java | 33 public class WeakHashMap<K, V> extends java.util.AbstractMap<K,V> implements java.util.Map<K,V> { class 35 public WeakHashMap(int initialCapacity, float loadFactor) { throw new RuntimeException("Stub!"); } in WeakHashMap() method in WeakHashMap 37 public WeakHashMap(int initialCapacity) { throw new RuntimeException("Stub!"); } in WeakHashMap() method in WeakHashMap 39 public WeakHashMap() { throw new RuntimeException("Stub!"); } in WeakHashMap() method in WeakHashMap 41 public WeakHashMap(@libcore.util.NonNull java.util.Map<? extends @libcore.util.NullFromTypeParam K,… in WeakHashMap() method in WeakHashMap
|
/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()
|
/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/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/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | DocumentImpl.java | 22 import java.util.WeakHashMap; 73 private WeakHashMap<NodeImpl, Map<String, UserData>> nodeToUserData; 496 nodeToUserData = new WeakHashMap<NodeImpl, Map<String, UserData>>(); in getUserDataMap()
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLClassLoader.java | 47 import java.util.WeakHashMap; 212 private WeakHashMap<Closeable,Void> 213 closeables = new WeakHashMap<>();
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | URLClassLoader.java | 135 private java.util.WeakHashMap<java.io.Closeable, java.lang.Void> closeables;
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipFile.java | 46 import java.util.WeakHashMap; 377 private final Map<InputStream, Inflater> streams = new WeakHashMap<>();
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | JceSecurity.java | 229 new WeakHashMap<>();
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ClassLoader.java | 53 import java.util.WeakHashMap;
|
/libcore/ojluni/annotations/hiddenapi/java/util/logging/ |
D | LogManager.java | 206 private java.util.WeakHashMap<java.lang.Object, java.util.logging.LogManager.LoggerContext>
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Proxy.java | 47 import java.util.WeakHashMap;
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | LogManager.java | 486 private WeakHashMap<Object, LoggerContext> contextsMap = null;
|
/libcore/expectations/ |
D | knownfailures.txt | 34 "java.util.WeakHashMap.GCDuringIteration",
|
/libcore/ |
D | openjdk_java_files.bp | 1183 "ojluni/src/main/java/java/util/WeakHashMap.java",
|