Home
last modified time | relevance | path

Searched refs:nestedMessage (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs260 var nestedMessage = new ForeignMessage { C = 20 }; in MapWithOnlyValue()
262 output.WriteLength(2 + nestedMessage.CalculateSize()); in MapWithOnlyValue()
264 output.WriteMessage(nestedMessage); in MapWithOnlyValue()
268 Assert.AreEqual(nestedMessage, parsed.MapInt32ForeignMessage[0]); in MapWithOnlyValue()
586 var nestedMessage = new TestAllTypes.Types.NestedMessage { Bb = 25 }; in OneofProperties()
587 message.OneofNestedMessage = nestedMessage; in OneofProperties()
591 Assert.AreEqual(nestedMessage, message.OneofNestedMessage); in OneofProperties()
DJsonFormatterTest.cs502 var nestedMessage = Any.Pack(doubleNestedMessage); in AnyNested()
503 var message = new TestWellKnownTypes { AnyField = Any.Pack(nestedMessage) }; in AnyNested()
DJsonParserTest.cs862 var nestedMessage = Any.Pack(doubleNestedMessage); in Any_Nested()
863 var message = new TestWellKnownTypes { AnyField = Any.Pack(nestedMessage) }; in Any_Nested()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DLiteTest.java382 NestedMessage nestedMessage = NestedMessage.newBuilder() in testSanityCopyOnWrite() local
385 builder.setOptionalLazyMessage(nestedMessage); in testSanityCopyOnWrite()
389 assertEquals(nestedMessage, builder.getOptionalLazyMessage()); in testSanityCopyOnWrite()
391 assertEquals(nestedMessage, messageAfterBuild.getOptionalLazyMessage()); in testSanityCopyOnWrite()
398 assertEquals(nestedMessage, messageAfterBuild.getOptionalLazyMessage()); in testSanityCopyOnWrite()
676 builder.addAllRepeatedLazyMessage(singletonList(nestedMessage)); in testSanityCopyOnWrite()
679 singletonList(nestedMessage), builder.getRepeatedLazyMessageList()); in testSanityCopyOnWrite()
685 singletonList(nestedMessage), in testSanityCopyOnWrite()
907 builder.addRepeatedLazyMessage(nestedMessage); in testSanityCopyOnWrite()
910 singletonList(nestedMessage), builder.getRepeatedLazyMessageList()); in testSanityCopyOnWrite()
[all …]
DTestUtil.java2637 private final Descriptors.Descriptor nestedMessage; field in TestUtil.ReflectionTester
2708 this.nestedMessage = testAllTypes.findNestedTypeByName("NestedMessage"); in ReflectionTester()
2720 Assert.assertNotNull(nestedMessage ); in ReflectionTester()
2727 this.nestedB = nestedMessage .findFieldByName("bb"); in ReflectionTester()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBTestUtilities.m147 TestAllTypes_NestedMessage *nestedMessage =
149 [nestedMessage setBb:518];
152 value:nestedMessage];
749 TestAllTypes_NestedMessage *nestedMessage =
751 [nestedMessage setBb:118];
752 [message setOptionalNestedMessage:nestedMessage];
797 nestedMessage = [[TestAllTypes_NestedMessage alloc] init];
798 [nestedMessage setBb:218 + i * 100];
799 [message.repeatedNestedMessageArray addObject:nestedMessage];
800 [nestedMessage release];
[all …]
DGPBMessageTests.m114 TestAllTypes_NestedMessage *nestedMessage =
117 value:nestedMessage];
128 TestAllTypes_NestedMessage *nestedMessage =
130 nestedMessage.bb = 7;
132 value:nestedMessage];
145 TestAllTypes_NestedMessage *nestedMessage =
147 nestedMessage.bb = 7;
149 value:nestedMessage];
796 TestAllTypes_NestedMessage *nestedMessage = message.optionalNestedMessage;
800 XCTAssertEqual(message.optionalNestedMessage, nestedMessage);
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DJsonFormatter.cs659 var nestedMessage = (IMessage) specifiedField.Accessor.GetValue(message); in WriteStructFieldValue()
660 WriteWellKnownTypeValue(writer, nestedMessage.Descriptor, nestedMessage); in WriteStructFieldValue()
/frameworks/base/core/java/android/nfc/
DNdefRecord.java725 NdefMessage nestedMessage = new NdefMessage(mPayload); in toUri() local
726 for (NdefRecord nestedRecord : nestedMessage.getRecords()) { in toUri()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java118 msg.nestedMessage = nestedMsg; in testRecursiveMessageNano()
132 assertEquals(1, newMsg.nestedMessage.a.id); in testRecursiveMessageNano()
2566 TestNanoAccessors.NestedMessage nestedMessage = new TestNanoAccessors.NestedMessage(); in testNanoWithAccessorsPublicFieldTypes() local
2567 nestedMessage.setBb(5); in testNanoWithAccessorsPublicFieldTypes()
2568 newMsg.optionalNestedMessage = nestedMessage; in testNanoWithAccessorsPublicFieldTypes()
2573 assertEquals(nestedMessage.getBb(), newMsg2.optionalNestedMessage.getBb()); in testNanoWithAccessorsPublicFieldTypes()
2592 TestNanoAccessors.NestedMessage nestedMessage = new TestNanoAccessors.NestedMessage(); in testNanoWithAccessorsSerialize() local
2593 nestedMessage.setBb(nestedMessage.getBb()); in testNanoWithAccessorsSerialize()
2594 msg.optionalNestedMessage = nestedMessage; in testNanoWithAccessorsSerialize()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DTestUtil.java1878 private final Descriptors.Descriptor nestedMessage; field in TestUtil.ReflectionTester
1949 this.nestedMessage = testAllTypes.findNestedTypeByName("NestedMessage"); in ReflectionTester()
1961 Assert.assertNotNull(nestedMessage ); in ReflectionTester()
1968 this.nestedB = nestedMessage .findFieldByName("bb"); in ReflectionTester()