/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
D | CodedOutputByteBufferNano.java | 87 public void writeDouble(final int fieldNumber, final double value) in writeDouble() argument 89 writeTag(fieldNumber, WireFormatNano.WIRETYPE_FIXED64); in writeDouble() 94 public void writeFloat(final int fieldNumber, final float value) in writeFloat() argument 96 writeTag(fieldNumber, WireFormatNano.WIRETYPE_FIXED32); in writeFloat() 101 public void writeUInt64(final int fieldNumber, final long value) in writeUInt64() argument 103 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeUInt64() 108 public void writeInt64(final int fieldNumber, final long value) in writeInt64() argument 110 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeInt64() 115 public void writeInt32(final int fieldNumber, final int value) in writeInt32() argument 117 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeInt32() [all …]
|
D | FieldArray.java | 71 public FieldData get(int fieldNumber) { in get() argument 72 int i = binarySearch(fieldNumber); in get() 84 public void remove(int fieldNumber) { in remove() argument 85 int i = binarySearch(fieldNumber); in remove() 121 public void put(int fieldNumber, FieldData data) { in put() argument 122 int i = binarySearch(fieldNumber); in put() 130 mFieldNumbers[i] = fieldNumber; in put() 139 i = ~ binarySearch(fieldNumber); in put() 160 mFieldNumbers[i] = fieldNumber; in put()
|
D | ExtendableMessageNano.java | 85 int fieldNumber = WireFormatNano.getTagFieldNumber(extension.tag); in setExtension() local 88 unknownFieldData.remove(fieldNumber); in setExtension() 98 field = unknownFieldData.get(fieldNumber); in setExtension() 101 unknownFieldData.put(fieldNumber, new FieldData(extension, value)); in setExtension() 132 int fieldNumber = WireFormatNano.getTagFieldNumber(tag); in storeUnknownField() local 141 field = unknownFieldData.get(fieldNumber); in storeUnknownField() 145 unknownFieldData.put(fieldNumber, field); in storeUnknownField()
|
D | Extension.java | 248 int fieldNumber = WireFormatNano.getTagFieldNumber(tag); in writeSingularData() local 251 out.writeTag(fieldNumber, WireFormatNano.WIRETYPE_END_GROUP); in writeSingularData() 300 int fieldNumber = WireFormatNano.getTagFieldNumber(tag); in computeSingularSerializedSize() local 304 return CodedOutputByteBufferNano.computeGroupSize(fieldNumber, groupValue); in computeSingularSerializedSize() 307 return CodedOutputByteBufferNano.computeMessageSize(fieldNumber, messageValue); in computeSingularSerializedSize() 665 int fieldNumber = WireFormatNano.getTagFieldNumber(tag); in computeSingularSerializedSize() local 669 return CodedOutputByteBufferNano.computeDoubleSize(fieldNumber, doubleValue); in computeSingularSerializedSize() 672 return CodedOutputByteBufferNano.computeFloatSize(fieldNumber, floatValue); in computeSingularSerializedSize() 675 return CodedOutputByteBufferNano.computeInt64Size(fieldNumber, int64Value); in computeSingularSerializedSize() 678 return CodedOutputByteBufferNano.computeUInt64Size(fieldNumber, uint64Value); in computeSingularSerializedSize() [all …]
|
D | WireFormatNano.java | 71 static int makeTag(final int fieldNumber, final int wireType) { in makeTag() argument 72 return (fieldNumber << TAG_TYPE_BITS) | wireType; in makeTag()
|
D | CodedInputByteBufferNano.java | 203 public void readGroup(final MessageNano msg, final int fieldNumber) in readGroup() argument 211 WireFormatNano.makeTag(fieldNumber, WireFormatNano.WIRETYPE_END_GROUP)); in readGroup()
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
D | CodedOutputStream.java | 134 public void writeDouble(final int fieldNumber, final double value) in writeDouble() argument 136 writeTag(fieldNumber, WireFormat.WIRETYPE_FIXED64); in writeDouble() 141 public void writeFloat(final int fieldNumber, final float value) in writeFloat() argument 143 writeTag(fieldNumber, WireFormat.WIRETYPE_FIXED32); in writeFloat() 148 public void writeUInt64(final int fieldNumber, final long value) in writeUInt64() argument 150 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeUInt64() 155 public void writeInt64(final int fieldNumber, final long value) in writeInt64() argument 157 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeInt64() 162 public void writeInt32(final int fieldNumber, final int value) in writeInt32() argument 164 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeInt32() [all …]
|
D | UnknownFieldSet.java | 731 public void writeTo(final int fieldNumber, final CodedOutputStream output) in writeTo() argument 734 output.writeUInt64(fieldNumber, value); in writeTo() 737 output.writeFixed32(fieldNumber, value); in writeTo() 740 output.writeFixed64(fieldNumber, value); in writeTo() 743 output.writeBytes(fieldNumber, value); in writeTo() 746 output.writeGroup(fieldNumber, value); in writeTo() 754 public int getSerializedSize(final int fieldNumber) { in getSerializedSize() argument 757 result += CodedOutputStream.computeUInt64Size(fieldNumber, value); in getSerializedSize() 760 result += CodedOutputStream.computeFixed32Size(fieldNumber, value); in getSerializedSize() 763 result += CodedOutputStream.computeFixed64Size(fieldNumber, value); in getSerializedSize() [all …]
|
D | ExtensionRegistryLite.java | 100 final int fieldNumber) { in findLiteExtensionByNumber() argument 103 new ObjectIntPair(containingTypeDefaultInstance, fieldNumber)); in findLiteExtensionByNumber()
|
D | WireFormat.java | 69 static int makeTag(final int fieldNumber, final int wireType) { in makeTag() argument 70 return (fieldNumber << TAG_TYPE_BITS) | wireType; in makeTag()
|
D | AbstractMessage.java | 294 final int fieldNumber = WireFormat.getTagFieldNumber(tag); in mergeFieldFrom() local 299 if (type.isExtensionNumber(fieldNumber)) { in mergeFieldFrom() 308 .findExtensionByNumber(type, fieldNumber); in mergeFieldFrom() 325 field = type.findFieldByNumber(fieldNumber); in mergeFieldFrom() 408 unknownFields.mergeVarintField(fieldNumber, rawValue); in mergeFieldFrom()
|
D | ExtensionRegistry.java | 151 final int fieldNumber) { in findExtensionByNumber() argument 153 new DescriptorIntPair(containingType, fieldNumber)); in findExtensionByNumber()
|
D | CodedInputStream.java | 214 public void readGroup(final int fieldNumber, in readGroup() argument 224 WireFormat.makeTag(fieldNumber, WireFormat.WIRETYPE_END_GROUP)); in readGroup() 236 public void readUnknownGroup(final int fieldNumber, in readUnknownGroup() argument 244 readGroup(fieldNumber, builder, null); in readUnknownGroup()
|
D | GeneratedMessageLite.java | 309 final int fieldNumber = WireFormat.getTagFieldNumber(tag); in parseUnknownField() local 313 getDefaultInstanceForType(), fieldNumber); in parseUnknownField()
|
/external/protobuf/java/src/main/java/com/google/protobuf/micro/ |
D | CodedOutputStreamMicro.java | 120 public void writeDouble(final int fieldNumber, final double value) in writeDouble() argument 122 writeTag(fieldNumber, WireFormatMicro.WIRETYPE_FIXED64); in writeDouble() 127 public void writeFloat(final int fieldNumber, final float value) in writeFloat() argument 129 writeTag(fieldNumber, WireFormatMicro.WIRETYPE_FIXED32); in writeFloat() 134 public void writeUInt64(final int fieldNumber, final long value) in writeUInt64() argument 136 writeTag(fieldNumber, WireFormatMicro.WIRETYPE_VARINT); in writeUInt64() 141 public void writeInt64(final int fieldNumber, final long value) in writeInt64() argument 143 writeTag(fieldNumber, WireFormatMicro.WIRETYPE_VARINT); in writeInt64() 148 public void writeInt32(final int fieldNumber, final int value) in writeInt32() argument 150 writeTag(fieldNumber, WireFormatMicro.WIRETYPE_VARINT); in writeInt32() [all …]
|
D | WireFormatMicro.java | 69 static int makeTag(final int fieldNumber, final int wireType) { in makeTag() argument 70 return (fieldNumber << TAG_TYPE_BITS) | wireType; in makeTag()
|
D | CodedInputStreamMicro.java | 211 public void readGroup(final MessageMicro msg, final int fieldNumber) in readGroup() argument 219 WireFormatMicro.makeTag(fieldNumber, WireFormatMicro.WIRETYPE_END_GROUP)); in readGroup()
|
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
D | CodedOutputStream.java | 135 public void writeDouble(final int fieldNumber, final double value) in writeDouble() argument 137 writeTag(fieldNumber, WireFormat.WIRETYPE_FIXED64); in writeDouble() 142 public void writeFloat(final int fieldNumber, final float value) in writeFloat() argument 144 writeTag(fieldNumber, WireFormat.WIRETYPE_FIXED32); in writeFloat() 149 public void writeUInt64(final int fieldNumber, final long value) in writeUInt64() argument 151 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeUInt64() 156 public void writeInt64(final int fieldNumber, final long value) in writeInt64() argument 158 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeInt64() 163 public void writeInt32(final int fieldNumber, final int value) in writeInt32() argument 165 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeInt32() [all …]
|
D | UnknownFieldSet.java | 731 public void writeTo(final int fieldNumber, final CodedOutputStream output) in writeTo() argument 734 output.writeUInt64(fieldNumber, value); in writeTo() 737 output.writeFixed32(fieldNumber, value); in writeTo() 740 output.writeFixed64(fieldNumber, value); in writeTo() 743 output.writeBytes(fieldNumber, value); in writeTo() 746 output.writeGroup(fieldNumber, value); in writeTo() 754 public int getSerializedSize(final int fieldNumber) { in getSerializedSize() argument 757 result += CodedOutputStream.computeUInt64Size(fieldNumber, value); in getSerializedSize() 760 result += CodedOutputStream.computeFixed32Size(fieldNumber, value); in getSerializedSize() 763 result += CodedOutputStream.computeFixed64Size(fieldNumber, value); in getSerializedSize() [all …]
|
D | ExtensionRegistryLite.java | 116 final int fieldNumber) { in findLiteExtensionByNumber() argument 119 new ObjectIntPair(containingTypeDefaultInstance, fieldNumber)); in findLiteExtensionByNumber()
|
D | CodedInputStream.java | 232 public void readGroup(final int fieldNumber, in readGroup() argument 242 WireFormat.makeTag(fieldNumber, WireFormat.WIRETYPE_END_GROUP)); in readGroup() 248 final int fieldNumber, in readGroup() argument 258 WireFormat.makeTag(fieldNumber, WireFormat.WIRETYPE_END_GROUP)); in readGroup() 271 public void readUnknownGroup(final int fieldNumber, in readUnknownGroup() argument 279 readGroup(fieldNumber, builder, null); in readUnknownGroup()
|
D | WireFormat.java | 69 static int makeTag(final int fieldNumber, final int wireType) { in makeTag() argument 70 return (fieldNumber << TAG_TYPE_BITS) | wireType; in makeTag()
|
D | ExtensionRegistry.java | 151 final int fieldNumber) { in findExtensionByNumber() argument 153 new DescriptorIntPair(containingType, fieldNumber)); in findExtensionByNumber()
|
D | AbstractMessage.java | 454 final int fieldNumber = WireFormat.getTagFieldNumber(tag); in mergeFieldFrom() local 459 if (type.isExtensionNumber(fieldNumber)) { in mergeFieldFrom() 468 .findExtensionByNumber(type, fieldNumber); in mergeFieldFrom() 485 field = type.findFieldByNumber(fieldNumber); in mergeFieldFrom() 570 unknownFields.mergeVarintField(fieldNumber, rawValue); in mergeFieldFrom()
|
D | GeneratedMessageLite.java | 483 int fieldNumber = WireFormat.getTagFieldNumber(tag); in parseUnknownField() local 487 defaultInstance, fieldNumber); in parseUnknownField()
|