Home
last modified time | relevance | path

Searched refs:fieldNumber (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBCodedOutputStream.h82 - (void)writeTag:(uint32_t)fieldNumber format:(GPBWireFormat)format;
114 - (void)writeDouble:(int32_t)fieldNumber value:(double)value;
116 - (void)writeDoubleArray:(int32_t)fieldNumber
123 - (void)writeFloat:(int32_t)fieldNumber value:(float)value;
125 - (void)writeFloatArray:(int32_t)fieldNumber
132 - (void)writeUInt64:(int32_t)fieldNumber value:(uint64_t)value;
134 - (void)writeUInt64Array:(int32_t)fieldNumber
141 - (void)writeInt64:(int32_t)fieldNumber value:(int64_t)value;
143 - (void)writeInt64Array:(int32_t)fieldNumber
150 - (void)writeInt32:(int32_t)fieldNumber value:(int32_t)value;
[all …]
DGPBCodedOutputStream_PackagePrivate.h37 size_t GPBComputeDoubleSize(int32_t fieldNumber, double value)
39 size_t GPBComputeFloatSize(int32_t fieldNumber, float value)
41 size_t GPBComputeUInt64Size(int32_t fieldNumber, uint64_t value)
43 size_t GPBComputeInt64Size(int32_t fieldNumber, int64_t value)
45 size_t GPBComputeInt32Size(int32_t fieldNumber, int32_t value)
47 size_t GPBComputeFixed64Size(int32_t fieldNumber, uint64_t value)
49 size_t GPBComputeFixed32Size(int32_t fieldNumber, uint32_t value)
51 size_t GPBComputeBoolSize(int32_t fieldNumber, BOOL value)
53 size_t GPBComputeStringSize(int32_t fieldNumber, NSString *value)
55 size_t GPBComputeGroupSize(int32_t fieldNumber, GPBMessage *value)
[all …]
DGPBCodedOutputStream.m116 static void GPBWriteUInt32(GPBOutputBufferState *state, int32_t fieldNumber,
118 GPBWriteTagWithFormat(state, fieldNumber, GPBWireFormatVarint);
123 uint32_t fieldNumber, GPBWireFormat format) {
124 GPBWriteRawVarint32(state, GPBWireFormatMakeTag(fieldNumber, format));
216 - (void)writeDouble:(int32_t)fieldNumber value:(double)value {
217 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatFixed64);
225 - (void)writeFloat:(int32_t)fieldNumber value:(float)value {
226 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatFixed32);
234 - (void)writeUInt64:(int32_t)fieldNumber value:(uint64_t)value {
235 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatVarint);
[all …]
DGPBExtensionRegistry.h78 fieldNumber:(NSInteger)fieldNumber;
DGPBExtensionInternals.m102 return GPBCompute##TYPE##Size(description->fieldNumber, \
106 return GPBCompute##TYPE##Size(description->fieldNumber, object);
127 return GPBComputeMessageSetExtensionSize(description->fieldNumber,
130 return GPBComputeMessageSize(description->fieldNumber, object);
150 return size + GPBComputeTagSize(description->fieldNumber) +
166 [output write##TYPE:description->fieldNumber \
171 [output write##TYPE:description->fieldNumber value:object]; \
193 [output writeMessageSetExtension:description->fieldNumber value:object];
195 [output writeMessage:description->fieldNumber value:object];
233 [output writeGroupNoTag:description->fieldNumber value:object];
[all …]
DGPBExtensionRegistry.m88 [extensionMap setObject:extension forKey:@(extension.fieldNumber)];
92 fieldNumber:(NSInteger)fieldNumber {
96 return [extensionMap objectForKey:@(fieldNumber)];
DGPBCodedInputStream_PackagePrivate.h64 - (void)readGroup:(int32_t)fieldNumber
70 - (void)readUnknownGroup:(int32_t)fieldNumber
DGPBDescriptor.h66 - (nullable GPBFieldDescriptor *)fieldWithNumber:(uint32_t)fieldNumber;
83 - (nullable GPBFieldDescriptor *)fieldWithNumber:(uint32_t)fieldNumber;
131 @property(nonatomic, readonly) uint32_t fieldNumber;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java225 public abstract void writeTag(int fieldNumber, int wireType) throws IOException; in writeTag() argument
229 public abstract void writeInt32(int fieldNumber, int value) throws IOException; in writeInt32() argument
233 public abstract void writeUInt32(int fieldNumber, int value) throws IOException; in writeUInt32() argument
236 public final void writeSInt32(final int fieldNumber, final int value) throws IOException { in writeSInt32() argument
237 writeUInt32(fieldNumber, encodeZigZag32(value)); in writeSInt32()
242 public abstract void writeFixed32(int fieldNumber, int value) throws IOException; in writeFixed32() argument
245 public final void writeSFixed32(final int fieldNumber, final int value) throws IOException { in writeSFixed32() argument
246 writeFixed32(fieldNumber, value); in writeSFixed32()
250 public final void writeInt64(final int fieldNumber, final long value) throws IOException { in writeInt64() argument
251 writeUInt64(fieldNumber, value); in writeInt64()
[all …]
DUnknownFieldSetLite.java153 int fieldNumber = WireFormat.getTagFieldNumber(tag); in writeTo() local
156 output.writeUInt64(fieldNumber, (Long) objects[i]); in writeTo()
159 output.writeFixed32(fieldNumber, (Integer) objects[i]); in writeTo()
162 output.writeFixed64(fieldNumber, (Long) objects[i]); in writeTo()
165 output.writeBytes(fieldNumber, (ByteString) objects[i]); in writeTo()
168 output.writeTag(fieldNumber, WireFormat.WIRETYPE_START_GROUP); in writeTo()
170 output.writeTag(fieldNumber, WireFormat.WIRETYPE_END_GROUP); in writeTo()
192 int fieldNumber = WireFormat.getTagFieldNumber(tag); in getSerializedSize() local
195 size += CodedOutputStream.computeUInt64Size(fieldNumber, (Long) objects[i]); in getSerializedSize()
198 size += CodedOutputStream.computeFixed32Size(fieldNumber, (Integer) objects[i]); in getSerializedSize()
[all …]
DUnknownFieldSet.java788 public void writeTo(final int fieldNumber, final CodedOutputStream output) in writeTo() argument
791 output.writeUInt64(fieldNumber, value); in writeTo()
794 output.writeFixed32(fieldNumber, value); in writeTo()
797 output.writeFixed64(fieldNumber, value); in writeTo()
800 output.writeBytes(fieldNumber, value); in writeTo()
803 output.writeGroup(fieldNumber, value); in writeTo()
811 public int getSerializedSize(final int fieldNumber) { in getSerializedSize() argument
814 result += CodedOutputStream.computeUInt64Size(fieldNumber, value); in getSerializedSize()
817 result += CodedOutputStream.computeFixed32Size(fieldNumber, value); in getSerializedSize()
820 result += CodedOutputStream.computeFixed64Size(fieldNumber, value); in getSerializedSize()
[all …]
DExtensionRegistry.java172 final Descriptor containingType, final int fieldNumber) { in findExtensionByNumber() argument
173 return findImmutableExtensionByNumber(containingType, fieldNumber); in findExtensionByNumber()
183 final Descriptor containingType, final int fieldNumber) { in findImmutableExtensionByNumber() argument
185 new DescriptorIntPair(containingType, fieldNumber)); in findImmutableExtensionByNumber()
195 final Descriptor containingType, final int fieldNumber) { in findMutableExtensionByNumber() argument
197 new DescriptorIntPair(containingType, fieldNumber)); in findMutableExtensionByNumber()
DMapEntryLite.java144 public void serializeTo(CodedOutputStream output, int fieldNumber, K key, V value) in serializeTo() argument
146 output.writeTag(fieldNumber, WireFormat.WIRETYPE_LENGTH_DELIMITED); in serializeTo()
156 public int computeMessageSize(int fieldNumber, K key, V value) { in computeMessageSize() argument
157 return CodedOutputStream.computeTagSize(fieldNumber) in computeMessageSize()
DExtensionRegistryLite.java140 final int fieldNumber) { in findLiteExtensionByNumber() argument
143 new ObjectIntPair(containingTypeDefaultInstance, fieldNumber)); in findLiteExtensionByNumber()
DMessageReflection.java245 int fieldNumber); in findExtensionByNumber() argument
446 ExtensionRegistry registry, Descriptors.Descriptor containingType, int fieldNumber) { in findExtensionByNumber() argument
448 fieldNumber); in findExtensionByNumber()
632 ExtensionRegistry registry, Descriptors.Descriptor containingType, int fieldNumber) { in findExtensionByNumber() argument
634 fieldNumber); in findExtensionByNumber()
740 final int fieldNumber = WireFormat.getTagFieldNumber(tag); in mergeFieldFrom() local
745 if (type.isExtensionNumber(fieldNumber)) { in mergeFieldFrom()
754 type, fieldNumber); in mergeFieldFrom()
772 field = type.findFieldByNumber(fieldNumber); in mergeFieldFrom()
847 unknownFields.mergeVarintField(fieldNumber, rawValue); in mergeFieldFrom()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/
Dmessage.js92 jspb.ExtensionFieldInfo = function(fieldNumber, fieldName, ctor, toObjectFn, argument
95 this.fieldIndex = fieldNumber;
290 jspb.Message.getIndex_ = function(msg, fieldNumber) { argument
291 return fieldNumber + msg.arrayIndexOffset_;
327 var fieldNumber = repeatedFields[i];
328 if (fieldNumber < msg.pivot_) {
329 var index = jspb.Message.getIndex_(msg, fieldNumber);
335 msg.extensionObject_[fieldNumber] =
336 msg.extensionObject_[fieldNumber] ||
469 for (var fieldNumber in extensions) {
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/
DCodedOutputByteBufferNano.java93 public void writeDouble(final int fieldNumber, final double value) in writeDouble() argument
95 writeTag(fieldNumber, WireFormatNano.WIRETYPE_FIXED64); in writeDouble()
100 public void writeFloat(final int fieldNumber, final float value) in writeFloat() argument
102 writeTag(fieldNumber, WireFormatNano.WIRETYPE_FIXED32); in writeFloat()
107 public void writeUInt64(final int fieldNumber, final long value) in writeUInt64() argument
109 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeUInt64()
114 public void writeInt64(final int fieldNumber, final long value) in writeInt64() argument
116 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeInt64()
121 public void writeInt32(final int fieldNumber, final int value) in writeInt32() argument
123 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeInt32()
[all …]
DExtendableMessageNano.java97 int fieldNumber = WireFormatNano.getTagFieldNumber(extension.tag); in setExtension() local
100 unknownFieldData.remove(fieldNumber); in setExtension()
110 field = unknownFieldData.get(fieldNumber); in setExtension()
113 unknownFieldData.put(fieldNumber, new FieldData(extension, value)); in setExtension()
144 int fieldNumber = WireFormatNano.getTagFieldNumber(tag); in storeUnknownField() local
153 field = unknownFieldData.get(fieldNumber); in storeUnknownField()
157 unknownFieldData.put(fieldNumber, field); in storeUnknownField()
DFieldArray.java74 FieldData get(int fieldNumber) { in get() argument
75 int i = binarySearch(fieldNumber); in get()
87 void remove(int fieldNumber) { in remove() argument
88 int i = binarySearch(fieldNumber); in remove()
124 void put(int fieldNumber, FieldData data) { in put() argument
125 int i = binarySearch(fieldNumber); in put()
133 mFieldNumbers[i] = fieldNumber; in put()
142 i = ~ binarySearch(fieldNumber); in put()
163 mFieldNumbers[i] = fieldNumber; in put()
DExtension.java267 int fieldNumber = WireFormatNano.getTagFieldNumber(tag); in writeSingularData() local
270 out.writeTag(fieldNumber, WireFormatNano.WIRETYPE_END_GROUP); in writeSingularData()
319 int fieldNumber = WireFormatNano.getTagFieldNumber(tag); in computeSingularSerializedSize() local
323 return CodedOutputByteBufferNano.computeGroupSize(fieldNumber, groupValue); in computeSingularSerializedSize()
326 return CodedOutputByteBufferNano.computeMessageSize(fieldNumber, messageValue); in computeSingularSerializedSize()
649 int fieldNumber = WireFormatNano.getTagFieldNumber(tag); in computeSingularSerializedSize() local
653 return CodedOutputByteBufferNano.computeDoubleSize(fieldNumber, doubleValue); in computeSingularSerializedSize()
656 return CodedOutputByteBufferNano.computeFloatSize(fieldNumber, floatValue); in computeSingularSerializedSize()
659 return CodedOutputByteBufferNano.computeInt64Size(fieldNumber, int64Value); in computeSingularSerializedSize()
662 return CodedOutputByteBufferNano.computeUInt64Size(fieldNumber, uint64Value); in computeSingularSerializedSize()
[all …]
DWireFormatNano.java71 static int makeTag(final int fieldNumber, final int wireType) { in makeTag() argument
72 return (fieldNumber << TAG_TYPE_BITS) | wireType; in makeTag()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DOneofAccessor.cs82 int fieldNumber = caseDelegate(message); in GetCaseFieldDescriptor()
83 if (fieldNumber > 0) in GetCaseFieldDescriptor()
85 return descriptor.ContainingType.FindFieldByNumber(fieldNumber); in GetCaseFieldDescriptor()
/frameworks/base/core/java/android/util/proto/
DProtoUtils.java82 final int fieldNumber = proto.getFieldNumber(); in currentFieldToString() local
92 fieldConstant = ProtoStream.makeFieldId(fieldNumber, in currentFieldToString()
98 fieldConstant = ProtoStream.makeFieldId(fieldNumber, in currentFieldToString()
104 fieldConstant = ProtoStream.makeFieldId(fieldNumber, in currentFieldToString()
116 fieldConstant = ProtoStream.makeFieldId(fieldNumber, in currentFieldToString()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DWireFormat.cs99 public static uint MakeTag(int fieldNumber, WireType wireType) in MakeTag() argument
101 return (uint) (fieldNumber << TagTypeBits) | (uint) wireType; in MakeTag()
DCodedOutputStream.ComputeSize.cs299 public static int ComputeTagSize(int fieldNumber) in ComputeTagSize() argument
301 return ComputeRawVarint32Size(WireFormat.MakeTag(fieldNumber, 0)); in ComputeTagSize()

12