/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | CodedOutputStreamTest.java | 83 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteVarint() 90 CodedOutputStream.computeRawVarint32Size((int) value)); in assertWriteVarint() 95 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteVarint() 102 CodedOutputStream.computeRawVarint64Size(value)); in assertWriteVarint() 110 CodedOutputStream output = in assertWriteVarint() 111 CodedOutputStream.newInstance(rawOutput, blockSize); in assertWriteVarint() 119 CodedOutputStream output = in assertWriteVarint() 120 CodedOutputStream.newInstance(rawOutput, blockSize); in assertWriteVarint() 165 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteLittleEndian32() 173 output = CodedOutputStream.newInstance(rawOutput, blockSize); in assertWriteLittleEndian32() [all …]
|
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
D | CodedOutputStreamTest.java | 84 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteVarint() 91 CodedOutputStream.computeRawVarint32Size((int) value)); in assertWriteVarint() 96 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteVarint() 103 CodedOutputStream.computeRawVarint64Size(value)); in assertWriteVarint() 111 CodedOutputStream output = in assertWriteVarint() 112 CodedOutputStream.newInstance(rawOutput, blockSize); in assertWriteVarint() 120 CodedOutputStream output = in assertWriteVarint() 121 CodedOutputStream.newInstance(rawOutput, blockSize); in assertWriteVarint() 166 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteLittleEndian32() 174 output = CodedOutputStream.newInstance(rawOutput, blockSize); in assertWriteLittleEndian32() [all …]
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
D | wire_format_lite.cc | 78 io::CodedOutputStream::StaticVarintSize32<kMessageSetItemStartTag>::value + 79 io::CodedOutputStream::StaticVarintSize32<kMessageSetItemEndTag>::value + 80 io::CodedOutputStream::StaticVarintSize32<kMessageSetTypeIdTag>::value + 81 io::CodedOutputStream::StaticVarintSize32<kMessageSetMessageTag>::value; 211 io::CodedOutputStream* output) { in SerializeUnknownFields() 284 io::CodedOutputStream* output) { in SerializeUnknownMessageSetItems() 322 target = io::CodedOutputStream::WriteTagToArray( in SerializeUnknownMessageSetItemsToArray() 326 target = io::CodedOutputStream::WriteTagToArray( in SerializeUnknownMessageSetItemsToArray() 328 target = io::CodedOutputStream::WriteVarint32ToArray( in SerializeUnknownMessageSetItemsToArray() 332 target = io::CodedOutputStream::WriteTagToArray( in SerializeUnknownMessageSetItemsToArray() [all …]
|
D | wire_format_lite_inl.h | 416 io::CodedOutputStream* output) { in WriteTag() 421 io::CodedOutputStream* output) { in WriteInt32NoTag() 425 io::CodedOutputStream* output) { in WriteInt64NoTag() 429 io::CodedOutputStream* output) { in WriteUInt32NoTag() 433 io::CodedOutputStream* output) { in WriteUInt64NoTag() 437 io::CodedOutputStream* output) { in WriteSInt32NoTag() 441 io::CodedOutputStream* output) { in WriteSInt64NoTag() 445 io::CodedOutputStream* output) { in WriteFixed32NoTag() 449 io::CodedOutputStream* output) { in WriteFixed64NoTag() 453 io::CodedOutputStream* output) { in WriteSFixed32NoTag() [all …]
|
D | message_lite.h | 49 class CodedOutputStream; variable 175 bool SerializeToCodedStream(io::CodedOutputStream* output) const; 177 bool SerializePartialToCodedStream(io::CodedOutputStream* output) const; 219 io::CodedOutputStream* output) const = 0;
|
D | wire_format.h | 58 class CodedOutputStream; // coded_stream.h variable 118 int size, io::CodedOutputStream* output); 147 io::CodedOutputStream* output); 164 io::CodedOutputStream* output);
|
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()
|
/external/protobuf/src/google/protobuf/ |
D | wire_format_lite.cc | 59 io::CodedOutputStream::VarintSize32(kMessageSetItemStartTag) + 60 io::CodedOutputStream::VarintSize32(kMessageSetItemEndTag) + 61 io::CodedOutputStream::VarintSize32(kMessageSetTypeIdTag) + 62 io::CodedOutputStream::VarintSize32(kMessageSetMessageTag); 210 io::CodedOutputStream* output) { in WriteInt32() 215 io::CodedOutputStream* output) { in WriteInt64() 220 io::CodedOutputStream* output) { in WriteUInt32() 225 io::CodedOutputStream* output) { in WriteUInt64() 230 io::CodedOutputStream* output) { in WriteSInt32() 235 io::CodedOutputStream* output) { in WriteSInt64() [all …]
|
D | wire_format_lite_inl.h | 403 io::CodedOutputStream* output) { in WriteTag() 408 io::CodedOutputStream* output) { in WriteInt32NoTag() 412 io::CodedOutputStream* output) { in WriteInt64NoTag() 416 io::CodedOutputStream* output) { in WriteUInt32NoTag() 420 io::CodedOutputStream* output) { in WriteUInt64NoTag() 424 io::CodedOutputStream* output) { in WriteSInt32NoTag() 428 io::CodedOutputStream* output) { in WriteSInt64NoTag() 432 io::CodedOutputStream* output) { in WriteFixed32NoTag() 436 io::CodedOutputStream* output) { in WriteFixed64NoTag() 440 io::CodedOutputStream* output) { in WriteSFixed32NoTag() [all …]
|
D | wire_format.h | 57 class CodedOutputStream; // coded_stream.h variable 117 int size, io::CodedOutputStream* output); 142 io::CodedOutputStream* output); 156 io::CodedOutputStream* output); 194 io::CodedOutputStream* output); 211 io::CodedOutputStream* output);
|
D | wire_format.cc | 163 io::CodedOutputStream* output) { in SerializeUnknownFields() 236 io::CodedOutputStream* output) { in SerializeUnknownMessageSetItems() 274 target = io::CodedOutputStream::WriteTagToArray( in SerializeUnknownMessageSetItemsToArray() 278 target = io::CodedOutputStream::WriteTagToArray( in SerializeUnknownMessageSetItemsToArray() 280 target = io::CodedOutputStream::WriteVarint32ToArray( in SerializeUnknownMessageSetItemsToArray() 284 target = io::CodedOutputStream::WriteTagToArray( in SerializeUnknownMessageSetItemsToArray() 286 target = io::CodedOutputStream::WriteVarint32ToArray(data.size(), target); in SerializeUnknownMessageSetItemsToArray() 287 target = io::CodedOutputStream::WriteStringToArray(data, target); in SerializeUnknownMessageSetItemsToArray() 290 target = io::CodedOutputStream::WriteTagToArray( in SerializeUnknownMessageSetItemsToArray() 306 size += io::CodedOutputStream::VarintSize32( in ComputeUnknownFieldsSize() [all …]
|
D | message_lite.h | 168 bool SerializeToCodedStream(io::CodedOutputStream* output) const; 170 bool SerializePartialToCodedStream(io::CodedOutputStream* output) const; 212 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()
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
D | FieldSet.java | 469 public void writeTo(final CodedOutputStream output) in writeTo() 480 public void writeMessageSetTo(final CodedOutputStream output) in writeMessageSetTo() 506 private static void writeElement(final CodedOutputStream output, in writeElement() 531 final CodedOutputStream output, in writeElementNoTag() 562 final CodedOutputStream output) in writeField() 613 size += CodedOutputStream.computeMessageSetExtensionSize( in getMessageSetSerializedSize() 636 int tagSize = CodedOutputStream.computeTagSize(number); in computeElementSize() 658 case DOUBLE : return CodedOutputStream.computeDoubleSizeNoTag ((Double )value); in computeElementSizeNoTag() 659 case FLOAT : return CodedOutputStream.computeFloatSizeNoTag ((Float )value); in computeElementSizeNoTag() 660 case INT64 : return CodedOutputStream.computeInt64SizeNoTag ((Long )value); in computeElementSizeNoTag() [all …]
|
D | AbstractMessageLite.java | 63 final CodedOutputStream output = CodedOutputStream.newInstance(result); in toByteArray() 76 CodedOutputStream.computePreferredBufferSize(getSerializedSize()); in writeTo() 77 final CodedOutputStream codedOutput = in writeTo() 78 CodedOutputStream.newInstance(output, bufferSize); in writeTo() 85 final int bufferSize = CodedOutputStream.computePreferredBufferSize( in writeDelimitedTo() 86 CodedOutputStream.computeRawVarint32Size(serialized) + serialized); in writeDelimitedTo() 87 final CodedOutputStream codedOutput = in writeDelimitedTo() 88 CodedOutputStream.newInstance(output, bufferSize); in writeDelimitedTo()
|
D | UnknownFieldSet.java | 128 public void writeTo(final CodedOutputStream output) throws IOException { in writeTo() 168 final CodedOutputStream output = CodedOutputStream.newInstance(result); in toByteArray() 184 final CodedOutputStream codedOutput = CodedOutputStream.newInstance(output); in writeTo() 190 final CodedOutputStream codedOutput = CodedOutputStream.newInstance(output); in writeDelimitedTo() 209 public void writeAsMessageSetTo(final CodedOutputStream output) in writeAsMessageSetTo() 731 public void writeTo(final int fieldNumber, final CodedOutputStream output) in writeTo() 757 result += CodedOutputStream.computeUInt64Size(fieldNumber, value); in getSerializedSize() 760 result += CodedOutputStream.computeFixed32Size(fieldNumber, value); in getSerializedSize() 763 result += CodedOutputStream.computeFixed64Size(fieldNumber, value); in getSerializedSize() 766 result += CodedOutputStream.computeBytesSize(fieldNumber, value); in getSerializedSize() [all …]
|
D | CodedOutputStream.java | 51 public final class CodedOutputStream { class 75 private CodedOutputStream(final byte[] buffer, final int offset, in CodedOutputStream() method in CodedOutputStream 83 private CodedOutputStream(final OutputStream output, final byte[] buffer) { in CodedOutputStream() method in CodedOutputStream 94 public static CodedOutputStream newInstance(final OutputStream output) { in newInstance() 102 public static CodedOutputStream newInstance(final OutputStream output, in newInstance() 104 return new CodedOutputStream(output, new byte[bufferSize]); in newInstance() 114 public static CodedOutputStream newInstance(final byte[] flatArray) { in newInstance() 125 public static CodedOutputStream newInstance(final byte[] flatArray, in newInstance() 128 return new CodedOutputStream(flatArray, offset, length); in newInstance()
|
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
D | FieldSet.java | 575 public void writeTo(final CodedOutputStream output) in writeTo() 591 public void writeMessageSetTo(final CodedOutputStream output) in writeMessageSetTo() 604 final CodedOutputStream output) throws IOException { in writeMessageSetTo() 626 private static void writeElement(final CodedOutputStream output, in writeElement() 651 final CodedOutputStream output, in writeElementNoTag() 682 final CodedOutputStream output) in writeField() 754 return CodedOutputStream.computeLazyFieldMessageSetExtensionSize( in getMessageSetSerializedSize() 757 return CodedOutputStream.computeMessageSetExtensionSize( in getMessageSetSerializedSize() 779 int tagSize = CodedOutputStream.computeTagSize(number); in computeElementSize() 801 case DOUBLE : return CodedOutputStream.computeDoubleSizeNoTag ((Double )value); in computeElementSizeNoTag() [all …]
|
D | AbstractMessageLite.java | 63 final CodedOutputStream output = CodedOutputStream.newInstance(result); in toByteArray() 76 CodedOutputStream.computePreferredBufferSize(getSerializedSize()); in writeTo() 77 final CodedOutputStream codedOutput = in writeTo() 78 CodedOutputStream.newInstance(output, bufferSize); in writeTo() 85 final int bufferSize = CodedOutputStream.computePreferredBufferSize( in writeDelimitedTo() 86 CodedOutputStream.computeRawVarint32Size(serialized) + serialized); in writeDelimitedTo() 87 final CodedOutputStream codedOutput = in writeDelimitedTo() 88 CodedOutputStream.newInstance(output, bufferSize); in writeDelimitedTo()
|
D | UnknownFieldSet.java | 128 public void writeTo(final CodedOutputStream output) throws IOException { in writeTo() 168 final CodedOutputStream output = CodedOutputStream.newInstance(result); in toByteArray() 184 final CodedOutputStream codedOutput = CodedOutputStream.newInstance(output); in writeTo() 190 final CodedOutputStream codedOutput = CodedOutputStream.newInstance(output); in writeDelimitedTo() 209 public void writeAsMessageSetTo(final CodedOutputStream output) in writeAsMessageSetTo() 731 public void writeTo(final int fieldNumber, final CodedOutputStream output) in writeTo() 757 result += CodedOutputStream.computeUInt64Size(fieldNumber, value); in getSerializedSize() 760 result += CodedOutputStream.computeFixed32Size(fieldNumber, value); in getSerializedSize() 763 result += CodedOutputStream.computeFixed64Size(fieldNumber, value); in getSerializedSize() 766 result += CodedOutputStream.computeBytesSize(fieldNumber, value); in getSerializedSize() [all …]
|
D | CodedOutputStream.java | 52 public final class CodedOutputStream { class 76 private CodedOutputStream(final byte[] buffer, final int offset, in CodedOutputStream() method in CodedOutputStream 84 private CodedOutputStream(final OutputStream output, final byte[] buffer) { in CodedOutputStream() method in CodedOutputStream 95 public static CodedOutputStream newInstance(final OutputStream output) { in newInstance() 103 public static CodedOutputStream newInstance(final OutputStream output, in newInstance() 105 return new CodedOutputStream(output, new byte[bufferSize]); in newInstance() 115 public static CodedOutputStream newInstance(final byte[] flatArray) { in newInstance() 126 public static CodedOutputStream newInstance(final byte[] flatArray, in newInstance() 129 return new CodedOutputStream(flatArray, offset, length); in newInstance()
|
/external/protobuf/src/google/protobuf/io/ |
D | coded_stream.h | 130 class CodedOutputStream; variable 578 class LIBPROTOBUF_EXPORT CodedOutputStream { 581 explicit CodedOutputStream(ZeroCopyOutputStream* output); 585 ~CodedOutputStream(); 678 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(CodedOutputStream); 879 inline uint8* CodedOutputStream::GetDirectBufferForNBytesAndAdvance(int size) { in GetDirectBufferForNBytesAndAdvance() 889 inline uint8* CodedOutputStream::WriteVarint32ToArray(uint32 value, in WriteVarint32ToArray() 899 inline void CodedOutputStream::WriteVarint32SignExtended(int32 value) { in WriteVarint32SignExtended() 907 inline uint8* CodedOutputStream::WriteVarint32SignExtendedToArray( in WriteVarint32SignExtendedToArray() 916 inline uint8* CodedOutputStream::WriteLittleEndian32ToArray(uint32 value, in WriteLittleEndian32ToArray() [all …]
|
D | coded_stream.cc | 526 CodedOutputStream::CodedOutputStream(ZeroCopyOutputStream* output) in CodedOutputStream() function in google::protobuf::io::CodedOutputStream 540 CodedOutputStream::~CodedOutputStream() { in ~CodedOutputStream() 546 bool CodedOutputStream::Skip(int count) { in Skip() 558 bool CodedOutputStream::GetDirectBufferPointer(void** data, int* size) { in GetDirectBufferPointer() 566 void CodedOutputStream::WriteRaw(const void* data, int size) { in WriteRaw() 578 uint8* CodedOutputStream::WriteRawToArray( in WriteRawToArray() 585 void CodedOutputStream::WriteLittleEndian32(uint32 value) { in WriteLittleEndian32() 600 void CodedOutputStream::WriteLittleEndian64(uint64 value) { in WriteLittleEndian64() 615 inline uint8* CodedOutputStream::WriteVarint32FallbackToArrayInline( in WriteVarint32FallbackToArrayInline() 645 void CodedOutputStream::WriteVarint32(uint32 value) { in WriteVarint32() [all …]
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/ |
D | coded_stream.h | 143 class CodedOutputStream; variable 606 class LIBPROTOBUF_EXPORT CodedOutputStream { 609 explicit CodedOutputStream(ZeroCopyOutputStream* output); 613 ~CodedOutputStream(); 721 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(CodedOutputStream); 924 inline uint8* CodedOutputStream::GetDirectBufferForNBytesAndAdvance(int size) { in GetDirectBufferForNBytesAndAdvance() 934 inline uint8* CodedOutputStream::WriteVarint32ToArray(uint32 value, in WriteVarint32ToArray() 944 inline void CodedOutputStream::WriteVarint32SignExtended(int32 value) { in WriteVarint32SignExtended() 952 inline uint8* CodedOutputStream::WriteVarint32SignExtendedToArray( in WriteVarint32SignExtendedToArray() 961 inline uint8* CodedOutputStream::WriteLittleEndian32ToArray(uint32 value, in WriteLittleEndian32ToArray() [all …]
|
D | coded_stream.cc | 553 CodedOutputStream::CodedOutputStream(ZeroCopyOutputStream* output) in CodedOutputStream() function in google::protobuf::io::CodedOutputStream 567 CodedOutputStream::~CodedOutputStream() { in ~CodedOutputStream() 573 bool CodedOutputStream::Skip(int count) { in Skip() 585 bool CodedOutputStream::GetDirectBufferPointer(void** data, int* size) { in GetDirectBufferPointer() 593 void CodedOutputStream::WriteRaw(const void* data, int size) { in WriteRaw() 605 uint8* CodedOutputStream::WriteRawToArray( in WriteRawToArray() 612 void CodedOutputStream::WriteLittleEndian32(uint32 value) { in WriteLittleEndian32() 627 void CodedOutputStream::WriteLittleEndian64(uint64 value) { in WriteLittleEndian64() 642 inline uint8* CodedOutputStream::WriteVarint32FallbackToArrayInline( in WriteVarint32FallbackToArrayInline() 672 void CodedOutputStream::WriteVarint32(uint32 value) { in WriteVarint32() [all …]
|