Home
last modified time | relevance | path

Searched refs:Hashtable (Results 1 – 25 of 43) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DHashtableTest.java28 import java.util.Hashtable;
38 private Hashtable ht10;
40 private Hashtable ht100;
42 private Hashtable htfull;
55 new Support_MapTest2(new Hashtable()).runTest(); in test_Constructor()
57 Hashtable h = new Hashtable(); in test_Constructor()
67 Hashtable h = new Hashtable(9); in test_ConstructorI()
71 Hashtable empty = new Hashtable(0); in test_ConstructorI()
82 Hashtable h = new java.util.Hashtable(10, 0.5f); in test_ConstructorIF()
85 Hashtable empty = new Hashtable(0, 0.75f); in test_ConstructorIF()
[all …]
DAbstractMapTest.java27 import java.util.Hashtable;
351 Hashtable ht = new Hashtable();
373 Map<String, String> nullHostile = new Hashtable<String, String>();
/libcore/luni/src/test/java/libcore/java/util/
DHashtableTest.java21 import java.util.Hashtable;
32 MapDefaultMethodTester.test_getOrDefault(new Hashtable<>(), false /*doesNotAcceptNullKey*/, in test_getOrDefault()
37 MapDefaultMethodTester.test_forEach(new Hashtable<>()); in test_forEach()
41 MapDefaultMethodTester.test_putIfAbsent(new Hashtable<>(), false /*doesNotAcceptNullKey*/, in test_putIfAbsent()
46 MapDefaultMethodTester.test_remove(new Hashtable<>(), false /*doesNotAcceptNullKey*/, in test_remove()
52 test_replace$K$V$V(new Hashtable<>(), false /*doesNotAcceptNullKey*/, in test_replace$K$V$V()
57 MapDefaultMethodTester.test_replace$K$V(new Hashtable<>(), false /*doesNotAcceptNullKey*/, in test_replace$K$V()
62 MapDefaultMethodTester.test_computeIfAbsent(new Hashtable<>(), in test_computeIfAbsent()
67 MapDefaultMethodTester.test_computeIfPresent(new Hashtable<>(), in test_computeIfPresent()
72 MapDefaultMethodTester.test_compute(new Hashtable<>(), false /*doesNotAcceptNullKey*/); in test_compute()
[all …]
DEvilMapTest.java22 import java.util.Hashtable;
63 Hashtable<String, String> map = new Hashtable<String, String>(evil); in test_48055_Hashtable()
65 Hashtable<String, String> map2 = new Hashtable<String, String>(); in test_48055_Hashtable()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMyKeyStore.java39 import java.util.Hashtable;
47 private Hashtable<String, Object> Keys = new Hashtable<String, Object>();
49 private Hashtable<String, Object> Cert = new Hashtable<String, Object>();
51 private Hashtable<String, Object> Chain = new Hashtable<String, Object>();
53 private Hashtable<String, Object> Dates = new Hashtable<String, Object>();
55 private Hashtable<String, Object> KeysSL = new Hashtable<String, Object>();
57 private Hashtable<String, Object> CertSL = new Hashtable<String, Object>();
59 private Hashtable<String, Object> ChainSL = new Hashtable<String, Object>();
61 private Hashtable<String, Object> DatesSL = new Hashtable<String, Object>();
DSystemScope.java30 import java.util.Hashtable;
46 private Hashtable names = new Hashtable();
49 private Hashtable keys = new Hashtable();
/libcore/luni/src/main/java/org/xml/sax/helpers/
DNamespaceSupport.java14 import java.util.Hashtable;
646 Hashtable table; in processName()
800 prefixTable = (Hashtable)prefixTable.clone(); in copyTables()
802 prefixTable = new Hashtable(); in copyTables()
805 uriTable = (Hashtable)uriTable.clone(); in copyTables()
807 uriTable = new Hashtable(); in copyTables()
809 elementNameTable = new Hashtable(); in copyTables()
810 attributeNameTable = new Hashtable(); in copyTables()
820 Hashtable prefixTable;
821 Hashtable uriTable;
[all …]
/libcore/ojluni/src/main/java/java/security/
DUnresolvedPermissionCollection.java148 new ObjectStreamField("permissions", Hashtable.class),
163 Hashtable<String, Vector<UnresolvedPermission>> permissions = in writeObject()
164 new Hashtable<>(perms.size()*2); in writeObject()
203 Hashtable<String, Vector<UnresolvedPermission>> permissions = in readObject()
204 (Hashtable<String, Vector<UnresolvedPermission>>) in readObject()
DCodeSource.java33 import java.util.Hashtable;
DUnresolvedPermission.java32 import java.util.Hashtable;
/libcore/benchmarks/src/benchmarks/
DHashedCollectionsBenchmark.java20 import java.util.Hashtable;
47 Hashtable<String, String> map = new Hashtable<String, String>(); in timeHashtableGet()
/libcore/ojluni/src/main/java/java/util/
DProperties.java118 class Properties extends Hashtable<Object,Object> {
1022 Hashtable<String,Object> h = new Hashtable<>(); in propertyNames()
1046 Hashtable<String, String> h = new Hashtable<>(); in stringPropertyNames()
1061 Hashtable<String,Object> h = new Hashtable<>(); in list()
1089 Hashtable<String,Object> h = new Hashtable<>(); in list()
1107 private synchronized void enumerate(Hashtable<String,Object> h) { in enumerate()
1122 private synchronized void enumerateStringProperties(Hashtable<String, String> h) { in enumerateStringProperties()
DHashtable.java130 public class Hashtable<K,V> class
180 public Hashtable(int initialCapacity, float loadFactor) { in Hashtable() method in Hashtable
204 public Hashtable(int initialCapacity) { in Hashtable() method in Hashtable
212 public Hashtable() { in Hashtable() method in Hashtable
225 public Hashtable(Map<? extends K, ? extends V> t) { in Hashtable() method in Hashtable
548 Hashtable<?,?> t = (Hashtable<?,?>)super.clone(); in clone()
658 return Hashtable.this.remove(o) != null; in remove()
661 Hashtable.this.clear(); in clear()
743 Hashtable.this.clear(); in clear()
780 Hashtable.this.clear(); in clear()
[all …]
/libcore/ojluni/src/main/java/java/beans/
DPropertyChangeSupport.java32 import java.util.Hashtable;
425 Hashtable<String, PropertyChangeSupport> children = null; in writeObject()
434 children = new Hashtable<>(); in writeObject()
464Hashtable<String, PropertyChangeSupport> children = (Hashtable<String, PropertyChangeSupport>) fie… in readObject()
492 new ObjectStreamField("children", Hashtable.class),
/libcore/ojluni/src/main/java/sun/security/pkcs/
DPKCS9Attributes.java30 import java.util.Hashtable;
46 private final Hashtable<ObjectIdentifier, PKCS9Attribute> attributes =
47 new Hashtable<ObjectIdentifier, PKCS9Attribute>(3);
52 private final Hashtable<ObjectIdentifier, ObjectIdentifier> permittedAttributes;
88 new Hashtable<ObjectIdentifier, ObjectIdentifier>( in PKCS9Attributes()
DPKCS9Attribute.java33 import java.util.Hashtable;
256 private static final Hashtable<String, ObjectIdentifier> NAME_OID_TABLE =
257 new Hashtable<String, ObjectIdentifier>(18);
283 private static final Hashtable<ObjectIdentifier, String> OID_NAME_TABLE =
284 new Hashtable<ObjectIdentifier, String>(16);
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DIdentityScope2Test.java26 import java.util.Hashtable;
43 Hashtable<Identity, Identity> identities;
51 identities = new Hashtable<Identity, Identity>(); in IdentityScopeSubclass()
56 identities = new Hashtable<Identity, Identity>(); in IdentityScopeSubclass()
61 identities = new Hashtable<Identity, Identity>(); in IdentityScopeSubclass()
67 identities = new Hashtable<Identity, Identity>(); in IdentityScopeSubclass()
/libcore/support/src/test/java/tests/support/
DSupport_GetLocal.java29 import java.util.Hashtable;
35 static Hashtable<String, File> cache = new Hashtable<String, File>(20);
DSupport_Configuration.java23 import java.util.Hashtable;
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DmySSLSession.java7 import java.util.Hashtable;
26 private Hashtable table;
37 table = new Hashtable(); in mySSLSession()
/libcore/ojluni/annotations/hiddenapi/java/util/
DProperties.java32 public class Properties extends java.util.Hashtable<java.lang.Object, java.lang.Object> {
132 private synchronized void enumerate(java.util.Hashtable<java.lang.String, java.lang.Object> h) { in enumerate()
137 java.util.Hashtable<java.lang.String, java.lang.String> h) { in enumerateStringProperties()
/libcore/ojluni/annotations/hiddenapi/sun/security/util/
DSignatureFileVerifier.java68 java.util.Hashtable<java.lang.String, java.security.CodeSigner[]> signers, in process()
77 java.util.Hashtable<java.lang.String, java.security.CodeSigner[]> signers, in processImpl()
135 java.util.Hashtable<java.lang.String, java.security.CodeSigner[]> signers, in updateSigners()
/libcore/ojluni/annotations/hiddenapi/sun/security/pkcs/
DPKCS9Attributes.java105 private final java.util.Hashtable<
121 private final java.util.Hashtable<
/libcore/ojluni/src/main/java/sun/security/util/
DManifestEntryVerifier.java192 public CodeSigner[] verify(Hashtable<String, CodeSigner[]> verifiedSigners, in verify()
193 Hashtable<String, CodeSigner[]> sigFileSigners) in verify()
/libcore/ojluni/src/main/java/java/util/jar/
DJarVerifier.java53 private Hashtable<String, CodeSigner[]> verifiedSigners;
57 private Hashtable<String, CodeSigner[]> sigFileSigners;
60 private Hashtable<String, byte[]> sigFileData;
99 sigFileSigners = new Hashtable<>(); in JarVerifier()
100 verifiedSigners = new Hashtable<>(); in JarVerifier()
101 sigFileData = new Hashtable<>(11); in JarVerifier()

12