Home
last modified time | relevance | path

Searched refs:MergeFromString (Results 1 – 15 of 15) sorted by relevance

/third_party/protobuf/python/google/protobuf/
Dmessage.py160 def MergeFromString(self, serialized): member in Message
199 return self.MergeFromString(serialized)
Dtext_format.py410 packed_message.MergeFromString(message.value)
/third_party/protobuf/conformance/
Dbinary_json_conformance_suite.cc767 test_message->MergeFromString(expected_proto); in TestValidDataForType()
789 test_message->MergeFromString(expected_proto); in TestValidDataForType()
850 test_message->MergeFromString(default_proto_packed_expected); in TestValidDataForType()
899 test_message->MergeFromString(expected_proto); in TestValidDataForType()
976 test_message->MergeFromString(proto); in TestValidDataForMapType()
989 test_message->MergeFromString(proto); in TestValidDataForMapType()
1002 test_message->MergeFromString(proto); in TestValidDataForMapType()
1015 test_message->MergeFromString(proto); in TestValidDataForMapType()
1032 test_message->MergeFromString(proto2); in TestValidDataForMapType()
1045 test_message->MergeFromString(proto); in TestValidDataForMapType()
[all …]
/third_party/protobuf/python/google/protobuf/internal/
Dreflection_test.py892 bytes_read = proto.optional_nested_message.MergeFromString(b'')
904 proto2.MergeFromString(serialized))
2022 bytes_read = raw.MergeFromString(serialized)
2033 bytes_read = message2.MergeFromString(raw.item[0].message)
2051 message2.MergeFromString(badbytes)
2559 second_proto.MergeFromString(serialized))
2570 second_proto.MergeFromString(serialized))
2580 second_proto.MergeFromString(serialized))
2590 second_proto.MergeFromString(serialized))
2682 bytes_parsed = second_proto.MergeFromString(serialized)
[all …]
Dunknown_fields_test.py104 proto.MergeFromString(serialized)
121 new_raw.MergeFromString(reserialized)
Dpython_message.py812 message.MergeFromString(s)
1135 def MergeFromString(self, serialized): function
1155 cls.MergeFromString = MergeFromString
Dmessage_test.py687 message.MergeFromString(pb)
841 m1.MergeFromString(m2.SerializeToString())
879 m1.MergeFromString(b'') # field state should not change
2106 msg.MergeFromString(msg2.SerializeToString())
2489 msg.MergeFromString(serialized)
2499 msg2.MergeFromString(serialized)
2549 msg2.MergeFromString(serialized)
/third_party/protobuf/src/google/protobuf/
Dtext_format.h463 static bool MergeFromString(const std::string& input, Message* output);
538 bool MergeFromString(const std::string& input, Message* output);
Dmessage_lite.h354 bool MergeFromString(const std::string& data);
Dmessage_lite.cc332 bool MessageLite::MergeFromString(const std::string& data) { in MergeFromString() function in google::protobuf::MessageLite
Ddescriptor_unittest.cc5932 TextFormat::MergeFromString( in TEST_F()
5943 TextFormat::MergeFromString( in TEST_F()
5954 TextFormat::MergeFromString( in TEST_F()
5965 TextFormat::MergeFromString( in TEST_F()
5977 TextFormat::MergeFromString( in TEST_F()
6145 TextFormat::MergeFromString( in TEST_F()
6165 TextFormat::MergeFromString( in TEST_F()
6181 TextFormat::MergeFromString( in TEST_F()
6295 TextFormat::MergeFromString( in TEST_F()
Dtext_format.cc1454 bool TextFormat::Parser::MergeFromString(const std::string& input, in MergeFromString() function in google::protobuf::TextFormat::Parser
1505 /* static */ bool TextFormat::MergeFromString(const std::string& input, in MergeFromString() function in google::protobuf::TextFormat
1507 return Parser().MergeFromString(input, output); in MergeFromString()
Dtext_format_unittest.cc1842 EXPECT_TRUE(parser.MergeFromString("a: 1 b: 2 c: 3 a: 4", &message)); in TEST_F()
1849 EXPECT_TRUE(parser.MergeFromString("c: 1 c: 2", &message)); in TEST_F()
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc1942 static PyObject* MergeFromString(CMessage* self, PyObject* arg) { in MergeFromString() function
1993 return MergeFromString(self, arg); in ParseFromString()
2394 ScopedPyObjectPtr py_length(MergeFromString(cmsg, serialized)); in FromString()
2540 { "MergeFromString", (PyCFunction)MergeFromString, METH_O,
/third_party/protobuf/src/google/protobuf/util/
Dmessage_differencer_unittest.cc1789 TextFormat::MergeFromString("rm { a: 11\n b: 12 }", &msg1); in TEST()
1790 TextFormat::MergeFromString("rm { a: 11\n b: 13 }", &msg2); in TEST()
1800 TextFormat::MergeFromString("rm { a: 11\n m { a: 12\n b: 13\n } }", &msg1); in TEST()
1801 TextFormat::MergeFromString("rm { a: 11\n m { a: 12\n b: 14\n } }", &msg2); in TEST()