Searched refs:nestedMessage (Results 1 – 11 of 11) sorted by relevance
/external/syzkaller/vendor/github.com/golang/protobuf/proto/ |
D | lib.go | 757 func fieldDefault(ft reflect.Type, prop *Properties) (sf *scalarField, nestedMessage bool, err erro… 762 nestedMessage = true 770 nestedMessage = true // repeated message 777 nestedMessage = true // map with message values 782 if nestedMessage {
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | GeneratedMessageTest.cs | 260 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()
|
D | JsonFormatterTest.cs | 500 var nestedMessage = Any.Pack(doubleNestedMessage); in AnyNested() 501 var message = new TestWellKnownTypes { AnyField = Any.Pack(nestedMessage) }; in AnyNested()
|
D | JsonParserTest.cs | 859 var nestedMessage = Any.Pack(doubleNestedMessage); in Any_Nested() 860 var message = new TestWellKnownTypes { AnyField = Any.Pack(nestedMessage) }; in Any_Nested()
|
/external/golang-protobuf/proto/ |
D | lib.go | 795 func fieldDefault(ft reflect.Type, prop *Properties) (sf *scalarField, nestedMessage bool, err erro… 800 nestedMessage = true 808 nestedMessage = true // repeated message 815 nestedMessage = true // map with message values 820 if nestedMessage {
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | LiteTest.java | 382 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 …]
|
D | TestUtil.java | 2637 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()
|
/external/protobuf/objectivec/Tests/ |
D | GPBTestUtilities.m | 147 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 …]
|
D | GPBMessageTests.m | 114 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 …]
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | JsonFormatter.cs | 659 var nestedMessage = (IMessage) specifiedField.Accessor.GetValue(message); in WriteStructFieldValue() 660 WriteWellKnownTypeValue(writer, nestedMessage.Descriptor, nestedMessage); in WriteStructFieldValue()
|
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/ |
D | NanoTest.java | 122 msg.nestedMessage = nestedMsg; in testRecursiveMessageNano() 136 assertEquals(1, newMsg.nestedMessage.a.id); in testRecursiveMessageNano() 2570 TestNanoAccessors.NestedMessage nestedMessage = new TestNanoAccessors.NestedMessage(); in testNanoWithAccessorsPublicFieldTypes() local 2571 nestedMessage.setBb(5); in testNanoWithAccessorsPublicFieldTypes() 2572 newMsg.optionalNestedMessage = nestedMessage; in testNanoWithAccessorsPublicFieldTypes() 2577 assertEquals(nestedMessage.getBb(), newMsg2.optionalNestedMessage.getBb()); in testNanoWithAccessorsPublicFieldTypes() 2596 TestNanoAccessors.NestedMessage nestedMessage = new TestNanoAccessors.NestedMessage(); in testNanoWithAccessorsSerialize() local 2597 nestedMessage.setBb(nestedMessage.getBb()); in testNanoWithAccessorsSerialize() 2598 msg.optionalNestedMessage = nestedMessage; in testNanoWithAccessorsSerialize()
|