Home | History | Annotate | Download | only in ADT

Lines Matching refs:Bucket

80   /// LookupBucketFor - Look up the bucket that the specified string should end
82 /// specified bucket will be non-null. Otherwise, it will be null. In either
83 /// case, the FullHashValue field of the bucket will be set to the hash value
87 /// FindKey - Look up the bucket that contains the specified key. If it exists
88 /// in the map, return the bucket number of the key. Otherwise return -1.
272 StringMapEntryBase *Bucket = RHS.TheTable[I];
273 if (!Bucket || Bucket == getTombstoneVal()) {
274 TheTable[I] = Bucket;
279 static_cast<MapEntryTy *>(Bucket)->getKey(), Allocator,
280 static_cast<MapEntryTy *>(Bucket)->getValue());
322 int Bucket = FindKey(Key);
323 if (Bucket == -1) return end();
324 return iterator(TheTable+Bucket, true);
328 int Bucket = FindKey(Key);
329 if (Bucket == -1) return end();
330 return const_iterator(TheTable+Bucket, true);
356 StringMapEntryBase *&Bucket = TheTable[BucketNo];
357 if (Bucket && Bucket != getTombstoneVal())
360 if (Bucket == getTombstoneVal())
362 Bucket = KeyValue;
385 StringMapEntryBase *&Bucket = TheTable[BucketNo];
386 if (Bucket && Bucket != getTombstoneVal())
390 if (Bucket == getTombstoneVal())
392 Bucket = MapEntryTy::Create(Key, Allocator, std::forward<ArgsTy>(Args)...);
407 StringMapEntryBase *&Bucket = TheTable[I];
408 if (Bucket && Bucket != getTombstoneVal()) {
409 static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
411 Bucket = nullptr;
443 StringMapEntryBase *Bucket = TheTable[I];
444 if (Bucket && Bucket != getTombstoneVal()) {
445 static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
463 explicit StringMapIterBase(StringMapEntryBase **Bucket,
465 : Ptr(Bucket) {
504 explicit StringMapConstIterator(StringMapEntryBase **Bucket,
506 : base(Bucket, NoAdvance) {}
521 explicit StringMapIterator(StringMapEntryBase **Bucket,
523 : base(Bucket, NoAdvance) {}