Home
last modified time | relevance | path

Searched refs:submessage (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dany_test.cc39 protobuf_unittest::TestAny submessage; in TEST() local
40 submessage.set_int32_value(12345); in TEST()
42 message.mutable_any_value()->PackFrom(submessage); in TEST()
48 ASSERT_TRUE(message.any_value().UnpackTo(&submessage)); in TEST()
49 EXPECT_EQ(12345, submessage.int32_value()); in TEST()
54 protobuf_unittest::TestAny submessage; in TEST() local
55 submessage.set_int32_value(12345); in TEST()
57 any.PackFrom(submessage); in TEST()
66 ASSERT_TRUE(any.UnpackTo(&submessage)); in TEST()
67 EXPECT_EQ(12345, submessage.int32_value()); in TEST()
[all …]
Darena_unittest.cc1087 TestAllTypes::NestedMessage* submessage = in TEST() local
1093 EXPECT_EQ(submessage_expected, submessage); in TEST()
1094 EXPECT_EQ(&arena, submessage->GetArena()); in TEST()
1097 submessage = static_cast<TestAllTypes::NestedMessage*>( in TEST()
1101 EXPECT_EQ(submessage_expected, submessage); in TEST()
1102 EXPECT_EQ(&arena, submessage->GetArena()); in TEST()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dwell_known_types_test.py615 submessage = any_test_pb2.TestAny()
616 submessage.int_value = 12345
618 msg.Pack(submessage)
622 submessage = any_test_pb2.TestAny()
623 submessage.int_value = 12345
626 msg.Pack(submessage, 'type.myservice.com')
628 'type.myservice.com/%s' % submessage.DESCRIPTOR.full_name)
630 msg.Pack(submessage, 'type.myservice.com/')
632 'type.myservice.com/%s' % submessage.DESCRIPTOR.full_name)
634 msg.Pack(submessage, '')
[all …]
Dmore_extensions.proto39 optional ExtendedMessage submessage = 1; field
Dreflection_test.py1201 self.assertEqual(0, toplevel.submessage.Extensions[
1204 toplevel.submessage.Extensions[
1206 self.assertEqual(23, toplevel.submessage.Extensions[
1213 self.assertEqual([], toplevel.submessage.Extensions[
1216 toplevel.submessage.Extensions[
1218 self.assertEqual([23], toplevel.submessage.Extensions[
1225 self.assertEqual(0, toplevel.submessage.Extensions[
1228 toplevel.submessage.Extensions[
1230 self.assertEqual(23, toplevel.submessage.Extensions[
1237 self.assertEqual(0, len(toplevel.submessage.Extensions[
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBMessageTests.m641 // submessage is mutated.
736 // Call clear on an intermediate submessage should cause it to get recreated
751 // Should be able to retain autocreated submessage while the creator is
781 // Setting submessage to nil should cause it to lose its creator.
793 // Clearing submessage (set has == NO) should NOT cause it to lose its
804 // Setting a value should cause the submessage to appear to its creator.
817 // Clearing an unset field should not cause the submessage to appear to its
838 // Test skipping over an autocreated submessage and ensure it gets unset.
894 // Setting autocreated submessage to another value should cause the old one to
910 // submessage to become visible.
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/docs/swift/
DDesignDoc.md150 or a type that eventually includes a submessage of the same type.)