Home
last modified time | relevance | path

Searched refs:msg3 (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DParserTest.java262 TestAllTypes msg3 = builder.setOptionalInt32(3) in testParsingMerge() local
274 .setField1(msg3).build(); in testParsingMerge()
283 .setField1(msg3).build(); in testParsingMerge()
287 .addField1(msg1).addField1(msg2).addField1(msg3) in testParsingMerge()
288 .addField2(msg1).addField2(msg2).addField2(msg3) in testParsingMerge()
289 .addField3(msg1).addField3(msg2).addField3(msg3) in testParsingMerge()
292 .addExt1(msg1).addExt1(msg2).addExt1(msg3) in testParsingMerge()
293 .addExt2(msg1).addExt2(msg2).addExt2(msg3) in testParsingMerge()
324 TestAllTypesLite msg3 = builder.setOptionalInt32(3) in testParsingMergeLite() local
336 .setField1(msg3).build(); in testParsingMergeLite()
[all …]
DCodedInputStreamTest.java818 Int32Message msg3 = Int32Message.parseFrom(serialized); in testCompatibleTypes() local
819 assertEquals((int) data, msg3.getData()); in testCompatibleTypes()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DParserTest.java223 TestAllTypes msg3 = builder.setOptionalInt32(3) in testParsingMerge() local
235 .setField1(msg3).build(); in testParsingMerge()
244 .setField1(msg3).build(); in testParsingMerge()
248 .addField1(msg1).addField1(msg2).addField1(msg3) in testParsingMerge()
249 .addField2(msg1).addField2(msg2).addField2(msg3) in testParsingMerge()
250 .addField3(msg1).addField3(msg2).addField3(msg3) in testParsingMerge()
253 .addExt1(msg1).addExt1(msg2).addExt1(msg3) in testParsingMerge()
254 .addExt2(msg1).addExt2(msg2).addExt2(msg3) in testParsingMerge()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dmessage_unittest.cc333 unittest::TestAllTypes* msg3) { in AssignParsingMergeMessages() argument
336 msg3->set_optional_int32(3); in AssignParsingMergeMessages()
337 msg3->set_optional_string("hello"); in AssignParsingMergeMessages()
348 unittest::TestAllTypes* msg3; in TEST() local
353 msg3 = generator.add_##FIELD(); \ in TEST()
354 AssignParsingMergeMessages(msg1, msg2, msg3) in TEST()
366 msg3 = generator.add_##FIELD()->mutable_field1(); \ in TEST()
367 AssignParsingMergeMessages(msg1, msg2, msg3) in TEST()
Dlite_unittest.cc62 google::protobuf::unittest::TestAllTypesLite* msg3) { in AssignParsingMergeMessages() argument
65 msg3->set_optional_int32(3); in AssignParsingMergeMessages()
66 msg3->set_optional_string("hello"); in AssignParsingMergeMessages()
172 google::protobuf::unittest::TestAllTypesLite* msg3; in main() local
177 msg3 = generator.add_##FIELD(); \ in main()
178 AssignParsingMergeMessages(msg1, msg2, msg3) in main()
190 msg3 = generator.add_##FIELD()->mutable_field1(); \ in main()
191 AssignParsingMergeMessages(msg1, msg2, msg3) in main()
Dwire_format_unittest.cc786 unittest::Uint64Message msg3; in TEST() local
787 ASSERT_TRUE(msg3.ParseFromString(serialized)); in TEST()
788 ASSERT_EQ(static_cast<uint64>(data), msg3.data()); in TEST()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBSwiftTests.swift41 let msg3 = Message2_OptionalGroup() in testProto2Basics() variable
48 msg3.a = 200 in testProto2Basics()
49 msg.optionalGroup = msg3 in testProto2Basics()
69 XCTAssertTrue(msg3.hasA) in testProto2Basics()
80 XCTAssertEqual(msg3.a, Int32(200)) in testProto2Basics()
81 XCTAssertTrue(msg.optionalGroup === msg3) in testProto2Basics()
115 XCTAssertTrue(msg.optionalGroup !== msg3) // New instance in testProto2Basics()
237 let msg3 = msg.optionalMessage.optionalMessage in testAutoCreation() variable
240 XCTAssertNotNil(msg3) in testAutoCreation()
254 XCTAssertTrue(msg3 === msg.optionalMessage.optionalMessage) in testAutoCreation()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Ddescriptor_pool_test.py178 msg3 = self.pool.FindMessageTypeByName(
180 self.assertEqual(nested_msg2, msg3)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java110 RecursiveMessageNano msg3 = new RecursiveMessageNano(); in testRecursiveMessageNano() local
111 msg3.id = 3; in testRecursiveMessageNano()
120 msg.repeatedRecursiveMessageNano = new RecursiveMessageNano[] { msg3 }; in testRecursiveMessageNano()