Home
last modified time | relevance | path

Searched refs:ContainingType (Results 1 - 23 of 23) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DFieldDescriptor.cs54 public MessageDescriptor ContainingType { get; } property in Google.Protobuf.Reflection.FieldDescriptor
109 ContainingType = parent; in FieldDescriptor()
261 /// must be a field of the same type, i.e. the <see cref="ContainingType"/> of
266 if (other.ContainingType != ContainingType) in CompareTo()
422 if (ContainingType != null && ContainingType.Proto.Options != null && ContainingType.Proto.Options.MessageSetWireFormat) in CrossLink()
444 var property = ContainingType.ClrType.GetProperty(propertyName); in CreateAccessor()
447 throw new DescriptorValidationException(this, $"Property {propertyName} not found in {ContainingType in CreateAccessor()
[all...]
H A DOneofDescriptor.cs79 public MessageDescriptor ContainingType property in Google.Protobuf.Reflection.OneofDescriptor
153 foreach (var field in ContainingType.Fields.InDeclarationOrder()) in CrossLink()
H A DDescriptorPool.cs231 ObjectIntPair<IDescriptor> key = new ObjectIntPair<IDescriptor>(field.Proto.HasExtendee ? field.ExtendeeType : field.ContainingType, field.FieldNumber); in AddFieldByNumber()
237 field.ContainingType.FullName + in AddFieldByNumber()
H A DMessageDescriptor.cs75 ContainingType = parent; in MessageDescriptor()
224 public MessageDescriptor ContainingType { get; } property in Google.Protobuf.Reflection.MessageDescriptor
H A DOneofAccessor.cs93 ? Descriptor.ContainingType.FindFieldByNumber(fieldNumber) in GetCaseFieldDescriptor()
H A DEnumDescriptor.cs95 public MessageDescriptor ContainingType property in Google.Protobuf.Reflection.EnumDescriptor
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DExtensionRegistryLite.java156 public <ContainingType extends MessageLite>
157 GeneratedMessageLite.GeneratedExtension<ContainingType, ?> findLiteExtensionByNumber( in findLiteExtensionByNumber()
158 final ContainingType containingTypeDefaultInstance, final int fieldNumber) { in findLiteExtensionByNumber()
159 return (GeneratedMessageLite.GeneratedExtension<ContainingType, ?>) in findLiteExtensionByNumber()
H A DExtension.java33 // TODO(chrisn): Change ContainingType to extend Message
39 public abstract class Extension<ContainingType extends MessageLite, Type>
40 extends ExtensionLite<ContainingType, Type> {
H A DExtensionLite.java39 public abstract class ExtensionLite<ContainingType extends MessageLite, Type> {
H A DGeneratedMessageLite.java1043 public static <ContainingType extends MessageLite, Type>
1044 GeneratedExtension<ContainingType, Type> newSingularGeneratedExtension( in newSingularGeneratedExtension()
1045 final ContainingType containingTypeDefaultInstance, in newSingularGeneratedExtension()
1052 return new GeneratedExtension<ContainingType, Type>( in newSingularGeneratedExtension()
1062 public static <ContainingType extends MessageLite, Type>
1063 GeneratedExtension<ContainingType, Type> newRepeatedGeneratedExtension( in newRepeatedGeneratedExtension()
1064 final ContainingType containingTypeDefaultInstance, in newRepeatedGeneratedExtension()
1073 return new GeneratedExtension<ContainingType, Type>( in newRepeatedGeneratedExtension()
1186 public static class GeneratedExtension<ContainingType extends MessageLite, Type>
1187 extends ExtensionLite<ContainingType, Typ
[all...]
H A DGeneratedMessage.java1614 public static <ContainingType extends Message, Type>
1615 GeneratedExtension<ContainingType, Type>
1623 return new GeneratedExtension<ContainingType, Type>( in newMessageScopedGeneratedExtension()
1636 public static <ContainingType extends Message, Type>
1637 GeneratedExtension<ContainingType, Type>
1643 return new GeneratedExtension<ContainingType, Type>( in newFileScopedGeneratedExtension()
1675 public static <ContainingType extends Message, Type>
1676 GeneratedExtension<ContainingType, Type>
1683 return new GeneratedExtension<ContainingType, Type>( in newMessageScopedGeneratedExtension()
1702 public static <ContainingType extend
[all...]
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/
H A DDescriptorsTest.cs99 Assert.IsNull(messageType.ContainingType); in MessageDescriptor()
107 Assert.AreEqual(messageType, nestedType.ContainingType); in MessageDescriptor()
149 Assert.AreEqual(messageType, primitiveField.ContainingType); in FieldDescriptor()
185 Assert.Null(enumType.ContainingType); in EnumDescriptor()
192 Assert.AreEqual(TestAllTypes.Descriptor, nestedType.ContainingType); in EnumDescriptor()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
H A DDescriptorsTest.cs178 Assert.IsNull(messageType.ContainingType); in MessageDescriptor()
186 Assert.AreEqual(messageType, nestedType.ContainingType); in MessageDescriptor()
257 Assert.AreEqual(testAllTypesDescriptor, primitiveField.ContainingType); in TestFieldDescriptor()
301 Assert.Null(enumType.ContainingType); in EnumDescriptor()
308 Assert.AreEqual(TestAllTypes.Descriptor, nestedType.ContainingType); in EnumDescriptor()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h110 MemberPointerInfo(TypeIndex ContainingType, in MemberPointerInfo() argument
112 : ContainingType(ContainingType), Representation(Representation) {} in MemberPointerInfo()
114 TypeIndex getContainingType() const { return ContainingType; } in getContainingType()
119 TypeIndex ContainingType; member in llvm::codeview::MemberPointerInfo
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypePointer.cpp75 return Session.getSymbolCache().findSymbolByTypeIndex(MPI.ContainingType); in getClassParentId()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DLLVMContextImpl.h616 Metadata *ContainingType; member
629 unsigned ScopeLine, Metadata *ContainingType, in MDNodeKeyImpl()
636 ContainingType(ContainingType), VirtualIndex(VirtualIndex), in MDNodeKeyImpl()
644 ContainingType(N->getRawContainingType()), in MDNodeKeyImpl()
658 ContainingType == RHS->getRawContainingType() && in isKeyOf()
H A DDebugInfoMetadata.cpp633 unsigned ScopeLine, Metadata *ContainingType, unsigned VirtualIndex, in getImpl()
641 ContainingType, VirtualIndex, ThisAdjustment, Flags, in getImpl()
646 Declaration, RetainedNodes, ContainingType, TemplateParams, ThrownTypes}; in getImpl()
651 if (!ContainingType) in getImpl()
630 getImpl( LLVMContext &Context, Metadata *Scope, MDString *Name, MDString *LinkageName, Metadata *File, unsigned Line, Metadata *Type, unsigned ScopeLine, Metadata *ContainingType, unsigned VirtualIndex, int ThisAdjustment, DIFlags Flags, DISPFlags SPFlags, Metadata *Unit, Metadata *TemplateParams, Metadata *Declaration, Metadata *RetainedNodes, Metadata *ThrownTypes, StorageType Storage, bool ShouldCreate) getImpl() argument
H A DDebugInfo.cpp431 DIType *ContainingType = in getReplacementSubprogram() local
442 ContainingType, MDS->getVirtualIndex(), MDS->getThisAdjustment(), in getReplacementSubprogram()
452 FileAndScope, MDS->getLine(), Type, MDS->getScopeLine(), ContainingType, in getReplacementSubprogram()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h1663 DISubroutineType *Type, unsigned ScopeLine, DIType *ContainingType,
1671 ScopeLine, ContainingType, VirtualIndex, ThisAdjustment,
1679 unsigned ScopeLine, Metadata *ContainingType,
1700 DIType *ContainingType, unsigned VirtualIndex, int ThisAdjustment,
1705 (Scope, Name, LinkageName, File, Line, Type, ScopeLine, ContainingType,
1713 Metadata *ContainingType, unsigned VirtualIndex, int ThisAdjustment,
1717 (Scope, Name, LinkageName, File, Line, Type, ScopeLine, ContainingType,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp376 error(IO.mapInteger(M.ContainingType, "ClassType")); in visitKnownRecord()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp976 if (auto *ContainingType = CTy->getVTableHolder()) in constructTypeDIE()
978 *getOrCreateTypeDIE(ContainingType)); in constructTypeDIE()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.cpp386 IO.mapRequired("ContainingType", MPI.ContainingType); in mapping()
/third_party/protobuf/src/google/protobuf/
H A Ddescriptor_unittest.cc812 TEST_F(DescriptorTest, ContainingType) { in TEST_F()
1402 TEST_F(EnumDescriptorTest, ContainingType) { in TEST_F()

Completed in 44 milliseconds