Home
last modified time | relevance | path

Searched refs:nestedType (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs94 MessageDescriptor nestedType = TestAllTypes.Types.NestedMessage.Descriptor; in MessageDescriptor()
104 Assert.AreEqual("NestedMessage", nestedType.Name); in MessageDescriptor()
105 Assert.AreEqual("protobuf_unittest.TestAllTypes.NestedMessage", nestedType.FullName); in MessageDescriptor()
106 Assert.AreEqual(UnittestProto3Reflection.Descriptor, nestedType.File); in MessageDescriptor()
107 Assert.AreEqual(messageType, nestedType.ContainingType); in MessageDescriptor()
121 Assert.AreEqual(nestedType, messageType.NestedTypes[0]); in MessageDescriptor()
122 … Assert.AreEqual(nestedType, messageType.FindDescriptor<MessageDescriptor>("NestedMessage")); in MessageDescriptor()
180 … EnumDescriptor nestedType = TestAllTypes.Descriptor.FindDescriptor<EnumDescriptor>("NestedEnum"); in EnumDescriptor()
188 Assert.AreEqual("NestedEnum", nestedType.Name); in EnumDescriptor()
190 nestedType.FullName); in EnumDescriptor()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDescriptorsTest.java152 Descriptor nestedType = TestAllTypes.NestedMessage.getDescriptor(); in testDescriptor() local
162 assertEquals("NestedMessage", nestedType.getName()); in testDescriptor()
164 nestedType.getFullName()); in testDescriptor()
165 assertEquals(UnittestProto.getDescriptor(), nestedType.getFile()); in testDescriptor()
166 assertEquals(messageType, nestedType.getContainingType()); in testDescriptor()
178 assertEquals(nestedType, messageType.getNestedTypes().get(0)); in testDescriptor()
179 assertEquals(nestedType, messageType.findNestedTypeByName("NestedMessage")); in testDescriptor()
294 EnumDescriptor nestedType = TestAllTypes.NestedEnum.getDescriptor(); in testEnumDescriptor() local
303 assertEquals("NestedEnum", nestedType.getName()); in testEnumDescriptor()
305 nestedType.getFullName()); in testEnumDescriptor()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DTypeRegistry.cs167 foreach (var nestedType in messageDescriptor.NestedTypes) in AddMessage()
169 AddMessage(nestedType); in AddMessage()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java153 Descriptor nestedType = TestAllTypes.NestedMessage.getDescriptor(); in testDescriptor() local
163 assertEquals("NestedMessage", nestedType.getName()); in testDescriptor()
165 nestedType.getFullName()); in testDescriptor()
166 assertEquals(UnittestProto.getDescriptor(), nestedType.getFile()); in testDescriptor()
167 assertEquals(messageType, nestedType.getContainingType()); in testDescriptor()
179 assertEquals(nestedType, messageType.getNestedTypes().get(0)); in testDescriptor()
180 assertEquals(nestedType, messageType.findNestedTypeByName("NestedMessage")); in testDescriptor()
304 EnumDescriptor nestedType = TestAllTypes.NestedEnum.getDescriptor(); in testEnumDescriptor() local
313 assertEquals("NestedEnum", nestedType.getName()); in testEnumDescriptor()
315 nestedType.getFullName()); in testEnumDescriptor()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java371 for (Descriptor nestedType : message.getNestedTypes()) { in addMessage()
372 addMessage(nestedType); in addMessage()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DDescriptors.java853 for (final Descriptor nestedType : nestedTypes) { in crossLink()
854 nestedType.crossLink(); in crossLink()