Home
last modified time | relevance | path

Searched refs:SerializeAsString (Results 1 – 25 of 28) sorted by relevance

12

/external/protobuf/src/google/protobuf/
Dlite_unittest.cc74 string data = message.SerializeAsString(); in SetAllTypesInEmptyMessageUnknownFields()
86 string data = message.SerializeAsString(); in SetSomeTypesInEmptyMessageUnknownFields()
106 data = message.SerializeAsString(); in main()
122 string extensions_data = message.SerializeAsString(); in main()
138 packed_data = message.SerializeAsString(); in main()
154 string packed_extensions_data = message.SerializeAsString(); in main()
224 data = message.SerializeAsString(); in main()
227 data = empty_message.SerializeAsString(); in main()
229 data = message2.SerializeAsString(); in main()
240 data = message.SerializeAsString(); in main()
[all …]
Ddrop_unknown_fields_test.cc53 ASSERT_TRUE(foo.ParseFromString(foo_with_extra_fields.SerializeAsString())); in TEST()
61 ASSERT_TRUE(foo_with_extra_fields.ParseFromString(foo.SerializeAsString())); in TEST()
77 ASSERT_TRUE(foo->ParseFromString(foo_with_extra_fields.SerializeAsString())); in TEST()
80 ASSERT_TRUE(foo_with_extra_fields.ParseFromString(foo->SerializeAsString())); in TEST()
Dany_test.cc44 string data = message.SerializeAsString(); in TEST()
61 string data = message.SerializeAsString(); in TEST()
75 ASSERT_TRUE(any.ParseFromString(any.SerializeAsString())); in TEST()
81 ASSERT_TRUE(message.ParseFromString(message.SerializeAsString())); in TEST()
Dproto3_arena_unittest.cc128 arena_message->ParseFromString(original.SerializeAsString()); in TEST()
138 arena_message->ParseFromString(original.SerializeAsString()); in TEST()
Ddescriptor_database_unittest.cc500 string data1 = file1.SerializeAsString(); in TEST()
503 string data2 = file2b.SerializeAsString() + file2a.SerializeAsString(); in TEST()
Dpreserve_unknown_enum_test.cc120 string serialized = orig_message.SerializeAsString(); in TEST()
128 serialized = message->SerializeAsString(); in TEST()
Dmessage_lite.h228 string SerializeAsString() const;
Dproto3_lite_unittest.cc127 msg.ParseFromString(original.SerializeAsString()); in TEST()
Dwire_format_unittest.cc137 string data = source.SerializeAsString(); in TEST()
153 string data = source.SerializeAsString(); in TEST()
769 EXPECT_TRUE(msg2.ParseFromString(msg1.SerializeAsString())); in TEST()
1245 string wire_buffer = input.SerializeAsString(); in TEST_F()
1259 EXPECT_EQ(wire_buffer, output.SerializeAsString()); in TEST_F()
Dextension_set_unittest.cc573 EXPECT_TRUE(unpacked.SerializeAsString() == destination.SerializeAsString()); in TEST()
594 EXPECT_TRUE(packed.SerializeAsString() == destination.SerializeAsString()); in TEST()
1158 EXPECT_TRUE(message.SerializeAsString() == data); in TEST()
Dproto3_arena_lite_unittest.cc128 arena_message->ParseFromString(original.SerializeAsString()); in TEST()
Darena_unittest.cc252 arena_message->ParseFromString(original.SerializeAsString()); in TEST()
269 arena_message->ParseFromString(original.SerializeAsString()); in TEST()
272 copied.ParseFromString(arena_message->SerializeAsString()); in TEST()
280 copied.ParseFromString(arena_message->SerializeAsString()); in TEST()
289 copied.ParseFromString(arena_message_2->SerializeAsString()); in TEST()
Dmessage_lite.cc335 string MessageLite::SerializeAsString() const { in SerializeAsString() function in google::protobuf::MessageLite
Dmessage_unittest.cc98 EXPECT_TRUE(message.SerializeAsString() == str1); in TEST()
Ddescriptor.cc3723 options->ParseFromString(orig_options.SerializeAsString()); in AllocateOptionsImpl()
3793 return existing_proto.SerializeAsString() == proto.SerializeAsString(); in ExistingFileMatchesProto()
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/
Dprotobufwireadaptertest.cc91 std::string outer_string = message.SerializeAsString(); in ExpectSend()
135 outer.set_payload(proto.SerializeAsString()); in TEST_F()
156 outer.set_payload(proto.SerializeAsString()); in TEST_F()
190 outer.set_payload(proto.SerializeAsString()); in TEST_F()
226 outer.set_payload(proto.SerializeAsString()); in TEST_F()
246 outer.set_payload(proto.SerializeAsString()); in TEST_F()
271 outer.set_payload(proto.SerializeAsString()); in TEST_F()
296 outer.set_payload(proto.SerializeAsString()); in TEST_F()
/external/google-tv-pairing-protocol/cpp/src/polo/wire/protobuf/
Dprotobufwireadapter.cc60 configuration.SerializeAsString()); in SendConfigurationMessage()
68 ack.SerializeAsString()); in SendConfigurationAckMessage()
98 options.SerializeAsString()); in SendOptionsMessage()
113 request.SerializeAsString()); in SendPairingRequestMessage()
127 ack.SerializeAsString()); in SendPairingRequestAckMessage()
138 secret.SerializeAsString()); in SendSecretMessage()
149 ack.SerializeAsString()); in SendSecretAckMessage()
400 std::string outer_string = message.SerializeAsString(); in SendOuterMessage()
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectsource_test.cc716 nested_any.set_value(m.SerializeAsString()); in TEST_P()
718 any->set_value(nested_any.SerializeAsString()); in TEST_P()
748 second_nested_any.set_value(m.SerializeAsString()); in TEST_P()
749 nested_any.set_value(second_nested_any.SerializeAsString()); in TEST_P()
750 any->set_value(nested_any.SerializeAsString()); in TEST_P()
797 any->set_value(m.SerializeAsString()); in TEST_P()
813 any->set_value(m.SerializeAsString()); in TEST_P()
829 any->set_value(m.SerializeAsString()); in TEST_P()
Dprotostream_objectwriter_test.cc1433 any_type->set_value(d.SerializeAsString()); in TEST_P()
1455 nested_any.set_value(m.SerializeAsString()); in TEST_P()
1457 any->set_value(nested_any.SerializeAsString()); in TEST_P()
1485 second_nested_any.set_value(m.SerializeAsString()); in TEST_P()
1487 nested_any.set_value(second_nested_any.SerializeAsString()); in TEST_P()
1488 any->set_value(nested_any.SerializeAsString()); in TEST_P()
/external/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc157 string input_data = input.SerializeAsString(); in Communicate()
360 string input_data = input.SerializeAsString();
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc1217 "FileOptions", file_->options().SerializeAsString()); in FixAllDescriptorOptions()
1243 "EnumOptions", enum_descriptor.options().SerializeAsString()); in FixOptionsForEnum()
1250 "EnumValueOptions", value_descriptor.options().SerializeAsString()); in FixOptionsForEnum()
1265 "FieldOptions", field.options().SerializeAsString()); in FixOptionsForField()
1307 "MessageOptions", descriptor.options().SerializeAsString()); in FixOptionsForMessage()
/external/protobuf/src/google/protobuf/util/
Djson_util_test.cc74 message.SerializeAsString(), &result, options)); in ToJson()
/external/protobuf/conformance/
Dconformance_test.cc398 input.SerializeAsString(), conformance::PROTOBUF, in RunValidJsonTestWithProtobufInput()
477 request.set_protobuf_payload(payload_message.SerializeAsString()); in ExpectSerializeFailureForJson()
/external/webrtc/webrtc/modules/audio_processing/
Daudio_processing_impl.cc1511 std::string serialized_config = config.SerializeAsString(); in WriteConfigMessage()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc968 const string msg = p.SerializeAsString(); in TEST()

12