Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/io/
Dcoded_stream_unittest.cc320 CodedOutputStream coded_output(&output); in TEST_2D() local
322 coded_output.WriteVarint32(static_cast<uint32>(kVarintCases_case.value)); in TEST_2D()
323 EXPECT_FALSE(coded_output.HadError()); in TEST_2D()
325 EXPECT_EQ(kVarintCases_case.size, coded_output.ByteCount()); in TEST_2D()
337 CodedOutputStream coded_output(&output); in TEST_2D() local
339 coded_output.WriteVarint64(kVarintCases_case.value); in TEST_2D()
340 EXPECT_FALSE(coded_output.HadError()); in TEST_2D()
342 EXPECT_EQ(kVarintCases_case.size, coded_output.ByteCount()); in TEST_2D()
363 CodedOutputStream coded_output(&output); in TEST_2D() local
365 coded_output.WriteVarint32SignExtended(kSignExtendedVarintCases_case); in TEST_2D()
[all …]
Dzero_copy_stream_unittest.cc302 CodedOutputStream* coded_output = new CodedOutputStream(output); in TEST_F() local
303 coded_output->WriteVarint32(strlen(strA)); in TEST_F()
304 coded_output->WriteRaw(strA, strlen(strA)); in TEST_F()
305 delete coded_output; // flush in TEST_F()
310 coded_output = new CodedOutputStream(output); in TEST_F()
311 coded_output->WriteVarint32(strlen(strB)); in TEST_F()
312 coded_output->WriteRaw(strB, strlen(strB)); in TEST_F()
313 delete coded_output; // flush in TEST_F()
609 CodedOutputStream* coded_output = new CodedOutputStream(gzout); in TEST_F() local
611 coded_output->WriteVarint32(outlen); in TEST_F()
[all …]
/external/protobuf/src/google/protobuf/
Dlite_unittest.cc325 google::protobuf::io::CodedOutputStream coded_output(&output_stream); in main() local
328 google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT, &coded_output); in main()
329 coded_output.WriteVarint32(10); in main()
332 google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT, &coded_output); in main()
333 coded_output.WriteVarint32(20); in main()
Dwire_format_unittest.cc570 io::CodedOutputStream coded_output(&output_stream); in TEST() local
571 coded_output.WriteTag(WireFormatLite::kMessageSetItemStartTag); in TEST()
575 &coded_output); in TEST()
576 coded_output.WriteVarint32(message.ByteSize()); in TEST()
577 message.SerializeWithCachedSizes(&coded_output); in TEST()
581 type_id, &coded_output); in TEST()
582 coded_output.WriteTag(WireFormatLite::kMessageSetItemEndTag); in TEST()
Dextension_set_heavy.cc626 io::CodedOutputStream coded_output(&output_stream); in ParseMessageSetItem() local
627 coded_output.WriteVarint32(length); in ParseMessageSetItem()
628 coded_output.WriteString(temp); in ParseMessageSetItem()
Dwire_format.cc708 io::CodedOutputStream coded_output(&output_stream); in ParseAndMergeMessageSetItem() local
709 coded_output.WriteVarint32(length); in ParseAndMergeMessageSetItem()
710 coded_output.WriteString(temp); in ParseAndMergeMessageSetItem()