Lines Matching full:bucket

59   /// LookupBucketFor - Look up the bucket that the specified string should end
61 /// specified bucket will be non-null. Otherwise, it will be null. In either
62 /// case, the FullHashValue field of the bucket will be set to the hash value
71 /// FindKey - Look up the bucket that contains the specified key. If it exists
72 /// in the map, return the bucket number of the key. Otherwise return -1.
169 StringMapEntryBase *Bucket = RHS.TheTable[I]; in StringMap() local
170 if (!Bucket || Bucket == getTombstoneVal()) { in StringMap()
171 TheTable[I] = Bucket; in StringMap()
176 static_cast<MapEntryTy *>(Bucket)->getKey(), getAllocator(), in StringMap()
177 static_cast<MapEntryTy *>(Bucket)->getValue()); in StringMap()
201 StringMapEntryBase *Bucket = TheTable[I]; in ~StringMap() local
202 if (Bucket && Bucket != getTombstoneVal()) { in ~StringMap()
203 static_cast<MapEntryTy *>(Bucket)->Destroy(getAllocator()); in ~StringMap()
236 int Bucket = FindKey(Key, FullHashValue); in find() local
237 if (Bucket == -1) in find()
239 return iterator(TheTable + Bucket, true); in find()
245 int Bucket = FindKey(Key, FullHashValue); in find() local
246 if (Bucket == -1) in find()
248 return const_iterator(TheTable + Bucket, true); in find()
310 StringMapEntryBase *&Bucket = TheTable[BucketNo]; in insert() local
311 if (Bucket && Bucket != getTombstoneVal()) in insert()
314 if (Bucket == getTombstoneVal()) in insert()
316 Bucket = KeyValue; in insert()
377 StringMapEntryBase *&Bucket = TheTable[BucketNo]; in try_emplace_with_hash() local
378 if (Bucket && Bucket != getTombstoneVal()) in try_emplace_with_hash()
382 if (Bucket == getTombstoneVal()) in try_emplace_with_hash()
384 Bucket = in try_emplace_with_hash()
401 StringMapEntryBase *&Bucket = TheTable[I]; in clear() local
402 if (Bucket && Bucket != getTombstoneVal()) { in clear()
403 static_cast<MapEntryTy *>(Bucket)->Destroy(getAllocator()); in clear()
405 Bucket = nullptr; in clear()
441 explicit StringMapIterBase(StringMapEntryBase **Bucket,
443 : Ptr(Bucket) { in Ptr() argument
485 explicit StringMapConstIterator(StringMapEntryBase **Bucket,
487 : base(Bucket, NoAdvance) {} in base() argument
502 explicit StringMapIterator(StringMapEntryBase **Bucket,
504 : base(Bucket, NoAdvance) {} in base() argument