Lines Matching defs:key
108 size_t HashKey(KeyType key) const
110 return HASH(&key);
120 bool Compare(KeyType key, ValueType* chain) const
122 if (chain->family == key.family
123 && chain->type == key.type
124 && chain->protocol == key.protocol)
140 size_t HashKey(KeyType key) const
142 return key;
150 bool Compare(KeyType key, ValueType* family) const
152 return family->type == key;
336 struct chain_key key = { family, type, protocol };
337 return chains->Lookup(key);