/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | CodedOutputStreamTest.java | 85 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteVarint() 92 CodedOutputStream.computeRawVarint32Size((int) value)); in assertWriteVarint() 97 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteVarint() 104 CodedOutputStream.computeRawVarint64Size(value)); in assertWriteVarint() 112 CodedOutputStream output = in assertWriteVarint() 113 CodedOutputStream.newInstance(rawOutput, blockSize); in assertWriteVarint() 121 CodedOutputStream output = in assertWriteVarint() 122 CodedOutputStream.newInstance(rawOutput, blockSize); in assertWriteVarint() 167 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteLittleEndian32() 175 output = CodedOutputStream.newInstance(rawOutput, blockSize); in assertWriteLittleEndian32() [all …]
|
D | CodedInputStreamTest.java | 419 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in testReadMaliciouslyLargeBlob() 557 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in testReadStringInvalidUtf8() 577 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in testReadStringRequireUtf8InvalidUtf8() 624 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in testReadByteArray() 660 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in testReadByteBuffer() 697 CodedOutputStream output = CodedOutputStream.newInstance(byteArrayStream); in testReadByteBufferAliasing()
|
D | LazyStringEndToEndTest.java | 85 CodedOutputStream outputStream = CodedOutputStream.newInstance(sink); in testParseAndWrite()
|
/external/protobuf/src/google/protobuf/ |
D | wire_format_lite.cc | 59 io::CodedOutputStream::StaticVarintSize32<kMessageSetItemStartTag>::value + 60 io::CodedOutputStream::StaticVarintSize32<kMessageSetItemEndTag>::value + 61 io::CodedOutputStream::StaticVarintSize32<kMessageSetTypeIdTag>::value + 62 io::CodedOutputStream::StaticVarintSize32<kMessageSetMessageTag>::value; 157 io::CodedInputStream* input, uint32 tag, io::CodedOutputStream* output) { in SkipField() 233 io::CodedOutputStream* output) { in SkipMessage() 303 io::CodedOutputStream* output) { in WriteInt32() 308 io::CodedOutputStream* output) { in WriteInt64() 313 io::CodedOutputStream* output) { in WriteUInt32() 318 io::CodedOutputStream* output) { in WriteUInt64() [all …]
|
D | wire_format_lite_inl.h | 502 io::CodedOutputStream* output) { in WriteTag() 507 io::CodedOutputStream* output) { in WriteInt32NoTag() 511 io::CodedOutputStream* output) { in WriteInt64NoTag() 515 io::CodedOutputStream* output) { in WriteUInt32NoTag() 519 io::CodedOutputStream* output) { in WriteUInt64NoTag() 523 io::CodedOutputStream* output) { in WriteSInt32NoTag() 527 io::CodedOutputStream* output) { in WriteSInt64NoTag() 531 io::CodedOutputStream* output) { in WriteFixed32NoTag() 535 io::CodedOutputStream* output) { in WriteFixed64NoTag() 539 io::CodedOutputStream* output) { in WriteSFixed32NoTag() [all …]
|
D | wire_format.h | 58 class CodedOutputStream; // coded_stream.h variable 118 int size, io::CodedOutputStream* output); 143 io::CodedOutputStream* output); 157 io::CodedOutputStream* output); 195 io::CodedOutputStream* output); 212 io::CodedOutputStream* output);
|
D | wire_format.cc | 163 io::CodedOutputStream* output) { in SerializeUnknownFields() 237 io::CodedOutputStream* output) { in SerializeUnknownMessageSetItems() 270 target = io::CodedOutputStream::WriteTagToArray( in SerializeUnknownMessageSetItemsToArray() 274 target = io::CodedOutputStream::WriteTagToArray( in SerializeUnknownMessageSetItemsToArray() 276 target = io::CodedOutputStream::WriteVarint32ToArray( in SerializeUnknownMessageSetItemsToArray() 280 target = io::CodedOutputStream::WriteTagToArray( in SerializeUnknownMessageSetItemsToArray() 285 target = io::CodedOutputStream::WriteTagToArray( in SerializeUnknownMessageSetItemsToArray() 301 size += io::CodedOutputStream::VarintSize32( in ComputeUnknownFieldsSize() 304 size += io::CodedOutputStream::VarintSize64(field.varint()); in ComputeUnknownFieldsSize() 307 size += io::CodedOutputStream::VarintSize32( in ComputeUnknownFieldsSize() [all …]
|
D | message_lite.h | 49 class CodedOutputStream; variable 176 bool SerializeToCodedStream(io::CodedOutputStream* output) const; 178 bool SerializePartialToCodedStream(io::CodedOutputStream* output) const; 220 io::CodedOutputStream* output) const = 0;
|
D | message_lite.cc | 222 io::CodedOutputStream coded_out(&out); in SerializeWithCachedSizesToArray() 228 bool MessageLite::SerializeToCodedStream(io::CodedOutputStream* output) const { in SerializeToCodedStream() 234 io::CodedOutputStream* output) const { in SerializePartialToCodedStream() 262 io::CodedOutputStream encoder(output); in SerializeToZeroCopyStream() 268 io::CodedOutputStream encoder(output); in SerializePartialToZeroCopyStream()
|
D | wire_format_unittest.cc | 280 io::CodedOutputStream output(&raw_output); in TEST() 288 io::CodedOutputStream output(&raw_output); in TEST() 310 io::CodedOutputStream output(&raw_output); in TEST() 318 io::CodedOutputStream output(&raw_output); in TEST() 340 io::CodedOutputStream output(&raw_output); in TEST() 348 io::CodedOutputStream output(&raw_output); in TEST() 374 io::CodedOutputStream output(&raw_output); in TEST() 382 io::CodedOutputStream output(&raw_output); in TEST() 492 io::CodedOutputStream output_stream(&array_stream); in TEST() 500 io::CodedOutputStream output_stream(&string_stream); in TEST() [all …]
|
D | wire_format_lite.h | 170 io::CodedOutputStream* output); 180 io::CodedOutputStream* output); 243 #define output io::CodedOutputStream* output_arg 546 explicit CodedOutputStreamFieldSkipper(io::CodedOutputStream* unknown_fields) in CodedOutputStreamFieldSkipper() 556 io::CodedOutputStream* unknown_fields_; 581 int result = io::CodedOutputStream::VarintSize32( in TagSize()
|
D | unknown_field_set.cc | 249 io::CodedOutputStream* output) const { in SerializeLengthDelimitedNoTag() 259 target = io::CodedOutputStream::WriteVarint32ToArray(data.size(), target); in SerializeLengthDelimitedNoTagToArray() 260 target = io::CodedOutputStream::WriteStringToArray(data, target); in SerializeLengthDelimitedNoTagToArray()
|
D | extension_set_heavy.cc | 516 target = io::CodedOutputStream::WriteTagToArray( in SerializeMessageSetItemWithCachedSizesToArray() 530 target = io::CodedOutputStream::WriteTagToArray( in SerializeMessageSetItemWithCachedSizesToArray() 626 io::CodedOutputStream coded_output(&output_stream); in ParseMessageSetItem() 654 io::CodedOutputStream* output) const { in SerializeMessageSetItemWithCachedSizes() 697 our_size += io::CodedOutputStream::VarintSize32(number); in MessageSetItemByteSize() 707 our_size += io::CodedOutputStream::VarintSize32(message_size); in MessageSetItemByteSize() 714 io::CodedOutputStream* output) const { in SerializeMessageSetWithCachedSizes()
|
D | unknown_field_set.h | 50 class CodedOutputStream; // coded_stream.h variable 190 void SerializeLengthDelimitedNoTag(io::CodedOutputStream* output) const;
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
D | FieldSet.java | 596 public void writeTo(final CodedOutputStream output) in writeTo() 612 public void writeMessageSetTo(final CodedOutputStream output) in writeMessageSetTo() 625 final CodedOutputStream output) throws IOException { in writeMessageSetTo() 651 private static void writeElement(final CodedOutputStream output, in writeElement() 676 final CodedOutputStream output, in writeElementNoTag() 717 final CodedOutputStream output) in writeField() 789 return CodedOutputStream.computeLazyFieldMessageSetExtensionSize( in getMessageSetSerializedSize() 792 return CodedOutputStream.computeMessageSetExtensionSize( in getMessageSetSerializedSize() 814 int tagSize = CodedOutputStream.computeTagSize(number); in computeElementSize() 838 case DOUBLE : return CodedOutputStream.computeDoubleSizeNoTag ((Double )value); in computeElementSizeNoTag() [all …]
|
D | AbstractMessageLite.java | 65 final CodedOutputStream output = CodedOutputStream.newInstance(result); in toByteArray() 78 CodedOutputStream.computePreferredBufferSize(getSerializedSize()); in writeTo() 79 final CodedOutputStream codedOutput = in writeTo() 80 CodedOutputStream.newInstance(output, bufferSize); in writeTo() 87 final int bufferSize = CodedOutputStream.computePreferredBufferSize( in writeDelimitedTo() 88 CodedOutputStream.computeRawVarint32Size(serialized) + serialized); in writeDelimitedTo() 89 final CodedOutputStream codedOutput = in writeDelimitedTo() 90 CodedOutputStream.newInstance(output, bufferSize); in writeDelimitedTo()
|
D | UnknownFieldSet.java | 129 public void writeTo(final CodedOutputStream output) throws IOException { in writeTo() 169 final CodedOutputStream output = CodedOutputStream.newInstance(result); in toByteArray() 185 final CodedOutputStream codedOutput = CodedOutputStream.newInstance(output); in writeTo() 191 final CodedOutputStream codedOutput = CodedOutputStream.newInstance(output); in writeDelimitedTo() 210 public void writeAsMessageSetTo(final CodedOutputStream output) in writeAsMessageSetTo() 748 public void writeTo(final int fieldNumber, final CodedOutputStream output) in writeTo() 774 result += CodedOutputStream.computeUInt64Size(fieldNumber, value); in getSerializedSize() 777 result += CodedOutputStream.computeFixed32Size(fieldNumber, value); in getSerializedSize() 780 result += CodedOutputStream.computeFixed64Size(fieldNumber, value); in getSerializedSize() 783 result += CodedOutputStream.computeBytesSize(fieldNumber, value); in getSerializedSize() [all …]
|
D | CodedOutputStream.java | 52 public final class CodedOutputStream { class 77 private CodedOutputStream(final byte[] buffer, final int offset, in CodedOutputStream() method in CodedOutputStream 85 private CodedOutputStream(final OutputStream output, final byte[] buffer) { in CodedOutputStream() method in CodedOutputStream 96 public static CodedOutputStream newInstance(final OutputStream output) { in newInstance() 104 public static CodedOutputStream newInstance(final OutputStream output, in newInstance() 106 return new CodedOutputStream(output, new byte[bufferSize]); in newInstance() 116 public static CodedOutputStream newInstance(final byte[] flatArray) { in newInstance() 127 public static CodedOutputStream newInstance(final byte[] flatArray, in newInstance() 130 return new CodedOutputStream(flatArray, offset, length); in newInstance() 136 public static CodedOutputStream newInstance(ByteBuffer byteBuffer) { in newInstance() [all …]
|
D | GeneratedMessageLite.java | 70 CodedOutputStream unknownFieldsCodedOutput, in parseUnknownField() 116 CodedOutputStream unknownFieldsCodedOutput, in parseUnknownField() 243 CodedOutputStream unknownFieldsCodedOutput, in parseUnknownField() 286 public void writeUntil(final int end, final CodedOutputStream output) in writeUntil() 481 CodedOutputStream unknownFieldsCodedOutput, in parseUnknownField() 511 CodedOutputStream unknownFieldsCodedOutput, in parseUnknownField()
|
/external/protobuf/src/google/protobuf/io/ |
D | coded_stream.cc | 86 void CodedOutputStream::EnableAliasing(bool enabled) { in EnableAliasing() 585 CodedOutputStream::CodedOutputStream(ZeroCopyOutputStream* output) in CodedOutputStream() function in google::protobuf::io::CodedOutputStream 600 CodedOutputStream::~CodedOutputStream() { in ~CodedOutputStream() 606 bool CodedOutputStream::Skip(int count) { in Skip() 618 bool CodedOutputStream::GetDirectBufferPointer(void** data, int* size) { in GetDirectBufferPointer() 626 void CodedOutputStream::WriteRaw(const void* data, int size) { in WriteRaw() 638 uint8* CodedOutputStream::WriteRawToArray( in WriteRawToArray() 645 void CodedOutputStream::WriteAliasedRaw(const void* data, int size) { in WriteAliasedRaw() 662 void CodedOutputStream::WriteLittleEndian32(uint32 value) { in WriteLittleEndian32() 677 void CodedOutputStream::WriteLittleEndian64(uint64 value) { in WriteLittleEndian64() [all …]
|
D | coded_stream.h | 143 class CodedOutputStream; variable 621 class LIBPROTOBUF_EXPORT CodedOutputStream { 624 explicit CodedOutputStream(ZeroCopyOutputStream* output); 628 ~CodedOutputStream(); 752 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(CodedOutputStream); 999 inline uint8* CodedOutputStream::GetDirectBufferForNBytesAndAdvance(int size) { in GetDirectBufferForNBytesAndAdvance() 1009 inline uint8* CodedOutputStream::WriteVarint32ToArray(uint32 value, in WriteVarint32ToArray() 1019 inline void CodedOutputStream::WriteVarint32SignExtended(int32 value) { in WriteVarint32SignExtended() 1027 inline uint8* CodedOutputStream::WriteVarint32SignExtendedToArray( in WriteVarint32SignExtendedToArray() 1036 inline uint8* CodedOutputStream::WriteLittleEndian32ToArray(uint32 value, in WriteLittleEndian32ToArray() [all …]
|
D | coded_stream_unittest.cc | 320 CodedOutputStream coded_output(&output); in TEST_2D() 337 CodedOutputStream coded_output(&output); in TEST_2D() 363 CodedOutputStream coded_output(&output); in TEST_2D() 481 CodedOutputStream::VarintSize32( in TEST_1D() 487 CodedOutputStream::VarintSize64(kVarintSizeCases_case.value)); in TEST_1D() 555 CodedOutputStream coded_output(&output); in TEST_2D() 571 CodedOutputStream coded_output(&output); in TEST_2D() 629 CodedOutputStream coded_output(&output); in TEST_1D() 959 CodedOutputStream coded_output(&output); in TEST_F()
|
D | zero_copy_stream_unittest.cc | 302 CodedOutputStream* coded_output = new CodedOutputStream(output); in TEST_F() 310 coded_output = new CodedOutputStream(output); in TEST_F() 609 CodedOutputStream* coded_output = new CodedOutputStream(gzout); in TEST_F() 620 coded_output = new CodedOutputStream(gzout); in TEST_F()
|
/external/protobuf/benchmarks/ |
D | ProtoBench.java | 44 import com.google.protobuf.CodedOutputStream; 95 CodedOutputStream reuseDevNullTemp = null; in runTest() 98 reuseDevNullTemp = CodedOutputStream.newInstance(devNullTemp); in runTest() 103 final CodedOutputStream reuseDevNull = reuseDevNullTemp; in runTest()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | zip_writer.cc | 128 static void WriteShort(io::CodedOutputStream *out, uint16 val) { in WriteShort() 151 io::CodedOutputStream output(raw_output_); in Write() 174 io::CodedOutputStream output(raw_output_); in WriteDirectory()
|