Lines Matching defs:Key

62   internal_key_type GetInternalKey(external_key_type Key) { return Key; }
64 external_key_type GetExternalKey(internal_key_type Key) { return Key; }
78 static data_type ReadData(internal_key_type Key, const uint8_t *Data,
88 auto UnversionedData = Derived::readUnversioned(Key, Data);
150 internal_key_type GetInternalKey(external_key_type Key) { return Key; }
152 external_key_type GetExternalKey(internal_key_type Key) { return Key; }
154 hash_value_type ComputeHash(internal_key_type Key) {
155 return llvm::djbHash(Key);
190 internal_key_type GetInternalKey(external_key_type Key) { return Key; }
192 external_key_type GetExternalKey(internal_key_type Key) { return Key; }
194 hash_value_type ComputeHash(internal_key_type Key) {
195 return static_cast<size_t>(Key.hashValue());
219 static data_type ReadData(internal_key_type Key, const uint8_t *Data,
233 hash_value_type ComputeHash(internal_key_type Key) {
234 return static_cast<size_t>(llvm::hash_value(Key));
237 static ContextInfo readUnversioned(internal_key_type Key,
288 hash_value_type ComputeHash(internal_key_type Key) {
289 return static_cast<size_t>(llvm::hash_value(Key));
292 static ObjCPropertyInfo readUnversioned(internal_key_type Key,
313 hash_value_type ComputeHash(internal_key_type Key) {
314 return static_cast<size_t>(Key.hashValue());
317 static FieldInfo readUnversioned(internal_key_type Key,
399 hash_value_type ComputeHash(internal_key_type Key) {
400 return static_cast<size_t>(llvm::hash_value(Key));
403 static ObjCMethodInfo readUnversioned(internal_key_type Key,
433 internal_key_type GetInternalKey(external_key_type Key) { return Key; }
435 external_key_type GetExternalKey(internal_key_type Key) { return Key; }
437 hash_value_type ComputeHash(internal_key_type Key) {
438 return llvm::DenseMapInfo<StoredObjCSelector>::getHashValue(Key);
454 internal_key_type Key;
455 Key.NumArgs = endian::readNext<uint16_t, llvm::endianness::little>(Data);
458 Key.Identifiers.push_back(
461 return Key;
464 static data_type ReadData(internal_key_type Key, const uint8_t *Data,
481 hash_value_type ComputeHash(internal_key_type Key) {
482 return static_cast<size_t>(Key.hashValue());
485 static GlobalVariableInfo readUnversioned(internal_key_type Key,
504 hash_value_type ComputeHash(internal_key_type Key) {
505 return static_cast<size_t>(Key.hashValue());
508 static GlobalFunctionInfo readUnversioned(internal_key_type Key,
527 hash_value_type ComputeHash(internal_key_type Key) {
528 return static_cast<size_t>(Key.hashValue());
531 static CXXMethodInfo readUnversioned(internal_key_type Key,
559 hash_value_type ComputeHash(internal_key_type Key) {
560 return static_cast<size_t>(llvm::hash_value(Key));
563 static EnumConstantInfo readUnversioned(internal_key_type Key,
582 hash_value_type ComputeHash(internal_key_type Key) {
583 return static_cast<size_t>(Key.hashValue());
586 static TagInfo readUnversioned(internal_key_type Key, const uint8_t *&Data) {
651 hash_value_type ComputeHash(internal_key_type Key) {
652 return static_cast<size_t>(Key.hashValue());
655 static TypedefInfo readUnversioned(internal_key_type Key,
818 StoredObjCSelector Key;
819 Key.NumArgs = Selector.NumArgs;
822 Key.Identifiers.push_back(*IdentID);
828 auto Known = ObjCSelectorTable->find(Key);
2226 SingleDeclTableKey Key(Ctx, *NameID);
2228 auto Known = Implementation->GlobalVariableTable->find(Key);
2245 SingleDeclTableKey Key(Ctx, *NameID);
2247 auto Known = Implementation->GlobalFunctionTable->find(Key);
2297 SingleDeclTableKey Key(Ctx, *NameID);
2299 auto Known = Implementation->TagTable->find(Key);
2316 SingleDeclTableKey Key(Ctx, *NameID);
2318 auto Known = Implementation->TypedefTable->find(Key);