Lines Matching refs:key
23 StringKey key = GenerateStringKey(cstr);
24 auto it = hashmap_.find(key);
31 hashmap_.emplace(key, newStr);
32 orderedKey_.emplace_back(key);
33 indexMap_.emplace(key, index_);
44 CString *StringHashMap::GetStringByKey(StringKey key) const
46 auto it = hashmap_.find(key);
53 std::pair<uint64_t, CString *> StringHashMap::GetStringAndIdPair(StringKey key) const
55 auto it = hashmap_.find(key);
57 return {indexMap_.at(key), it->second};
65 StringKey key = GenerateStringKey(cstr);
66 auto it = indexMap_.find(key);
73 hashmap_.emplace(key, newStr);
74 orderedKey_.emplace_back(key);
75 indexMap_.emplace(key, index_);