Searched refs:coded_output (Results 1 – 6 of 6) sorted by relevance
/external/protobuf/src/google/protobuf/io/ |
D | coded_stream_unittest.cc | 324 CodedOutputStream coded_output(&output); in TEST_2D() local 326 coded_output.WriteVarint32(static_cast<uint32>(kVarintCases_case.value)); in TEST_2D() 327 EXPECT_FALSE(coded_output.HadError()); in TEST_2D() 329 EXPECT_EQ(kVarintCases_case.size, coded_output.ByteCount()); in TEST_2D() 341 CodedOutputStream coded_output(&output); in TEST_2D() local 343 coded_output.WriteVarint64(kVarintCases_case.value); in TEST_2D() 344 EXPECT_FALSE(coded_output.HadError()); in TEST_2D() 346 EXPECT_EQ(kVarintCases_case.size, coded_output.ByteCount()); in TEST_2D() 365 CodedOutputStream coded_output(&output); in TEST_2D() local 367 coded_output.WriteVarint32SignExtended(kSignExtendedVarintCases_case); in TEST_2D() [all …]
|
D | zero_copy_stream_unittest.cc | 311 CodedOutputStream* coded_output = new CodedOutputStream(output); in TEST_F() local 312 coded_output->WriteVarint32(strlen(strA)); in TEST_F() 313 coded_output->WriteRaw(strA, strlen(strA)); in TEST_F() 314 delete coded_output; // flush in TEST_F() 319 coded_output = new CodedOutputStream(output); in TEST_F() 320 coded_output->WriteVarint32(strlen(strB)); in TEST_F() 321 coded_output->WriteRaw(strB, strlen(strB)); in TEST_F() 322 delete coded_output; // flush in TEST_F() 612 CodedOutputStream* coded_output = new CodedOutputStream(gzout); in TEST_F() local 614 coded_output->WriteVarint32(outlen); in TEST_F() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | wire_format_unittest.cc | 590 io::CodedOutputStream coded_output(&output_stream); in TEST() local 591 coded_output.WriteTag(WireFormatLite::kMessageSetItemStartTag); in TEST() 595 &coded_output); in TEST() 596 coded_output.WriteVarint32(message.ByteSize()); in TEST() 597 message.SerializeWithCachedSizes(&coded_output); in TEST() 601 type_id, &coded_output); in TEST() 602 coded_output.WriteTag(WireFormatLite::kMessageSetItemEndTag); in TEST() 632 io::CodedOutputStream* coded_output); 635 io::CodedOutputStream* coded_output) { in SerializeReverseOrder() argument 637 WireFormatLite::WIRETYPE_VARINT, coded_output); in SerializeReverseOrder() [all …]
|
D | lite_unittest.cc | 371 io::CodedOutputStream coded_output(&output_stream); in TEST() local 374 internal::WireFormatLite::WIRETYPE_VARINT, &coded_output); in TEST() 375 coded_output.WriteVarint32(10); in TEST() 378 internal::WireFormatLite::WIRETYPE_VARINT, &coded_output); in TEST() 379 coded_output.WriteVarint32(20); in TEST()
|
/external/protobuf/src/google/protobuf/util/ |
D | delimited_message_util.cc | 92 io::CodedOutputStream coded_output(output); in SerializeDelimitedToZeroCopyStream() local 93 return SerializeDelimitedToCodedStream(message, &coded_output); in SerializeDelimitedToZeroCopyStream()
|
/external/grpc-grpc/src/compiler/ |
D | python_generator.cc | 725 std::unique_ptr<CodedOutputStream> coded_output; in GenerateGrpc() local 736 coded_output.reset(new CodedOutputStream(output.get())); in GenerateGrpc() 740 coded_output->WriteRaw(grpc_code.data(), grpc_code.size()); in GenerateGrpc()
|