Home
last modified time | relevance | path

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

/third_party/protobuf/src/google/protobuf/
Dany_test.cc41 protobuf_unittest::TestAny submessage; in TEST() local
42 submessage.set_int32_value(12345); in TEST()
44 message.mutable_any_value()->PackFrom(submessage); in TEST()
50 submessage.Clear(); in TEST()
51 ASSERT_TRUE(message.any_value().UnpackTo(&submessage)); in TEST()
52 EXPECT_EQ(12345, submessage.int32_value()); in TEST()
68 protobuf_unittest::TestAny submessage; in TEST() local
69 submessage.set_int32_value(12345); in TEST()
71 any.PackFrom(submessage); in TEST()
80 submessage.Clear(); in TEST()
[all …]
Dgenerated_message_util.h150 MessageLite* submessage,
165 T* GetOwnedMessage(Arena* message_arena, T* submessage, in GetOwnedMessage() argument
170 message_arena, reinterpret_cast<MessageLite*>(submessage), in GetOwnedMessage()
Dgenerated_message_util.cc747 MessageLite* submessage, in GetOwnedMessageInternal() argument
749 GOOGLE_DCHECK(submessage->GetArena() == submessage_arena); in GetOwnedMessageInternal()
752 message_arena->Own(submessage); in GetOwnedMessageInternal()
753 return submessage; in GetOwnedMessageInternal()
755 MessageLite* ret = submessage->New(message_arena); in GetOwnedMessageInternal()
756 ret->CheckTypeAndMergeFrom(*submessage); in GetOwnedMessageInternal()
Darena_unittest.cc1074 TestAllTypes::NestedMessage* submessage = in TEST() local
1080 EXPECT_EQ(submessage_expected, submessage); in TEST()
1081 EXPECT_EQ(&arena, submessage->GetArena()); in TEST()
1085 submessage = static_cast<TestAllTypes::NestedMessage*>( in TEST()
1089 EXPECT_EQ(submessage_expected, submessage); in TEST()
1090 EXPECT_EQ(&arena, submessage->GetArena()); in TEST()
Dgenerated_message_table_driven_lite.h205 MessageLite** submessage = Raw<MessageLite*>(msg, offset); in ResetOneofField() local
208 *submessage = prototype->New(arena); in ResetOneofField()
/third_party/protobuf/python/google/protobuf/internal/
Dwell_known_types_test.py974 submessage = any_test_pb2.TestAny()
975 submessage.int_value = 12345
977 msg.Pack(submessage)
981 submessage = any_test_pb2.TestAny()
982 submessage.int_value = 12345
985 msg.Pack(submessage, 'type.myservice.com')
987 'type.myservice.com/%s' % submessage.DESCRIPTOR.full_name)
989 msg.Pack(submessage, 'type.myservice.com/')
991 'type.myservice.com/%s' % submessage.DESCRIPTOR.full_name)
993 msg.Pack(submessage, '')
[all …]
Dmore_extensions.proto39 optional ExtendedMessage submessage = 1; field
Dreflection_test.py1706 self.assertEqual(0, toplevel.submessage.Extensions[
1709 toplevel.submessage.Extensions[
1711 self.assertEqual(23, toplevel.submessage.Extensions[
1718 self.assertEqual([], toplevel.submessage.Extensions[
1721 toplevel.submessage.Extensions[
1723 self.assertEqual([23], toplevel.submessage.Extensions[
1730 self.assertEqual(0, toplevel.submessage.Extensions[
1733 toplevel.submessage.Extensions[
1735 self.assertEqual(23, toplevel.submessage.Extensions[
1742 self.assertEqual(0, len(toplevel.submessage.Extensions[
[all …]
Dmessage_test.py1428 self.assertEqual(0, msg1.submessage.Extensions[
1431 msg2.submessage.Extensions[
1436 self.assertEqual(123, msg1.submessage.Extensions[
/third_party/gstreamer/gstplugins_bad/gst/rtmp2/rtmp/
Drtmpconnection.c777 GstBuffer *submessage; in gst_rtmp_connection_handle_aggregate() local
795 submessage = gst_buffer_copy_region (buffer, GST_BUFFER_COPY_FLAGS | in gst_rtmp_connection_handle_aggregate()
799 GST_BUFFER_DTS (submessage) = GST_BUFFER_DTS (buffer); in gst_rtmp_connection_handle_aggregate()
800 GST_BUFFER_OFFSET (submessage) = GST_BUFFER_OFFSET (buffer) + pos; in gst_rtmp_connection_handle_aggregate()
801 GST_BUFFER_OFFSET_END (submessage) = in gst_rtmp_connection_handle_aggregate()
802 GST_BUFFER_OFFSET (submessage) + header.total_size; in gst_rtmp_connection_handle_aggregate()
804 submeta = gst_buffer_get_rtmp_meta (submessage); in gst_rtmp_connection_handle_aggregate()
816 GST_BUFFER_DTS (submessage) += ts_offset * GST_MSECOND; in gst_rtmp_connection_handle_aggregate()
817 GST_BUFFER_FLAG_UNSET (submessage, GST_BUFFER_FLAG_DISCONT); in gst_rtmp_connection_handle_aggregate()
820 gst_rtmp_buffer_dump (submessage, "<<< submessage"); in gst_rtmp_connection_handle_aggregate()
[all …]
/third_party/python/Lib/test/test_email/data/
Dmsg_34.txt17 A submessage
/third_party/protobuf/python/compatibility_tests/v2.5.0/protos/python/google/protobuf/internal/
Dmore_extensions.proto38 optional ExtendedMessage submessage = 1; field
/third_party/protobuf/objectivec/Tests/
DGPBMessageTests.m666 // submessage is mutated.
761 // Call clear on an intermediate submessage should cause it to get recreated
776 // Should be able to retain autocreated submessage while the creator is
806 // Setting submessage to nil should cause it to lose its creator.
818 // Clearing submessage (set has == NO) should NOT cause it to lose its
829 // Setting a value should cause the submessage to appear to its creator.
842 // Clearing an unset field should not cause the submessage to appear to its
863 // Test skipping over an autocreated submessage and ensure it gets unset.
919 // Setting autocreated submessage to another value should cause the old one to
935 // submessage to become visible.
[all …]
Dunittest_objc.proto109 // super is used as submessage above
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.h219 bool SetSubmessage(CMessage* self, CMessage* submessage);
Dmessage.cc2576 bool SetSubmessage(CMessage* self, CMessage* submessage) { in SetSubmessage() argument
2580 (*self->child_submessages)[submessage->message] = submessage; in SetSubmessage()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DMessageSchema.java991 Object submessage = UnsafeUtil.getObject(message, offset); in hashCode() local
992 if (submessage != null) { in hashCode()
993 protoHash = submessage.hashCode(); in hashCode()
1023 Object submessage = UnsafeUtil.getObject(message, offset); in hashCode() local
1024 if (submessage != null) { in hashCode()
1025 protoHash = submessage.hashCode(); in hashCode()
1117 Object submessage = UnsafeUtil.getObject(message, offset); in hashCode() local
1118 hashCode = (53 * hashCode) + submessage.hashCode(); in hashCode()
1158 Object submessage = UnsafeUtil.getObject(message, offset); in hashCode() local
1159 hashCode = (53 * hashCode) + submessage.hashCode(); in hashCode()
/third_party/protobuf/
DCHANGES.txt161 * assigning 'nil' to submessage should clear the field. (#7397)