Home
last modified time | relevance | path

Searched refs:coded_output (Results 1 – 7 of 7) sorted by relevance

/external/protobuf/src/google/protobuf/io/
Dcoded_stream_unittest.cc327 CodedOutputStream coded_output(&output); in TEST_2D() local
329 coded_output.WriteVarint32(static_cast<uint32>(kVarintCases_case.value)); in TEST_2D()
330 EXPECT_FALSE(coded_output.HadError()); in TEST_2D()
332 EXPECT_EQ(kVarintCases_case.size, coded_output.ByteCount()); in TEST_2D()
344 CodedOutputStream coded_output(&output); in TEST_2D() local
346 coded_output.WriteVarint64(kVarintCases_case.value); in TEST_2D()
347 EXPECT_FALSE(coded_output.HadError()); in TEST_2D()
349 EXPECT_EQ(kVarintCases_case.size, coded_output.ByteCount()); in TEST_2D()
370 CodedOutputStream coded_output(&output); in TEST_2D() local
372 coded_output.WriteVarint32SignExtended(kSignExtendedVarintCases_case); in TEST_2D()
[all …]
Dzero_copy_stream_unittest.cc307 CodedOutputStream* coded_output = new CodedOutputStream(output); in TEST_F() local
308 coded_output->WriteVarint32(strlen(strA)); in TEST_F()
309 coded_output->WriteRaw(strA, strlen(strA)); in TEST_F()
310 delete coded_output; // flush in TEST_F()
315 coded_output = new CodedOutputStream(output); in TEST_F()
316 coded_output->WriteVarint32(strlen(strB)); in TEST_F()
317 coded_output->WriteRaw(strB, strlen(strB)); in TEST_F()
318 delete coded_output; // flush in TEST_F()
614 CodedOutputStream* coded_output = new CodedOutputStream(gzout); in TEST_F() local
616 coded_output->WriteVarint32(outlen); in TEST_F()
[all …]
/external/protobuf/src/google/protobuf/
Dwire_format_unittest.cc574 io::CodedOutputStream coded_output(&output_stream); in TEST() local
575 coded_output.WriteTag(WireFormatLite::kMessageSetItemStartTag); in TEST()
579 &coded_output); in TEST()
580 coded_output.WriteVarint32(message.ByteSize()); in TEST()
581 message.SerializeWithCachedSizes(&coded_output); in TEST()
585 type_id, &coded_output); in TEST()
586 coded_output.WriteTag(WireFormatLite::kMessageSetItemEndTag); in TEST()
Dlite_unittest.cc336 google::protobuf::io::CodedOutputStream coded_output(&output_stream); in main() local
339 google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT, &coded_output); in main()
340 coded_output.WriteVarint32(10); in main()
343 google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT, &coded_output); in main()
344 coded_output.WriteVarint32(20); in main()
Dmessage_unittest.cc285 io::CodedOutputStream coded_output(&coded_raw_output); in TEST() local
286 EXPECT_FALSE(message.SerializePartialToCodedStream(&coded_output)); in TEST()
Dextension_set_heavy.cc646 io::CodedOutputStream coded_output(&output_stream); in ParseMessageSetItem() local
647 coded_output.WriteVarint32(length); in ParseMessageSetItem()
648 coded_output.WriteString(temp); in ParseMessageSetItem()
Dwire_format.cc761 io::CodedOutputStream coded_output(&output_stream); in ParseAndMergeMessageSetItem() local
762 coded_output.WriteVarint32(length); in ParseAndMergeMessageSetItem()
763 coded_output.WriteString(temp); in ParseAndMergeMessageSetItem()