HomeSort by relevance Sort by last modified time
    Searched refs:fieldNumber (Results 1 - 25 of 39) sorted by null

1 2

  /external/protobuf/java/src/main/java/com/google/protobuf/micro/
CodedOutputStreamMicro.java 120 public void writeDouble(final int fieldNumber, final double value)
122 writeTag(fieldNumber, WireFormatMicro.WIRETYPE_FIXED64);
127 public void writeFloat(final int fieldNumber, final float value)
129 writeTag(fieldNumber, WireFormatMicro.WIRETYPE_FIXED32);
134 public void writeUInt64(final int fieldNumber, final long value)
136 writeTag(fieldNumber, WireFormatMicro.WIRETYPE_VARINT);
141 public void writeInt64(final int fieldNumber, final long value)
143 writeTag(fieldNumber, WireFormatMicro.WIRETYPE_VARINT);
148 public void writeInt32(final int fieldNumber, final int value)
150 writeTag(fieldNumber, WireFormatMicro.WIRETYPE_VARINT)
    [all...]
WireFormatMicro.java 69 static int makeTag(final int fieldNumber, final int wireType) {
70 return (fieldNumber << TAG_TYPE_BITS) | wireType;
  /external/protobuf/java/src/main/java/com/google/protobuf/
CodedOutputStream.java 168 public void writeDouble(final int fieldNumber, final double value)
170 writeTag(fieldNumber, WireFormat.WIRETYPE_FIXED64);
175 public void writeFloat(final int fieldNumber, final float value)
177 writeTag(fieldNumber, WireFormat.WIRETYPE_FIXED32);
182 public void writeUInt64(final int fieldNumber, final long value)
184 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT);
189 public void writeInt64(final int fieldNumber, final long value)
191 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT);
196 public void writeInt32(final int fieldNumber, final int value)
198 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT)
    [all...]
ExtensionRegistryLite.java 116 final int fieldNumber) {
119 new ObjectIntPair(containingTypeDefaultInstance, fieldNumber));
UnknownFieldSet.java 748 public void writeTo(final int fieldNumber, final CodedOutputStream output)
751 output.writeUInt64(fieldNumber, value);
754 output.writeFixed32(fieldNumber, value);
757 output.writeFixed64(fieldNumber, value);
760 output.writeBytes(fieldNumber, value);
763 output.writeGroup(fieldNumber, value);
771 public int getSerializedSize(final int fieldNumber) {
774 result += CodedOutputStream.computeUInt64Size(fieldNumber, value);
777 result += CodedOutputStream.computeFixed32Size(fieldNumber, value);
780 result += CodedOutputStream.computeFixed64Size(fieldNumber, value)
    [all...]
ExtensionRegistry.java 172 final Descriptor containingType, final int fieldNumber) {
173 return findImmutableExtensionByNumber(containingType, fieldNumber);
183 final Descriptor containingType, final int fieldNumber) {
185 new DescriptorIntPair(containingType, fieldNumber));
195 final Descriptor containingType, final int fieldNumber) {
197 new DescriptorIntPair(containingType, fieldNumber));
WireFormat.java 69 static int makeTag(final int fieldNumber, final int wireType) {
70 return (fieldNumber << TAG_TYPE_BITS) | wireType;
MessageReflection.java 242 int fieldNumber);
439 int fieldNumber) {
441 fieldNumber);
600 int fieldNumber) {
602 fieldNumber);
691 final int fieldNumber = WireFormat.getTagFieldNumber(tag);
696 if (type.isExtensionNumber(fieldNumber)) {
705 type, fieldNumber);
723 field = type.findFieldByNumber(fieldNumber);
790 unknownFields.mergeVarintField(fieldNumber, rawValue)
    [all...]
CodedInputStream.java 416 public void readGroup(final int fieldNumber,
426 WireFormat.makeTag(fieldNumber, WireFormat.WIRETYPE_END_GROUP));
433 final int fieldNumber,
443 WireFormat.makeTag(fieldNumber, WireFormat.WIRETYPE_END_GROUP));
456 public void readUnknownGroup(final int fieldNumber,
464 readGroup(fieldNumber, builder, null);
    [all...]
  /external/protobuf/java/src/main/java/com/google/protobuf/nano/
CodedOutputByteBufferNano.java 93 public void writeDouble(final int fieldNumber, final double value)
95 writeTag(fieldNumber, WireFormatNano.WIRETYPE_FIXED64);
100 public void writeFloat(final int fieldNumber, final float value)
102 writeTag(fieldNumber, WireFormatNano.WIRETYPE_FIXED32);
107 public void writeUInt64(final int fieldNumber, final long value)
109 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT);
114 public void writeInt64(final int fieldNumber, final long value)
116 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT);
121 public void writeInt32(final int fieldNumber, final int value)
123 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT)
    [all...]
