Home | History | Annotate | Download | only in ADT

Lines Matching refs:Bucket

79   /// LookupBucketFor - Look up the bucket that the specified string should end
81 /// specified bucket will be non-null. Otherwise, it will be null. In either
82 /// case, the FullHashValue field of the bucket will be set to the hash value
86 /// FindKey - Look up the bucket that contains the specified key. If it exists
87 /// in the map, return the bucket number of the key. Otherwise return -1.
271 StringMapEntryBase *Bucket = RHS.TheTable[I];
272 if (!Bucket || Bucket == getTombstoneVal()) {
273 TheTable[I] = Bucket;
278 static_cast<MapEntryTy *>(Bucket)->getKey(), Allocator,
279 static_cast<MapEntryTy *>(Bucket)->getValue());
316 int Bucket = FindKey(Key);
317 if (Bucket == -1) return end();
318 return iterator(TheTable+Bucket, true);
322 int Bucket = FindKey(Key);
323 if (Bucket == -1) return end();
324 return const_iterator(TheTable+Bucket, true);
350 StringMapEntryBase *&Bucket = TheTable[BucketNo];
351 if (Bucket && Bucket != getTombstoneVal())
354 if (Bucket == getTombstoneVal())
356 Bucket = KeyValue;
379 StringMapEntryBase *&Bucket = TheTable[BucketNo];
380 if (Bucket && Bucket != getTombstoneVal())
384 if (Bucket == getTombstoneVal())
386 Bucket = MapEntryTy::Create(Key, Allocator, std::forward<ArgsTy>(Args)...);
401 StringMapEntryBase *&Bucket = TheTable[I];
402 if (Bucket && Bucket != getTombstoneVal()) {
403 static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
405 Bucket = nullptr;
437 StringMapEntryBase *Bucket = TheTable[I];
438 if (Bucket && Bucket != getTombstoneVal()) {
439 static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
456 explicit StringMapConstIterator(StringMapEntryBase **Bucket,
458 : Ptr(Bucket) {
497 explicit StringMapIterator(StringMapEntryBase **Bucket,
499 : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {