Home | History | Annotate | Download | only in Support

Lines Matching refs:Key

54 /// up in.  If it already exists as a key in the map, the Item pointer for the
72 // If we found an empty bucket, this key isn't in the table yet, return it.
113 /// FindKey - Look up the bucket that contains the specified key. If it exists
114 /// in the map, return the bucket number of the key. Otherwise return -1.
116 int StringMapImpl::FindKey(StringRef Key) const {
119 unsigned FullHashValue = HashString(Key);
126 // If we found an empty bucket, this key isn't in the table yet, return.
141 if (Key == StringRef(ItemStr, BucketItem->getKeyLength())) {
162 assert(V == V2 && "Didn't find key?");
165 /// RemoveKey - Remove the StringMapEntry for the specified key from the
166 /// table, returning it. If the key is not in the table, this returns null.
167 StringMapEntryBase *StringMapImpl::RemoveKey(StringRef Key) {
168 int Bucket = FindKey(Key);