/third_party/protobuf/python/google/protobuf/internal/ |
D | unknown_fields_test.py | 64 self.all_fields_data = self.all_fields.SerializeToString() 69 data = self.empty_message.SerializeToString() 79 self.assertEqual(self.all_fields_data, message.SerializeToString()) 98 item.message = message1.SerializeToString() 100 serialized = raw.SerializeToString() 119 reserialized = proto.SerializeToString() 130 message.ParseFromString(self.all_fields.SerializeToString()) 135 self.assertEqual(b'', self.empty_message.SerializeToString()) 141 other_message.SerializeToString()) 143 other_message.SerializeToString()) [all …]
|
D | message_test.py | 143 self.assertEqual(golden_data, golden_message.SerializeToString()) 145 self.assertEqual(golden_data, golden_copy.SerializeToString()) 155 self.assertEqual(golden_data, all_set.SerializeToString()) 157 self.assertEqual(golden_data, golden_copy.SerializeToString()) 190 golden_message.SerializeToString(deterministic=None)) 192 golden_message.SerializeToString(deterministic=False)) 194 golden_message.SerializeToString(deterministic=True)) 208 golden_message.SerializeToString(deterministic=BadArg()) 250 self.assertEqual(golden_data, golden_message.SerializeToString()) 270 self.assertEqual(golden_data, golden_message.SerializeToString()) [all …]
|
D | reflection_test.py | 408 proto2.ParseFromString(proto.SerializeToString()) 662 string1 = proto1.SerializeToString() 728 string1 = proto1.SerializeToString() 729 string2 = proto2.SerializeToString() 782 string1 = proto1.SerializeToString() 783 string2 = proto2.SerializeToString() 900 serialized = proto.SerializeToString() 1509 serialized_prius = prius.SerializeToString() 1898 proto.SerializeToString() 1906 self.assertRaises(message.EncodeError, proto.SerializeToString) [all …]
|
D | message_factory_test.py | 88 serialized = msg.SerializeToString() 90 reserialized = converted.SerializeToString()
|
D | test_util.py | 388 expected_strings.append(message.SerializeToString()) 391 expected_strings.append(message.SerializeToString()) 394 expected_strings.append(message.SerializeToString()) 397 expected_strings.append(message.SerializeToString()) 400 expected_strings.append(message.SerializeToString())
|
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
D | message_test.py | 83 self.assertEqual(golden_data, golden_message.SerializeToString()) 85 self.assertEqual(golden_data, golden_copy.SerializeToString()) 94 self.assertEqual(golden_data, golden_message.SerializeToString()) 96 self.assertEqual(golden_data, golden_copy.SerializeToString()) 105 self.assertEqual(golden_data, all_set.SerializeToString()) 107 self.assertEqual(golden_data, golden_copy.SerializeToString()) 116 self.assertEqual(golden_data, all_set.SerializeToString()) 118 self.assertEqual(golden_data, golden_copy.SerializeToString()) 137 self.assertRaises(message.EncodeError, unpickled_message.SerializeToString) 150 self.assertEqual(golden_data, golden_message.SerializeToString()) [all …]
|
D | test_util.py | 347 expected_strings.append(message.SerializeToString()) 350 expected_strings.append(message.SerializeToString()) 353 expected_strings.append(message.SerializeToString()) 356 expected_strings.append(message.SerializeToString()) 359 expected_strings.append(message.SerializeToString())
|
/third_party/node/deps/v8/src/torque/ls/ |
D | json.cc | 18 void SerializeToString(std::stringstream& str, const JsonValue& value) { in SerializeToString() function 37 SerializeToString(str, pair.second); in SerializeToString() 47 SerializeToString(str, element); in SerializeToString() 60 std::string SerializeToString(const JsonValue& value) { in SerializeToString() function 62 SerializeToString(result, value); in SerializeToString()
|
/third_party/protobuf/src/google/protobuf/ |
D | preserve_unknown_enum_test.cc | 94 orig_message.SerializeToString(&serialized); in TEST() 101 message.SerializeToString(&serialized); in TEST() 133 orig_message.SerializeToString(&serialized); in TEST() 144 message.SerializeToString(&serialized); in TEST() 155 orig_message.SerializeToString(&serialized); in TEST() 172 message->SerializeToString(&serialized); in TEST() 182 orig_message.SerializeToString(&serialized); in TEST()
|
D | no_field_presence_test.cc | 425 message.SerializeToString(&output); in TEST() 449 message.SerializeToString(&output); in TEST() 453 message.SerializeToString(&output); in TEST() 458 message.SerializeToString(&output); in TEST() 515 message.SerializeToString(&output); in TEST() 534 message.SerializeToString(&serialized); in TEST() 551 message.SerializeToString(&serialized); in TEST() 561 message.SerializeToString(&serialized); in TEST()
|
D | wire_format_unittest.cc | 96 source.SerializeToString(&data); in TEST() 113 source.SerializeToString(&data); in TEST() 130 source.SerializeToString(&data); in TEST() 179 source.SerializeToString(&data); in TEST() 196 source.SerializeToString(&data); in TEST() 408 source.SerializeToString(&data); in TEST() 443 ASSERT_TRUE(message_set.SerializeToString(&data)); in TEST() 538 message.SerializeToString(item->mutable_message()); in TEST() 548 message.SerializeToString(item->mutable_message()); in TEST() 558 ASSERT_TRUE(raw.SerializeToString(&data)); in TEST() [all …]
|
D | lite_unittest.cc | 201 generator.SerializeToString(&buffer); in TEST() 661 from.SerializeToString(&data); in TEST() 673 to.SerializeToString(&data); in TEST() 871 EXPECT_TRUE(message1.SerializeToString(&serialized)); in TEST() 913 EXPECT_TRUE(original.SerializeToString(&serialized)); in TEST() 929 EXPECT_TRUE(original.SerializeToString(&serialized)); in TEST() 945 EXPECT_TRUE(original.SerializeToString(&serialized)); in TEST() 961 EXPECT_TRUE(original.SerializeToString(&serialized)); in TEST() 977 EXPECT_TRUE(original.SerializeToString(&serialized)); in TEST() 1017 ASSERT_TRUE(packed.SerializeToString(&serialized)); in TEST() [all …]
|
D | proto3_arena_unittest.cc | 207 msg.SerializeToString(&serialized); in TEST() 212 msg.SerializeToString(&serialized); in TEST() 240 msg.SerializeToString(&serialized); in TEST() 245 msg.SerializeToString(&serialized); in TEST() 414 msg.SerializeToString(&serialized); in TEST()
|
D | unknown_field_set_unittest.cc | 68 all_fields_.SerializeToString(&all_fields_data_); in SetUp() 101 EXPECT_TRUE(bizarro_message.SerializeToString(&data)); in GetBizarroData() 224 empty_message_.SerializeToString(&data); in TEST_F() 372 ASSERT_TRUE(source.SerializeToString(&data)); in TEST_F() 473 empty_message.SerializeToString(&data); in TEST_F()
|
D | any.cc | 53 message.SerializeToString(value_->MutableNoArena( in PackFrom()
|
D | lite_arena_unittest.cc | 66 from->SerializeToString(&data); in TEST_F()
|
D | any_lite.cc | 64 message.SerializeToString(value_->MutableNoArena( in InternalPackFrom()
|
/third_party/protobuf/conformance/ |
D | conformance_python.py | 110 response.protobuf_payload = failure_set.SerializeToString() 156 response.protobuf_payload = test_message.SerializeToString() 194 serialized_response = response.SerializeToString()
|
D | conformance_cpp.cc | 174 GOOGLE_CHECK(test_message->SerializeToString( in DoTest() 181 GOOGLE_CHECK(test_message->SerializeToString(&proto_binary)); in DoTest() 232 response.SerializeToString(&serialized_output); in DoTestIo()
|
/third_party/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 350 fdp.SerializeToString(&file_descriptor_serialized_); in Generate() 543 enum_descriptor.options().SerializeToString(&options_string); in PrintEnum() 629 descriptor.options().SerializeToString(&options_string); in PrintServiceDescriptor() 655 method->options().SerializeToString(&options_string); in PrintServiceDescriptor() 772 message_descriptor.options().SerializeToString(&options_string); in PrintDescriptor() 1148 descriptor.options().SerializeToString(&options_string); in PrintEnumValueDescriptor() 1176 field.options().SerializeToString(&options_string); in PrintFieldDescriptor() 1317 proto.SerializeToString(&sp); in PrintSerializedPbInterval()
|
/third_party/spirv-tools/test/fuzz/ |
D | fuzzer_replayer_test.cpp | 1717 fuzzer.GetTransformationSequence().SerializeToString( in RunFuzzerAndReplayer() 1719 replayer_result.applied_transformations.SerializeToString( in RunFuzzerAndReplayer()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
D | fuzzer_replayer_test.cpp | 1717 fuzzer.GetTransformationSequence().SerializeToString( in RunFuzzerAndReplayer() 1719 replayer_result.applied_transformations.SerializeToString( in RunFuzzerAndReplayer()
|
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/ |
D | fuzzer_replayer_test.cpp | 1717 fuzzer.GetTransformationSequence().SerializeToString( in RunFuzzerAndReplayer() 1719 replayer_result.applied_transformations.SerializeToString( in RunFuzzerAndReplayer()
|
/third_party/protobuf/examples/ |
D | add_person.py | 63 f.write(address_book.SerializeToString())
|
/third_party/protobuf/python/google/protobuf/ |
D | message.py | 201 def SerializeToString(self, **kwargs): member in Message
|