ExtendableMessageNano.java 97 int fieldNumber = WireFormatNano.getTagFieldNumber(extension.tag);
100 unknownFieldData.remove(fieldNumber);
110 field = unknownFieldData.get(fieldNumber);
113 unknownFieldData.put(fieldNumber, new FieldData(extension, value));
144 int fieldNumber = WireFormatNano.getTagFieldNumber(tag);
153 field = unknownFieldData.get(fieldNumber);
157 unknownFieldData.put(fieldNumber, field);
FieldArray.java 71 * Gets the FieldData mapped from the specified fieldNumber, or <code>null</code>
74 FieldData get(int fieldNumber) {
75 int i = binarySearch(fieldNumber);
85 * Removes the data from the specified fieldNumber, if there was any.
87 void remove(int fieldNumber) {
88 int i = binarySearch(fieldNumber);
121 * Adds a mapping from the specified fieldNumber to the specified data,
124 void put(int fieldNumber, FieldData data) {
125 int i = binarySearch(fieldNumber);
133 mFieldNumbers[i] = fieldNumber;
    [all...]
WireFormatNano.java 71 static int makeTag(final int fieldNumber, final int wireType) {
72 return (fieldNumber << TAG_TYPE_BITS) | wireType;
Extension.java 267 int fieldNumber = WireFormatNano.getTagFieldNumber(tag);
270 out.writeTag(fieldNumber, WireFormatNano.WIRETYPE_END_GROUP);
319 int fieldNumber = WireFormatNano.getTagFieldNumber(tag);
323 return CodedOutputByteBufferNano.computeGroupSize(fieldNumber, groupValue);
326 return CodedOutputByteBufferNano.computeMessageSize(fieldNumber, messageValue);
684 int fieldNumber = WireFormatNano.getTagFieldNumber(tag);
688 return CodedOutputByteBufferNano.computeDoubleSize(fieldNumber, doubleValue);
691 return CodedOutputByteBufferNano.computeFloatSize(fieldNumber, floatValue);
694 return CodedOutputByteBufferNano.computeInt64Size(fieldNumber, int64Value);
697 return CodedOutputByteBufferNano.computeUInt64Size(fieldNumber, uint64Value)
    [all...]
CodedInputByteBufferNano.java 203 public void readGroup(final MessageNano msg, final int fieldNumber)
211 WireFormatNano.makeTag(fieldNumber, WireFormatNano.WIRETYPE_END_GROUP));
  /prebuilts/tools/common/m2/repository/com/google/protobuf/nano/protobuf-javanano/3.0.0-alpha-5/
protobuf-javanano-3.0.0-alpha-5.jar 
  /prebuilts/tools/common/m2/repository/com/android/tools/external/libprotobuf-java-lite/2.3.0/
libprotobuf-java-lite-2.3.0.jar 
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
Tabber.java 101 public int getStop(int fieldNumber) {
102 if (fieldNumber < 0) return 0;
103 if (fieldNumber >= stops.size()) fieldNumber = stops.size() - 1;
104 return ((Integer)stops.get(fieldNumber)).intValue();
106 public int getType(int fieldNumber) {
107 if (fieldNumber < 0) return LEFT;
108 if (fieldNumber >= stops.size()) return LEFT;
109 return ((Integer)types.get(fieldNumber)).intValue();
  /external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
Tabber.java 100 public int getStop(int fieldNumber) {
101 if (fieldNumber < 0) return 0;
102 if (fieldNumber >= stops.size()) fieldNumber = stops.size() - 1;
103 return ((Integer)stops.get(fieldNumber)).intValue();
105 public int getType(int fieldNumber) {
106 if (fieldNumber < 0) return LEFT;
107 if (fieldNumber >= stops.size()) return LEFT;
108 return ((Integer)types.get(fieldNumber)).intValue();
  /external/google-tv-pairing-protocol/java/jar/
protobuf-java-2.2.0-lite.jar 
  /prebuilts/tools/common/m2/repository/com/google/protobuf/protobuf-java/2.6.1/
protobuf-java-2.6.1.jar 
  /prebuilts/tools/common/offline-m2/com/google/protobuf/protobuf-java/2.6.1/
protobuf-java-2.6.1.jar 
  /prebuilts/tools/common/m2/repository/com/google/protobuf/protobuf-java/2.5.0/
protobuf-java-2.5.0.jar 
  /prebuilts/tools/common/offline-m2/com/google/protobuf/protobuf-java/2.5.0/
protobuf-java-2.5.0.jar 
  /external/protobuf/java/src/test/java/com/google/protobuf/
UnknownFieldSetTest.java 212 int fieldNumber = unknownFields.asMap().keySet().iterator().next();
214 UnknownFieldSet.newBuilder().mergeFrom(unknownFields).clearField(fieldNumber).build();
215 assertFalse(fields.hasField(fieldNumber));

Completed in 6972 milliseconds

1 2