Home
last modified time | relevance | path

Searched refs:SerializeToString (Results 1 – 25 of 39) sorted by relevance

12

/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py91 self.assertEqual(golden_data, golden_message.SerializeToString())
93 self.assertEqual(golden_data, golden_copy.SerializeToString())
102 self.assertEqual(golden_data, golden_message.SerializeToString())
104 self.assertEqual(golden_data, golden_copy.SerializeToString())
113 self.assertEqual(golden_data, all_set.SerializeToString())
115 self.assertEqual(golden_data, golden_copy.SerializeToString())
124 self.assertEqual(golden_data, all_set.SerializeToString())
126 self.assertEqual(golden_data, golden_copy.SerializeToString())
146 self.assertRaises(message.EncodeError, unpickled_message.SerializeToString)
159 self.assertEqual(golden_data, golden_message.SerializeToString())
[all …]
Dunknown_fields_test.py53 self.all_fields_data = self.all_fields.SerializeToString()
98 data = self.empty_message.SerializeToString()
114 source.ParseFromString(message.SerializeToString())
120 destination.ParseFromString(message.SerializeToString())
154 item.message = message1.SerializeToString()
156 serialized = raw.SerializeToString()
163 reserialized = proto.SerializeToString()
174 message.ParseFromString(self.all_fields.SerializeToString())
194 self.message_data = self.message.SerializeToString()
226 new_message.ParseFromString(self.missing_message.SerializeToString())
Dreflection_test.py616 proto2.ParseFromString(proto.SerializeToString())
1070 serialized_prius = prius.SerializeToString()
1275 string1 = proto1.SerializeToString()
1349 string1 = proto1.SerializeToString()
1350 string2 = proto2.SerializeToString()
1452 string1 = proto1.SerializeToString()
1453 string2 = proto2.SerializeToString()
1554 proto.SerializeToString()
1559 self.assertRaises(message.EncodeError, proto.SerializeToString)
1636 serialized_pb=file_descriptor_proto.SerializeToString())
[all …]
Dmessage_factory_test.py81 serialized = msg.SerializeToString()
83 reserialized = converted.SerializeToString()
Dtest_util.py351 expected_strings.append(message.SerializeToString())
354 expected_strings.append(message.SerializeToString())
357 expected_strings.append(message.SerializeToString())
360 expected_strings.append(message.SerializeToString())
363 expected_strings.append(message.SerializeToString())
Dpython_message.py807 def SerializeToString(self): function
815 cls.SerializeToString = SerializeToString
Dcpp_message.py558 def SerializeToString(self): function
563 return self._cmsg.SerializeToString()
/external/protobuf/src/google/protobuf/
Dwire_format_unittest.cc84 source.SerializeToString(&data); in TEST()
101 source.SerializeToString(&data); in TEST()
118 source.SerializeToString(&data); in TEST()
167 source.SerializeToString(&data); in TEST()
184 source.SerializeToString(&data); in TEST()
205 source.SerializeToString(&data); in TEST()
399 source.SerializeToString(&data); in TEST()
430 ASSERT_TRUE(message_set.SerializeToString(&data)); in TEST()
519 message.SerializeToString(item->mutable_message()); in TEST()
528 message.SerializeToString(item->mutable_message()); in TEST()
[all …]
Dmessage_unittest.cc81 EXPECT_TRUE(message.SerializeToString(&str1)); in TEST()
141 message.SerializeToString(&data); in TEST()
213 EXPECT_DEBUG_DEATH(EXPECT_TRUE(message.SerializeToString(&data)), in TEST()
331 generator.SerializeToString(&buffer); in TEST()
Dunknown_field_set_unittest.cc61 all_fields_.SerializeToString(&all_fields_data_); in SetUp()
94 EXPECT_TRUE(bizarro_message.SerializeToString(&data)); in GetBizarroData()
214 empty_message_.SerializeToString(&data); in TEST_F()
326 ASSERT_TRUE(source.SerializeToString(&data)); in TEST_F()
427 empty_message.SerializeToString(&data); in TEST_F()
Dmessage_lite.h186 bool SerializeToString(string* output) const;
Dextension_set_unittest.cc430 source.SerializeToString(&data); in TEST()
443 source.SerializeToString(&data); in TEST()
454 source.SerializeToString(&data); in TEST()
475 source.SerializeToString(&data); in TEST()
1009 message.SerializeToString(&data); in TEST()
Dmessage_lite.cc290 bool MessageLite::SerializeToString(string* output) const { in SerializeToString() function in google::protobuf::MessageLite
Ddescriptor_database_unittest.cc126 file.SerializeToString(&data); in AddToDatabase()
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc273 fdp.SerializeToString(&file_descriptor_serialized_); in Generate()
416 enum_descriptor.options().SerializeToString(&options_string); in PrintEnum()
489 descriptor.options().SerializeToString(&options_string); in PrintServiceDescriptor()
515 method->options().SerializeToString(&options_string); in PrintServiceDescriptor()
626 message_descriptor.options().SerializeToString(&options_string); in PrintDescriptor()
959 descriptor.options().SerializeToString(&options_string); in PrintEnumValueDescriptor()
992 field.options().SerializeToString(&options_string); in PrintFieldDescriptor()
1130 proto.SerializeToString(&sp); in PrintSerializedPbInterval()
/external/protobuf/examples/
Dadd_person.py57 f.write(address_book.SerializeToString())
/external/protobuf/python/google/protobuf/pyext/
Dreflection_cpp2_generated_test.py79 pb2.MergeFromString(pb1.SerializeToString())
/external/protobuf/python/google/protobuf/
Dmessage.py188 def SerializeToString(self): member in Message
Ddescriptor.py796 _message.Message._BuildFile(file_descriptor_proto.SerializeToString())
799 cpp_message.BuildFile(file_descriptor_proto.SerializeToString())
/external/nanopb-c/generator/google/protobuf/
Dmessage.py184 def SerializeToString(self): member in Message
/external/protobuf/src/google/protobuf/compiler/java/
Djava_shared_code_generator.cc119 file_proto.SerializeToString(&file_data); in GenerateDescriptors()
Djava_file.cc351 file_proto.SerializeToString(&file_data); in GenerateDescriptorInitializationCodeForImmutable()
415 file_proto.SerializeToString(&file_data); in GenerateDescriptorInitializationCodeForMutable()
/external/nanopb-c/generator/google/protobuf/internal/
Dpython_message.py761 def SerializeToString(self): function
769 cls.SerializeToString = SerializeToString
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_file.cc578 file_proto.SerializeToString(&file_data); in GenerateBuildDescriptors()
/external/webrtc/src/modules/audio_processing/
Daudio_processing_impl.cc618 if (!event_msg_->SerializeToString(&event_str_)) { in WriteMessageToDebugFile()

12