Home
last modified time | relevance | path

Searched refs:HashTable (Results 1 – 20 of 20) sorted by relevance

/freebsd-12.1/contrib/compiler-rt/lib/esan/
H A Desan_hashtable.h55 class HashTable {
60 HashTable(u32 InitialCapacity = 2048, u32 ResizeFactor = 70);
61 ~HashTable();
136 HashTable<KeyTy, DataTy, ExternalLock, HashFuncTy, EqualFuncTy>::HashTable( in HashTable() function
148 HashTable<KeyTy, DataTy, ExternalLock, HashFuncTy, EqualFuncTy>::~HashTable() { in ~HashTable()
314 typename HashTable<KeyTy, DataTy, ExternalLock, HashFuncTy,
325 typename HashTable<KeyTy, DataTy, ExternalLock, HashFuncTy,
342 typename HashTable<KeyTy, DataTy, ExternalLock, HashFuncTy,
367 typename HashTable<KeyTy, DataTy, ExternalLock, HashFuncTy,
375 typename HashTable<KeyTy, DataTy, ExternalLock, HashFuncTy,
[all …]
/freebsd-12.1/contrib/ofed/libibnetdisc/
H A Dg_hash_table.cpp42 class HashTable { class
45 HashTable() { }; in HashTable() function in HashTable
46 ~HashTable() { }; in ~HashTable()
60 return ((GHashTable *)(new HashTable())); in GHashTableNew()
66 delete (HashTable *)ght; in GHashTableDestroy()
72 HashTable *ht = (HashTable *)ght; in GHashTableInsert()
79 HashTable *ht = (HashTable *)ght; in GHashTableLookup()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DStringMap.cpp86 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1); in LookupBucketFor() local
97 HashTable[FirstTombstone] = FullHashValue; in LookupBucketFor()
101 HashTable[BucketNo] = FullHashValue; in LookupBucketFor()
108 } else if (LLVM_LIKELY(HashTable[BucketNo] == FullHashValue)) { in LookupBucketFor()
140 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1); in FindKey() local
151 } else if (LLVM_LIKELY(HashTable[BucketNo] == FullHashValue)) { in FindKey()
203 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1); in RehashTable() local
232 unsigned FullHash = HashTable[I]; in RehashTable()
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/PDB/Native/
H A DHashTable.h35 template <typename ValueT, typename TraitsT> class HashTable; variable
42 friend HashTable<ValueT, TraitsT>;
44 HashTableIterator(const HashTable<ValueT, TraitsT> &Map, uint32_t Index, in HashTableIterator()
49 HashTableIterator(const HashTable<ValueT, TraitsT> &Map) : Map(&Map) { in HashTableIterator()
91 const HashTable<ValueT, TraitsT> *Map;
105 class HashTable {
117 HashTable() { Buckets.resize(8); }
119 explicit HashTable(TraitsT Traits) : HashTable(8, std::move(Traits)) {}
120 HashTable(uint32_t Capacity, TraitsT Traits) : Traits(Traits) {
317 HashTable NewMap(NewCapacity, Traits);
H A DTpiStream.h54 HashTable<support::ulittle32_t> &getHashAdjusters();
89 HashTable<support::ulittle32_t> HashAdjusters;
H A DNamedStreamMap.h63 HashTable<support::ulittle32_t, NamedStreamMapTraits> OffsetIndexMap;
H A DPDBFileBuilder.h101 HashTable<SrcHeaderBlockEntry, StringTableHashTraits> InjectedSourceTable;
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dlz4.c471 HTYPE *HashTable = (HTYPE *) (srt->hashTable); in LZ4_compressCtx() local
473 HTYPE HashTable[HASHTABLESIZE] = { 0 }; in LZ4_compressCtx()
496 HashTable[LZ4_HASH_VALUE(ip)] = ip - base; in LZ4_compressCtx()
519 ref = base + HashTable[h]; in LZ4_compressCtx()
520 HashTable[h] = ip - base; in LZ4_compressCtx()
613 ref = base + HashTable[LZ4_HASH_VALUE(ip)]; in LZ4_compressCtx()
614 HashTable[LZ4_HASH_VALUE(ip)] = ip - base; in LZ4_compressCtx()
666 U16 *HashTable = (U16 *) (srt->hashTable); in LZ4_compress64kCtx() local
668 U16 HashTable[HASH64KTABLESIZE] = { 0 }; in LZ4_compress64kCtx()
712 ref = base + HashTable[h]; in LZ4_compress64kCtx()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DIdentifierTable.h490 HashTableTy HashTable; variable
514 return HashTable.getAllocator(); in getAllocator()
520 auto &Entry = *HashTable.insert(std::make_pair(Name, nullptr)).first; in get()
557 auto &Entry = *HashTable.insert(std::make_pair(Name, nullptr)).first; in getOwn()
581 iterator begin() const { return HashTable.begin(); } in begin()
582 iterator end() const { return HashTable.end(); } in end()
583 unsigned size() const { return HashTable.size(); } in size()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DIdentifierTable.cpp61 : HashTable(8192), // Start with space for 8K identifiers. in IdentifierTable()
321 unsigned NumBuckets = HashTable.getNumBuckets(); in PrintStats()
322 unsigned NumIdentifiers = HashTable.getNumItems(); in PrintStats()
329 I = HashTable.begin(), E = HashTable.end(); I != E; ++I) { in PrintStats()
346 HashTable.getAllocator().PrintStats(); in PrintStats()
/freebsd-12.1/contrib/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h357 std::unique_ptr<HashTableImpl> HashTable;
376 return RecordIterator == HashTable->data_end(); in atEnd()
380 HashTable->getInfoObj().setValueProfDataEndianness(Endianness); in setValueProfDataEndianness()
390 return Symtab.create(HashTable->keys()); in populateSymtab()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DMultiOnDiskHashTable.h62 using HashTable = llvm::OnDiskIterableChainedHashTable<Info>; member
65 HashTable Table;
219 OnDiskTable::HashTable::readNumBucketsAndEntries(Buckets);
/freebsd-12.1/contrib/llvm/lib/ProfileData/
H A DInstrProfReader.cpp569 auto Iter = HashTable->find(FuncName); in getRecords()
570 if (Iter == HashTable->end()) in getRecords()
600 HashTable.reset(HashTableImpl::Create( in InstrProfReaderIndex()
603 RecordIterator = HashTable->data_begin(); in InstrProfReaderIndex()
662 for (StringRef Name : Underlying.HashTable->keys()) { in populateRemappings()
/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DStringMap.h257 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1), in StringMap() local
272 HashTable[I] = RHSHashTable[I]; in StringMap()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/
H A DTpiStream.cpp240 HashTable<support::ulittle32_t> &TpiStream::getHashAdjusters() { in getHashAdjusters()
/freebsd-12.1/contrib/llvm/tools/llvm-readobj/
H A Dllvm-readobj.cpp180 cl::opt<bool> HashTable("hash-table", variable
475 if (opts::HashTable) in dumpObject()
H A DELFDumper.cpp221 const Elf_Hash *HashTable = nullptr; member in __anon4f80e6a10111::ELFDumper
1508 HashTable = in parseDynamicTable()
1969 if (!HashTable) in printHashTable()
1971 W.printNumber("Num Buckets", HashTable->nbucket); in printHashTable()
1972 W.printNumber("Num Chains", HashTable->nchain); in printHashTable()
1973 W.printList("Buckets", HashTable->buckets()); in printHashTable()
1974 W.printList("Chains", HashTable->chains()); in printHashTable()
3494 if (HashTable) { in printHashHistogram()
3495 size_t NBucket = HashTable->nbucket; in printHashHistogram()
3496 size_t NChain = HashTable->nchain; in printHashHistogram()
[all …]
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp180 using HashTable = DenseMap<BlockNode::IndexType, Weight>; in combineWeightsByHashing() typedef
182 HashTable Combined(NextPowerOf2(2 * Weights.size())); in combineWeightsByHashing()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExpr.cpp814 llvm::Type *HashTable = llvm::ArrayType::get(IntPtrTy, CacheSize); in EmitTypeCheck() local
815 llvm::Value *Cache = CGM.CreateRuntimeVariable(HashTable, in EmitTypeCheck()
/freebsd-12.1/lib/clang/libllvm/
H A DMakefile456 SRCS_EXT+= DebugInfo/PDB/Native/HashTable.cpp