/external/protobuf/python/google/protobuf/internal/ |
D | unknown_fields_test.py | 65 self.all_fields_data = self.all_fields.SerializeToString() 70 data = self.empty_message.SerializeToString() 80 self.assertEqual(0, len(message.SerializeToString())) 99 item.message = message1.SerializeToString() 101 serialized = raw.SerializeToString() 108 reserialized = proto.SerializeToString() 119 message.ParseFromString(self.all_fields.SerializeToString()) 124 self.assertEqual(b'', self.empty_message.SerializeToString()) 130 other_message.SerializeToString()) 132 other_message.SerializeToString()) [all …]
|
D | message_test.py | 120 self.assertEqual(golden_data, golden_message.SerializeToString()) 122 self.assertEqual(golden_data, golden_copy.SerializeToString()) 131 self.assertEqual(golden_data, all_set.SerializeToString()) 133 self.assertEqual(golden_data, golden_copy.SerializeToString()) 162 self.assertEqual(golden_data, golden_message.SerializeToString()) 182 self.assertEqual(golden_data, golden_message.SerializeToString()) 200 serialized = golden_message.SerializeToString() 215 self.assertEqual(golden_data, golden_message.SerializeToString()) 224 self.assertEqual(golden_data, golden_message.SerializeToString()) 234 serialized = golden_message.SerializeToString() [all …]
|
D | reflection_test.py | 626 proto2.ParseFromString(proto.SerializeToString()) 1082 serialized_prius = prius.SerializeToString() 1290 string1 = proto1.SerializeToString() 1364 string1 = proto1.SerializeToString() 1365 string2 = proto2.SerializeToString() 1467 string1 = proto1.SerializeToString() 1468 string2 = proto2.SerializeToString() 1569 proto.SerializeToString() 1574 self.assertRaises(message.EncodeError, proto.SerializeToString) 1651 serialized_pb=file_descriptor_proto.SerializeToString()) [all …]
|
D | message_factory_test.py | 85 serialized = msg.SerializeToString() 87 reserialized = converted.SerializeToString()
|
D | test_util.py | 366 expected_strings.append(message.SerializeToString()) 369 expected_strings.append(message.SerializeToString()) 372 expected_strings.append(message.SerializeToString()) 375 expected_strings.append(message.SerializeToString()) 378 expected_strings.append(message.SerializeToString())
|
/external/protobuf/src/google/protobuf/ |
D | preserve_unknown_enum_test.cc | 103 orig_message.SerializeToString(&serialized); in TEST() 110 message.SerializeToString(&serialized); in TEST() 139 orig_message.SerializeToString(&serialized); in TEST() 150 message.SerializeToString(&serialized); in TEST() 161 orig_message.SerializeToString(&serialized); in TEST() 175 message->SerializeToString(&serialized); in TEST() 185 orig_message.SerializeToString(&serialized); in TEST()
|
D | wire_format_unittest.cc | 88 source.SerializeToString(&data); in TEST() 105 source.SerializeToString(&data); in TEST() 122 source.SerializeToString(&data); in TEST() 171 source.SerializeToString(&data); in TEST() 188 source.SerializeToString(&data); in TEST() 209 source.SerializeToString(&data); in TEST() 403 source.SerializeToString(&data); in TEST() 434 ASSERT_TRUE(message_set.SerializeToString(&data)); in TEST() 523 message.SerializeToString(item->mutable_message()); in TEST() 532 message.SerializeToString(item->mutable_message()); in TEST() [all …]
|
D | no_field_presence_test.cc | 426 message.SerializeToString(&output); in TEST() 450 message.SerializeToString(&output); in TEST() 454 message.SerializeToString(&output); in TEST() 459 message.SerializeToString(&output); in TEST() 517 message.SerializeToString(&output); in TEST() 536 message.SerializeToString(&serialized); in TEST() 553 message.SerializeToString(&serialized); in TEST() 562 message.SerializeToString(&serialized); in TEST()
|
D | message_unittest.cc | 84 EXPECT_TRUE(message.SerializeToString(&str1)); in TEST() 144 message.SerializeToString(&data); in TEST() 238 EXPECT_DEBUG_DEATH(EXPECT_TRUE(message.SerializeToString(&data)), in TEST() 375 generator.SerializeToString(&buffer); in TEST()
|
D | unknown_field_set_unittest.cc | 64 all_fields_.SerializeToString(&all_fields_data_); in SetUp() 97 EXPECT_TRUE(bizarro_message.SerializeToString(&data)); in GetBizarroData() 217 empty_message_.SerializeToString(&data); in TEST_F() 329 ASSERT_TRUE(source.SerializeToString(&data)); in TEST_F() 430 empty_message.SerializeToString(&data); in TEST_F()
|
D | lite_arena_unittest.cc | 58 from->SerializeToString(&data); in TEST()
|
D | any.cc | 65 message.SerializeToString(value_->MutableNoArena( in PackFrom()
|
D | message_lite.h | 213 bool SerializeToString(string* output) const;
|
D | arena_unittest.cc | 362 arena1_message->SerializeToString(&output); in TEST() 366 arena2_message->SerializeToString(&output); in TEST() 398 arena1_message->SerializeToString(&output); in TEST() 461 arena2_message->SerializeToString(&output); in TEST() 499 arena2_message->SerializeToString(&output); in TEST() 1163 initial_message.SerializeToString(&serialized); in TEST()
|
D | extension_set_unittest.cc | 542 source.SerializeToString(&data); in TEST() 555 source.SerializeToString(&data); in TEST() 566 source.SerializeToString(&data); in TEST() 587 source.SerializeToString(&data); in TEST() 1121 message.SerializeToString(&data); in TEST()
|
/external/autotest/client/common_lib/cros/ |
D | policy.py | 111 data_proto.policy_value = settings.SerializeToString() 112 return data_proto.SerializeToString() 146 return policy_proto.SerializeToString()
|
/external/protobuf/conformance/ |
D | conformance_cpp.cc | 131 test_message.SerializeToString(response->mutable_protobuf_payload())); in DoTest() 136 GOOGLE_CHECK(test_message.SerializeToString(&proto_binary)); in DoTest() 179 response.SerializeToString(&serialized_output); in DoTestIo()
|
D | conformance_python.py | 81 response.protobuf_payload = test_message.SerializeToString() 111 serialized_response = response.SerializeToString()
|
/external/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 322 fdp.SerializeToString(&file_descriptor_serialized_); in Generate() 471 enum_descriptor.options().SerializeToString(&options_string); in PrintEnum() 544 descriptor.options().SerializeToString(&options_string); in PrintServiceDescriptor() 570 method->options().SerializeToString(&options_string); in PrintServiceDescriptor() 681 message_descriptor.options().SerializeToString(&options_string); in PrintDescriptor() 1016 descriptor.options().SerializeToString(&options_string); in PrintEnumValueDescriptor() 1049 field.options().SerializeToString(&options_string); in PrintFieldDescriptor() 1187 proto.SerializeToString(&sp); in PrintSerializedPbInterval()
|
/external/protobuf/examples/ |
D | add_person.py | 56 f.write(address_book.SerializeToString())
|
/external/nanopb-c/generator/google/protobuf/ |
D | message.py | 184 def SerializeToString(self): member in Message
|
/external/protobuf/python/google/protobuf/ |
D | message.py | 187 def SerializeToString(self): member in Message
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_shared_code_generator.cc | 123 file_proto.SerializeToString(&file_data); in GenerateDescriptors()
|
D | java_file.cc | 416 file_proto.SerializeToString(&file_data); in GenerateDescriptorInitializationCodeForImmutable() 487 file_proto.SerializeToString(&file_data); in GenerateDescriptorInitializationCodeForMutable()
|
/external/autotest/tko/ |
D | job_serializer_unittest.py | 293 out_binary.write(self.pb_job.SerializeToString()) 317 temp_binary.write(self.pb_job.SerializeToString())
|