Home
last modified time | relevance | path

Searched refs:output_stream (Results 1 – 15 of 15) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Djson_util_test.cc292 SegmentedZeroCopyOutputStream output_stream(segments); in TEST() local
293 internal::ZeroCopyStreamByteSink byte_sink(&output_stream); in TEST()
312 SegmentedZeroCopyOutputStream output_stream(segments); in TEST() local
313 internal::ZeroCopyStreamByteSink byte_sink(&output_stream); in TEST()
334 SegmentedZeroCopyOutputStream output_stream(segments); in TEST() local
335 internal::ZeroCopyStreamByteSink byte_sink(&output_stream); in TEST()
Djson_util.cc100 io::StringOutputStream output_stream(json_output); in BinaryToJsonString() local
101 return BinaryToJsonStream(resolver, type_url, &input_stream, &output_stream, in BinaryToJsonString()
175 io::StringOutputStream output_stream(binary_output); in JsonToBinaryString() local
177 resolver, type_url, &input_stream, &output_stream, options); in JsonToBinaryString()
Dmessage_differencer.cc399 io::StringOutputStream output_stream(output_string_); in Compare() local
400 StreamReporter reporter(&output_stream); in Compare()
437 io::StringOutputStream output_stream(output_string_); in CompareWithFields() local
438 StreamReporter reporter(&output_stream); in CompareWithFields()
Dmessage_differencer_unittest.cc2823 io::StringOutputStream output_stream(&output); in RunWithResult() local
2824 MessageDifferencer::StreamReporter reporter(&output_stream); in RunWithResult()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc653 io::CodedOutputStream output_stream(&array_stream); in TEST() local
654 message1.SerializeWithCachedSizes(&output_stream); in TEST()
655 EXPECT_FALSE(output_stream.HadError()); in TEST()
656 EXPECT_EQ(size, output_stream.ByteCount()); in TEST()
672 io::CodedOutputStream output_stream(&array_stream); in TEST() local
673 message1.SerializeWithCachedSizes(&output_stream); in TEST()
674 EXPECT_FALSE(output_stream.HadError()); in TEST()
675 EXPECT_EQ(size, output_stream.ByteCount()); in TEST()
1916 io::CodedOutputStream output_stream(&array_stream); in TEST_F() local
1917 message1.SerializeWithCachedSizes(&output_stream); in TEST_F()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dlite_unittest.cc335 google::protobuf::io::StringOutputStream output_stream(&buffer); in main() local
336 google::protobuf::io::CodedOutputStream coded_output(&output_stream); in main()
542 google::protobuf::io::CodedOutputStream output_stream(&array_stream); in main() local
543 message1.SerializeWithCachedSizes(&output_stream); in main()
544 EXPECT_FALSE(output_stream.HadError()); in main()
545 EXPECT_EQ(size, output_stream.ByteCount()); in main()
Dwire_format_unittest.cc496 io::CodedOutputStream output_stream(&array_stream); in TEST() local
497 message_set.SerializeWithCachedSizes(&output_stream); in TEST()
498 ASSERT_FALSE(output_stream.HadError()); in TEST()
504 io::CodedOutputStream output_stream(&string_stream); in TEST() local
505 WireFormat::SerializeWithCachedSizes(message_set, size, &output_stream); in TEST()
506 ASSERT_FALSE(output_stream.HadError()); in TEST()
573 io::StringOutputStream output_stream(&data); in TEST() local
574 io::CodedOutputStream coded_output(&output_stream); in TEST()
Dunknown_field_set_unittest.cc204 io::CodedOutputStream output_stream(&raw_stream); in TEST_F() local
206 &output_stream); in TEST_F()
207 ASSERT_FALSE(output_stream.HadError()); in TEST_F()
Dextension_set_unittest.cc551 io::CodedOutputStream output_stream(&array_stream); in TEST() local
552 source.SerializeWithCachedSizes(&output_stream); in TEST()
553 ASSERT_FALSE(output_stream.HadError()); in TEST()
595 io::CodedOutputStream output_stream(&array_stream); in TEST() local
596 source.SerializeWithCachedSizes(&output_stream); in TEST()
597 ASSERT_FALSE(output_stream.HadError()); in TEST()
Dtext_format.cc1499 io::StringOutputStream output_stream(output); in PrintToString() local
1501 return Print(message, &output_stream); in PrintToString()
1510 io::StringOutputStream output_stream(output); in PrintUnknownFieldsToString() local
1511 return PrintUnknownFields(unknown_fields, &output_stream); in PrintUnknownFieldsToString()
1622 io::StringOutputStream output_stream(output); in PrintFieldValueToString() local
1623 TextGenerator generator(&output_stream, initial_indent_level_); in PrintFieldValueToString()
Dtext_format_unittest.cc390 io::ArrayOutputStream output_stream(buffer, 1); in TEST_F() local
391 EXPECT_FALSE(TextFormat::Print(message, &output_stream)); in TEST_F()
393 EXPECT_EQ(output_stream.ByteCount(), 1); in TEST_F()
Dmap_test.cc2076 io::CodedOutputStream output_stream(&array_stream); in TEST() local
2077 message1.SerializeWithCachedSizes(&output_stream); in TEST()
2078 EXPECT_FALSE(output_stream.HadError()); in TEST()
2079 EXPECT_EQ(size, output_stream.ByteCount()); in TEST()
2880 io::CodedOutputStream output_stream(&array_stream); in DeterministicSerialization() local
2881 output_stream.SetSerializationDeterministic(true); in DeterministicSerialization()
2882 t.SerializeWithCachedSizes(&output_stream); in DeterministicSerialization()
2883 EXPECT_FALSE(output_stream.HadError()); in DeterministicSerialization()
2884 EXPECT_EQ(size, output_stream.ByteCount()); in DeterministicSerialization()
Dextension_set_heavy.cc692 io::StringOutputStream output_stream(&message_data); in ParseMessageSetItem() local
693 io::CodedOutputStream coded_output(&output_stream); in ParseMessageSetItem()
Dwire_format.cc760 io::StringOutputStream output_stream(&message_data); in ParseAndMergeMessageSetItem() local
761 io::CodedOutputStream coded_output(&output_stream); in ParseAndMergeMessageSetItem()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.cc1077 io::CodedOutputStream output_stream(&data_outputstream); in Data() local
1079 output_stream.WriteVarint32(num_entries()); in Data()
1082 output_stream.WriteVarint32(i->first); in Data()
1083 output_stream.WriteString(i->second); in Data()