Searched refs:coded_output (Results 1 – 6 of 6) sorted by relevance
320 CodedOutputStream coded_output(&output); in TEST_2D() local322 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() local339 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() local365 coded_output.WriteVarint32SignExtended(kSignExtendedVarintCases_case); in TEST_2D()[all …]
302 CodedOutputStream* coded_output = new CodedOutputStream(output); in TEST_F() local303 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() local611 coded_output->WriteVarint32(outlen); in TEST_F()[all …]
325 google::protobuf::io::CodedOutputStream coded_output(&output_stream); in main() local328 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()
570 io::CodedOutputStream coded_output(&output_stream); in TEST() local571 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()
626 io::CodedOutputStream coded_output(&output_stream); in ParseMessageSetItem() local627 coded_output.WriteVarint32(length); in ParseMessageSetItem()628 coded_output.WriteString(temp); in ParseMessageSetItem()
708 io::CodedOutputStream coded_output(&output_stream); in ParseAndMergeMessageSetItem() local709 coded_output.WriteVarint32(length); in ParseAndMergeMessageSetItem()710 coded_output.WriteString(temp); in ParseAndMergeMessageSetItem()