Home | History | Annotate | Download | only in ADT

Lines Matching refs:Bucket

71   /// LookupBucketFor - Look up the bucket that the specified string should end
73 /// specified bucket will be non-null. Otherwise, it will be null. In either
74 /// case, the FullHashValue field of the bucket will be set to the hash value
78 /// FindKey - Look up the bucket that contains the specified key. If it exists
79 /// in the map, return the bucket number of the key. Otherwise return -1.
278 int Bucket = FindKey(Key);
279 if (Bucket == -1) return end();
280 return iterator(TheTable+Bucket, true);
284 int Bucket = FindKey(Key);
285 if (Bucket == -1) return end();
286 return const_iterator(TheTable+Bucket, true);
312 StringMapEntryBase *&Bucket = TheTable[BucketNo];
313 if (Bucket && Bucket != getTombstoneVal())
316 if (Bucket == getTombstoneVal())
318 Bucket = KeyValue;
332 StringMapEntryBase *&Bucket = TheTable[BucketNo];
333 if (Bucket && Bucket != getTombstoneVal())
337 if (Bucket == getTombstoneVal())
339 Bucket =
355 StringMapEntryBase *&Bucket = TheTable[I];
356 if (Bucket && Bucket != getTombstoneVal()) {
357 static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
359 Bucket = nullptr;
391 StringMapEntryBase *Bucket = TheTable[I];
392 if (Bucket && Bucket != getTombstoneVal()) {
393 static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
410 explicit StringMapConstIterator(StringMapEntryBase **Bucket,
412 : Ptr(Bucket) {
450 explicit StringMapIterator(StringMapEntryBase **Bucket,
452 : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {