/third_party/protobuf/src/google/protobuf/ |
D | lite_unittest.cc | 73 std::string data = message.SerializeAsString(); in SetAllTypesInEmptyMessageUnknownFields() 85 std::string data = message.SerializeAsString(); in SetSomeTypesInEmptyMessageUnknownFields() 97 data = message.SerializeAsString(); in TEST() 116 std::string extensions_data = message.SerializeAsString(); in TEST() 136 packed_data = message.SerializeAsString(); in TEST() 152 std::string packed_extensions_data = message.SerializeAsString(); in TEST() 231 data = message.SerializeAsString(); in TEST() 234 data = empty_message.SerializeAsString(); in TEST() 236 data = message2.SerializeAsString(); in TEST() 251 data = message.SerializeAsString(); in TEST() [all …]
|
D | drop_unknown_fields_test.cc | 51 ASSERT_TRUE(foo.ParseFromString(foo_with_extra_fields.SerializeAsString())); in TEST() 57 ASSERT_TRUE(foo_with_extra_fields.ParseFromString(foo.SerializeAsString())); in TEST() 72 ASSERT_TRUE(foo->ParseFromString(foo_with_extra_fields.SerializeAsString())); in TEST() 75 ASSERT_TRUE(foo_with_extra_fields.ParseFromString(foo->SerializeAsString())); in TEST()
|
D | any_test.cc | 46 std::string data = message.SerializeAsString(); in TEST() 75 std::string data = message.SerializeAsString(); in TEST() 111 ASSERT_TRUE(any.ParseFromString(any.SerializeAsString())); in TEST() 117 ASSERT_TRUE(message.ParseFromString(message.SerializeAsString())); in TEST()
|
D | descriptor_database_unittest.cc | 497 std::string data1 = file1.SerializeAsString(); in TEST() 500 std::string data2 = file2b.SerializeAsString() + file2a.SerializeAsString(); in TEST()
|
D | preserve_unknown_enum_test.cc | 111 std::string serialized = orig_message.SerializeAsString(); in TEST() 122 serialized = message->SerializeAsString(); in TEST()
|
D | extension_set_unittest.cc | 660 EXPECT_EQ(unpacked.SerializeAsString().size(), in TEST() 661 destination.SerializeAsString().size()); in TEST() 662 EXPECT_TRUE(EqualsToSerialized(unpacked, destination.SerializeAsString())); in TEST() 684 EXPECT_EQ(packed.SerializeAsString().size(), in TEST() 685 destination.SerializeAsString().size()); in TEST() 686 EXPECT_TRUE(EqualsToSerialized(packed, destination.SerializeAsString())); in TEST() 1278 EqualsToSerialized(dynamic_extension, message.SerializeAsString())); in TEST()
|
D | proto3_arena_lite_unittest.cc | 116 arena_message->ParseFromString(original.SerializeAsString()); in TEST()
|
D | wire_format_unittest.cc | 145 std::string data = source.SerializeAsString(); in TEST() 161 std::string data = source.SerializeAsString(); in TEST() 856 EXPECT_TRUE(msg2.ParseFromString(msg1.SerializeAsString())); in TEST() 1352 std::string wire_buffer = input.SerializeAsString(); in TEST_F() 1366 EXPECT_EQ(wire_buffer, output.SerializeAsString()); in TEST_F()
|
D | arena_unittest.cc | 306 arena_message->ParseFromString(original.SerializeAsString()); in TEST() 323 arena_message->ParseFromString(original.SerializeAsString()); in TEST() 326 copied.ParseFromString(arena_message->SerializeAsString()); in TEST() 334 copied.ParseFromString(arena_message->SerializeAsString()); in TEST() 343 copied.ParseFromString(arena_message_2->SerializeAsString()); in TEST()
|
D | proto3_arena_unittest.cc | 121 arena_message->ParseFromString(original.SerializeAsString()); in TEST() 131 arena_message->ParseFromString(original.SerializeAsString()); in TEST()
|
D | message_unittest.inc | 108 EXPECT_TRUE(message.SerializeAsString() == str1); 326 std::string data = message.SerializeAsString(); 347 std::string data = message.SerializeAsString();
|
D | message_lite.h | 389 std::string SerializeAsString() const;
|
D | proto3_lite_unittest.inc | 117 msg.ParseFromString(original.SerializeAsString());
|
D | message_lite.cc | 497 std::string MessageLite::SerializeAsString() const { in SerializeAsString() function in google::protobuf::MessageLite
|
/third_party/protobuf/benchmarks/util/ |
D | proto3_data_stripper.cc | 64 dataset.set_payload(i, message->SerializeAsString()); in main() 68 ofs << dataset.SerializeAsString(); in main()
|
D | gogo_data_scrubber.cc | 64 dataset.set_payload(i, message->SerializeAsString()); in main() 68 ofs << dataset.SerializeAsString(); in main()
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
D | protostream_objectsource_test.cc | 858 nested_any.set_value(m.SerializeAsString()); in TEST_P() 860 any->set_value(nested_any.SerializeAsString()); in TEST_P() 890 second_nested_any.set_value(m.SerializeAsString()); in TEST_P() 891 nested_any.set_value(second_nested_any.SerializeAsString()); in TEST_P() 892 any->set_value(nested_any.SerializeAsString()); in TEST_P() 939 any->set_value(m.SerializeAsString()); in TEST_P() 955 any->set_value(m.SerializeAsString()); in TEST_P() 971 any->set_value(m.SerializeAsString()); in TEST_P()
|
D | protostream_objectwriter_test.cc | 1892 any_type->set_value(d.SerializeAsString()); in TEST_P() 1914 nested_any.set_value(m.SerializeAsString()); in TEST_P() 1916 any->set_value(nested_any.SerializeAsString()); in TEST_P() 1945 second_nested_any.set_value(m.SerializeAsString()); in TEST_P() 1947 nested_any.set_value(second_nested_any.SerializeAsString()); in TEST_P() 1948 any->set_value(nested_any.SerializeAsString()); in TEST_P()
|
/third_party/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 443 m["options"] = OptionsValue(file_->options().SerializeAsString()); in PrintFileDescriptor() 800 OptionsValue(desc->options().SerializeAsString()); in PrintDescriptor() 1341 std::string file_options = OptionsValue(file_->options().SerializeAsString()); in FixAllDescriptorOptions() 1363 std::string oneof_options = OptionsValue(oneof.options().SerializeAsString()); in FixOptionsForOneof() 1377 OptionsValue(enum_descriptor.options().SerializeAsString()); in FixOptionsForEnum() 1384 OptionsValue(value_descriptor.options().SerializeAsString()); in FixOptionsForEnum() 1397 std::string field_options = OptionsValue(field.options().SerializeAsString()); in FixOptionsForField() 1443 OptionsValue(descriptor.options().SerializeAsString()); in FixOptionsForMessage()
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | subprocess.cc | 170 std::string input_data = input.SerializeAsString(); in Communicate() 371 std::string input_data = input.SerializeAsString(); in Communicate()
|
/third_party/protobuf/docs/ |
D | field_presence.md | 170 Send(m_a.SerializeAsString()); // to client B 176 Send(m_b.SerializeAsString()); // to client A 183 Send(m_a.SerializeAsString()); // to client B 189 Send(m_b.SerializeAsString()); // to client A
|
/third_party/protobuf/src/google/protobuf/util/ |
D | json_util.cc | 251 message.SerializeAsString(), output, options); in MessageToJsonString()
|
/third_party/protobuf/conformance/ |
D | conformance_test.cc | 232 const string equivalent_wire_format = reference_message->SerializeAsString(); in RunValidInputTest()
|
D | binary_json_conformance_suite.cc | 497 input, test_name, input.SerializeAsString()); in RunValidJsonTestWithProtobufInput() 555 RunValidProtobufTest(test_name, level, input->SerializeAsString(), in RunValidProtobufTestWithMessage() 642 prototype, test_name, payload_message.SerializeAsString()); in ExpectSerializeFailureForJson() 1293 message.SerializeAsString(), is_proto3); in TestUnknownMessage()
|
/third_party/node/deps/v8/src/libplatform/tracing/ |
D | tracing-controller.cc | 199 ds_config->set_track_event_config_raw(te_config.SerializeAsString()); in StartTracing()
|