/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
HashtableTest.java | 28 import java.util.Hashtable; 38 private Hashtable ht10; 40 private Hashtable ht100; 42 private Hashtable htfull; 51 * java.util.Hashtable#Hashtable() 54 // Test for method java.util.Hashtable() 55 new Support_MapTest2(new Hashtable()).runTest(); 57 Hashtable h = new Hashtable(); 777 Hashtable<String, String> hashtable = new Hashtable<String, String>(); local [all...] |
/frameworks/compile/mclinker/unittests/ |
HashTableTest.cpp | 12 #include "mcld/ADT/HashTable.h" 65 typedef HashTable<HashEntryType, PtrHash, EntryFactory<HashEntryType> > 67 HashTableTy* hashTable = new HashTableTy(0); 70 hashTable->insert(pA, exist); 72 EXPECT_FALSE(hashTable->empty()); 75 iter = hashTable->find(NULL); 76 EXPECT_TRUE(iter == hashTable->end()); 77 delete hashTable; 82 HashTable<HashEntryType, IntHash, EntryFactory<HashEntryType> > hashTable(16) [all...] |
/external/icu/icu4c/source/common/ |
hash.h | 24 * Hashtable is a thin C++ wrapper around UHashtable, a general-purpose void* 25 * hashtable implemented in C. Hashtable is designed to be idiomatic and 28 * Hashtable is an INTERNAL CLASS. 30 class U_COMMON_API Hashtable : public UMemory { 38 * Construct a hashtable 42 Hashtable(UBool ignoreKeyCase, UErrorCode& status); 45 * Construct a hashtable 50 Hashtable(UKeyComparator *keyComp, UValueComparator *valueComp, UErrorCode& status); 53 * Construct a hashtable [all...] |
uhash_us.cpp | 18 * Deleter for Hashtable objects. 23 delete (Hashtable*) obj;
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
HashTable.tcc | 1 //===- HashTable.tcc ------------------------------------------------------===// 11 // template implementation of HashTable 15 HashTable<HashEntryTy, HashFunctionTy, EntryFactoryTy>::HashTable( 23 HashTable<HashEntryTy, HashFunctionTy, EntryFactoryTy>::~HashTable() { 39 void HashTable<HashEntryTy, HashFunctionTy, EntryFactoryTy>::clear() { 61 typename HashTable<HashEntryTy, HashFunctionTy, EntryFactoryTy>::entry_type* 62 HashTable<HashEntryTy, HashFunctionTy, EntryFactoryTy>::insert( 63 const typename HashTable<HashEntryTy [all...] |
HashTable.h | 1 //===- HashTable.h --------------------------------------------------------===// 23 /** \class HashTable 24 * \brief HashTable is a hash table which follows boost::unordered_map, but it 27 * mcld::HashTable is a linear probing hash table. It does not allocate 34 class HashTable : public HashTableImpl<HashEntryTy, HashFunctionTy> { 60 explicit HashTable(size_type pSize = 3); 61 ~HashTable(); 114 DISALLOW_COPY_AND_ASSIGN(HashTable); 117 #include "HashTable.tcc"
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
PKCS12BagAttributeCarrierImpl.java | 8 import java.util.Hashtable; 20 private Hashtable pkcs12Attributes; 23 PKCS12BagAttributeCarrierImpl(Hashtable attributes, Vector ordering) 31 this(new Hashtable(), new Vector()); 65 Hashtable getAttributes() 80 out.writeObject(new Hashtable()); 107 if (obj instanceof Hashtable) 109 this.pkcs12Attributes = (Hashtable)obj;
|
/libcore/luni/src/test/java/libcore/java/util/ |
HashtableTest.java | 21 import java.util.Hashtable; 32 MapDefaultMethodTester.test_getOrDefault(new Hashtable<>(), false /*doesNotAcceptNullKey*/, 37 MapDefaultMethodTester.test_forEach(new Hashtable<>()); 41 MapDefaultMethodTester.test_putIfAbsent(new Hashtable<>(), false /*doesNotAcceptNullKey*/, 46 MapDefaultMethodTester.test_remove(new Hashtable<>(), false /*doesNotAcceptNullKey*/, 52 test_replace$K$V$V(new Hashtable<>(), false /*doesNotAcceptNullKey*/, 57 MapDefaultMethodTester.test_replace$K$V(new Hashtable<>(), false /*doesNotAcceptNullKey*/, 62 MapDefaultMethodTester.test_computeIfAbsent(new Hashtable<>(), 67 MapDefaultMethodTester.test_computeIfPresent(new Hashtable<>(), 72 MapDefaultMethodTester.test_compute(new Hashtable<>(), false /*doesNotAcceptNullKey*/) [all...] |
/external/giflib/ |
gif_hash.c | 35 Initialize HashTable - allocate the memory needed and clear it. * 39 GifHashTableType *HashTable; 41 if ((HashTable = (GifHashTableType *) malloc(sizeof(GifHashTableType))) 45 _ClearHashTable(HashTable); 47 return HashTable; 51 Routine to clear the HashTable to an empty state. * 54 void _ClearHashTable(GifHashTableType *HashTable) 56 memset(HashTable -> HTable, 0xFF, HT_SIZE * sizeof(uint32_t)); 60 Routine to insert a new Item into the HashTable. The data is assumed to be * 63 void _InsertHashTable(GifHashTableType *HashTable, uint32_t Key, int Code [all...] |
/external/libnl/lib/ |
hashtable.c | 2 * netlink/hashtable.c Netlink hashtable Utilities 15 #include <netlink/hashtable.h> 19 * @defgroup hashtable Hashtable 24 * Allocate hashtable 25 * @arg size Size of hashtable in number of elements 27 * @return Allocated hashtable or NULL. 51 * Free hashtable including all nodes 52 * @arg ht Hashtable [all...] |
/external/clang/test/SemaCXX/ |
libstdcxx_pointer_return_false_hack.cpp | 4 // an issue with libstdc++-4.2's <tr1/hashtable> implementation. 14 template<typename T> struct hashtable { struct in namespace:std::tr1 30 auto *test1 = std::tr1::hashtable<int>().find_node();
|
/external/testng/src/main/java/org/testng/collections/ |
Maps.java | 5 import java.util.Hashtable; 16 return new Hashtable<>();
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
DefaultSignedAttributeTableGenerator.java | 5 import java.util.Hashtable; 24 private final Hashtable table; 31 table = new Hashtable(); 48 table = new Hashtable(); 60 * @return a filled in Hashtable of attributes. 62 protected Hashtable createStandardAttributeTable( 65 Hashtable std = copyHashTable(table); 118 private static Hashtable copyHashTable(Hashtable paramsMap) 120 Hashtable newTable = new Hashtable() [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MyKeyStore.java | 39 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>() [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
XYSeriesRenderer.java | 26 import java.util.Hashtable;
35 public Hashtable<XYRegionFormatter, String> getUniqueRegionFormatters() {
37 Hashtable<XYRegionFormatter, String> found = new Hashtable<XYRegionFormatter, String>();
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
AttributeTable.java | 4 import java.util.Hashtable; 18 private Hashtable attributes = new Hashtable(); 21 Hashtable attrs) 163 public Hashtable toHashtable() 200 private Hashtable copyTable( 201 Hashtable in) 203 Hashtable out = new Hashtable();
|
/libcore/ojluni/src/main/java/java/security/ |
UnresolvedPermissionCollection.java | 140 // private Hashtable permissions; // keyed on type 143 * @serialField permissions java.util.Hashtable 148 new ObjectStreamField("permissions", Hashtable.class), 155 * Writes the contents of the perms field out as a Hashtable 162 // Copy perms into a Hashtable 163 Hashtable<String, Vector<UnresolvedPermission>> permissions = 164 new Hashtable<>(perms.size()*2); 177 // Add to Hashtable being serialized 189 * Reads in a Hashtable in which the values are Vectors of 201 // writeObject writes a Hashtable<String, Vector<UnresolvedPermission> [all...] |
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/ |
MarshalHashtable.java | 33 * Serializes instances of hashtable to and from xml. This implementation is 46 public static final Class HASHTABLE_CLASS = new Hashtable().getClass(); 52 Hashtable instance = new Hashtable(); 75 Hashtable h = (Hashtable) instance; 90 Hashtable h; 93 ItemSoapObject(Hashtable h) {
|
/external/libnl/include/netlink/ |
hashtable.h | 2 * netlink/hashtable.h Netlink hashtable Utilities
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/DebugInfo/PDB/Native/ |
HashTable.h | 1 //===- HashTable.h - PDB Hash Table -----------------------------*- C++ -*-===// 32 class HashTable { 42 HashTable(); 43 explicit HashTable(uint32_t Capacity); 83 friend class HashTable; 84 HashTableIterator(const HashTable &Map, uint32_t Index, bool IsEnd); 87 HashTableIterator(const HashTable &Map); 98 const HashTable *Map;
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/DebugInfo/PDB/Native/ |
HashTable.h | 1 //===- HashTable.h - PDB Hash Table -----------------------------*- C++ -*-===// 32 class HashTable { 42 HashTable(); 43 explicit HashTable(uint32_t Capacity); 83 friend class HashTable; 84 HashTableIterator(const HashTable &Map, uint32_t Index, bool IsEnd); 87 HashTableIterator(const HashTable &Map); 98 const HashTable *Map;
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/DebugInfo/PDB/Native/ |
HashTable.h | 1 //===- HashTable.h - PDB Hash Table -----------------------------*- C++ -*-===// 32 class HashTable { 42 HashTable(); 43 explicit HashTable(uint32_t Capacity); 83 friend class HashTable; 84 HashTableIterator(const HashTable &Map, uint32_t Index, bool IsEnd); 87 HashTableIterator(const HashTable &Map); 98 const HashTable *Map;
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/DebugInfo/PDB/Native/ |
HashTable.h | 1 //===- HashTable.h - PDB Hash Table -----------------------------*- C++ -*-===// 32 class HashTable { 42 HashTable(); 43 explicit HashTable(uint32_t Capacity); 83 friend class HashTable; 84 HashTableIterator(const HashTable &Map, uint32_t Index, bool IsEnd); 87 HashTableIterator(const HashTable &Map); 98 const HashTable *Map;
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/DebugInfo/PDB/Native/ |
HashTable.h | 1 //===- HashTable.h - PDB Hash Table -----------------------------*- C++ -*-===// 32 class HashTable { 42 HashTable(); 43 explicit HashTable(uint32_t Capacity); 83 friend class HashTable; 84 HashTableIterator(const HashTable &Map, uint32_t Index, bool IsEnd); 87 HashTableIterator(const HashTable &Map); 98 const HashTable *Map;
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/DebugInfo/PDB/Native/ |
HashTable.h | 1 //===- HashTable.h - PDB Hash Table -----------------------------*- C++ -*-===// 32 class HashTable { 42 HashTable(); 43 explicit HashTable(uint32_t Capacity); 83 friend class HashTable; 84 HashTableIterator(const HashTable &Map, uint32_t Index, bool IsEnd); 87 HashTableIterator(const HashTable &Map); 98 const HashTable *Map;
|