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.h69 unsigned RehashTable(unsigned BucketNo = 0);
311 unsigned BucketNo = LookupBucketFor(KeyValue->getKey()); in insert() local
312 StringMapEntryBase *&Bucket = TheTable[BucketNo]; in insert()
331 unsigned BucketNo = LookupBucketFor(KV.first); in insert() local
332 StringMapEntryBase *&Bucket = TheTable[BucketNo]; in insert()
334 return std::make_pair(iterator(TheTable + BucketNo, false), in insert()
344 BucketNo = RehashTable(BucketNo); in insert()
345 return std::make_pair(iterator(TheTable + BucketNo, false), true); in insert()
DDenseMap.h486 unsigned BucketNo = getHashValue(Val) & (NumBuckets-1); in LookupBucketFor() local
489 const BucketT *ThisBucket = BucketsPtr + BucketNo; in LookupBucketFor()
513 BucketNo += ProbeAmt++; in LookupBucketFor()
514 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;