Home
last modified time | relevance | path

Searched refs:other_message (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Dunknown_fields_test.py125 other_message = unittest_pb2.TestAllTypes()
126 other_message.optional_string = 'discard'
128 other_message.SerializeToString())
130 other_message.SerializeToString())
142 other_message.SerializeToString())
/external/protobuf/src/google/protobuf/
Dunknown_field_set_unittest.cc268 unittest::TestEmptyMessage other_message; in TEST_F() local
269 ASSERT_TRUE(other_message.ParseFromString(GetBizarroData())); in TEST_F()
272 EXPECT_GT(other_message.unknown_fields().field_count(), 0); in TEST_F()
274 const std::string other_debug_string = other_message.DebugString(); in TEST_F()
277 empty_message_.Swap(&other_message); in TEST_F()
278 EXPECT_EQ(debug_string, other_message.DebugString()); in TEST_F()
Dextension_set.cc976 const MessageLite& other_message = other_repeated_message->Get(i); in InternalExtensionMergeFrom() local
982 target = other_message.New(arena_); in InternalExtensionMergeFrom()
985 target->CheckTypeAndMergeFrom(other_message); in InternalExtensionMergeFrom()
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc1829 CMessage* other_message; in MergeFrom() local
1839 other_message = reinterpret_cast<CMessage*>(arg); in MergeFrom()
1840 if (other_message->message->GetDescriptor() != in MergeFrom()
1846 other_message->message->GetDescriptor()->full_name().c_str()); in MergeFrom()
1851 self->message->MergeFrom(*other_message->message); in MergeFrom()
1862 CMessage* other_message; in CopyFrom() local
1872 other_message = reinterpret_cast<CMessage*>(arg); in CopyFrom()
1874 if (self == other_message) { in CopyFrom()
1878 if (other_message->message->GetDescriptor() != in CopyFrom()
1884 other_message->message->GetDescriptor()->full_name().c_str()); in CopyFrom()
[all …]
Dmap_container.cc341 const Message* other_message = other_map->parent->message; in MergeFrom() local
343 const Reflection* other_reflection = other_message->GetReflection(); in MergeFrom()
347 other_reflection->GetMapData(*other_message, in MergeFrom()