Searched refs:coded_output (Results 1 – 8 of 8) sorted by relevance
327 CodedOutputStream coded_output(&output); in TEST_2D() local329 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() local346 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() local372 coded_output.WriteVarint32SignExtended(kSignExtendedVarintCases_case); in TEST_2D()[all …]
307 CodedOutputStream* coded_output = new CodedOutputStream(output); in TEST_F() local308 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() local616 coded_output->WriteVarint32(outlen); in TEST_F()[all …]
574 io::CodedOutputStream coded_output(&output_stream); in TEST() local575 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()
336 google::protobuf::io::CodedOutputStream coded_output(&output_stream); in main() local339 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()
285 io::CodedOutputStream coded_output(&coded_raw_output); in TEST() local286 EXPECT_FALSE(message.SerializePartialToCodedStream(&coded_output)); in TEST()
646 io::CodedOutputStream coded_output(&output_stream); in ParseMessageSetItem() local647 coded_output.WriteVarint32(length); in ParseMessageSetItem()648 coded_output.WriteString(temp); in ParseMessageSetItem()
761 io::CodedOutputStream coded_output(&output_stream); in ParseAndMergeMessageSetItem() local762 coded_output.WriteVarint32(length); in ParseAndMergeMessageSetItem()763 coded_output.WriteString(temp); in ParseAndMergeMessageSetItem()
725 std::unique_ptr<CodedOutputStream> coded_output; in GenerateGrpc() local736 coded_output.reset(new CodedOutputStream(output.get())); in GenerateGrpc()740 coded_output->WriteRaw(grpc_code.data(), grpc_code.size()); in GenerateGrpc()