Home
last modified time | relevance | path

Searched refs:BucketNo (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/Support/
DStringMap.cpp65 unsigned BucketNo = FullHashValue & (HTSize-1); in LookupBucketFor() local
71 StringMapEntryBase *BucketItem = TheTable[BucketNo]; in LookupBucketFor()
81 HashTable[BucketNo] = FullHashValue; in LookupBucketFor()
82 return BucketNo; in LookupBucketFor()
87 if (FirstTombstone == -1) FirstTombstone = BucketNo; in LookupBucketFor()
88 } else if (LLVM_LIKELY(HashTable[BucketNo] == FullHashValue)) { in LookupBucketFor()
99 return BucketNo; in LookupBucketFor()
104 BucketNo = (BucketNo+ProbeAmt) & (HTSize-1); in LookupBucketFor()
120 unsigned BucketNo = FullHashValue & (HTSize-1); in FindKey() local
125 StringMapEntryBase *BucketItem = TheTable[BucketNo]; in FindKey()
[all …]
/external/llvm/include/llvm/ADT/
DStringMap.h67 unsigned RehashTable(unsigned BucketNo = 0);
298 unsigned BucketNo = LookupBucketFor(KeyValue->getKey()); in insert() local
299 StringMapEntryBase *&Bucket = TheTable[BucketNo]; in insert()
318 unsigned BucketNo = LookupBucketFor(KV.first); in insert() local
319 StringMapEntryBase *&Bucket = TheTable[BucketNo]; in insert()
321 return std::make_pair(iterator(TheTable + BucketNo, false), in insert()
331 BucketNo = RehashTable(BucketNo); in insert()
332 return std::make_pair(iterator(TheTable + BucketNo, false), true); in insert()
DDenseMap.h496 unsigned BucketNo = getHashValue(Val) & (NumBuckets-1); in LookupBucketFor() local
499 const BucketT *ThisBucket = BucketsPtr + BucketNo; in LookupBucketFor()
523 BucketNo += ProbeAmt++; in LookupBucketFor()
524 BucketNo &= (NumBuckets-1); in LookupBucketFor()
/external/clang/lib/Lex/
DHeaderMap.cpp134 HMapBucket HeaderMap::getBucket(unsigned BucketNo) const { in getBucket()
142 const HMapBucket *BucketPtr = BucketArray+BucketNo; in getBucket()
/external/clang/include/clang/Lex/
DHeaderMap.h70 HMapBucket getBucket(unsigned BucketNo) const;