Home
last modified time | relevance | path

Searched refs:wireType (Results 1 – 22 of 22) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DWireFormat.java71 static int makeTag(final int fieldNumber, final int wireType) { in makeTag() argument
72 return (fieldNumber << TAG_TYPE_BITS) | wireType; in makeTag()
145 FieldType(final JavaType javaType, final int wireType) { in FieldType() argument
147 this.wireType = wireType; in FieldType()
151 private final int wireType; field in WireFormat.FieldType
154 public int getWireType() { return wireType; } in getWireType()
DCodedOutputStream.java225 public abstract void writeTag(int fieldNumber, int wireType) throws IOException; in writeTag() argument
1158 public final void writeTag(final int fieldNumber, final int wireType) throws IOException { in writeTag() argument
1159 writeUInt32NoTag(WireFormat.makeTag(fieldNumber, wireType)); in writeTag()
1522 public void writeTag(final int fieldNumber, final int wireType) throws IOException { in writeTag() argument
1523 writeUInt32NoTag(WireFormat.makeTag(fieldNumber, wireType)); in writeTag()
1863 final void bufferTag(final int fieldNumber, final int wireType) { in bufferTag() argument
1864 bufferUInt32NoTag(WireFormat.makeTag(fieldNumber, wireType)); in bufferTag()
1996 public void writeTag(final int fieldNumber, final int wireType) throws IOException { in writeTag() argument
1997 writeUInt32NoTag(WireFormat.makeTag(fieldNumber, wireType)); in writeTag()
2299 public void writeTag(final int fieldNumber, final int wireType) throws IOException { in writeTag() argument
[all …]
DMessageReflection.java739 final int wireType = WireFormat.getTagWireType(tag); in mergeFieldFrom() local
781 } else if (wireType == FieldSet.getWireFormatForFieldType( in mergeFieldFrom()
786 wireType == FieldSet.getWireFormatForFieldType( in mergeFieldFrom()
DTextFormat.java490 final int wireType, in printUnknownField() argument
497 printUnknownFieldValue(wireType, value, generator); in printUnknownField()
DGeneratedMessageLite.java482 int wireType = WireFormat.getTagWireType(tag); in parseUnknownField() local
494 } else if (wireType == FieldSet.getWireFormatForFieldType( in parseUnknownField()
500 wireType == FieldSet.getWireFormatForFieldType( in parseUnknownField()
/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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/
DWireFormatNano.java71 static int makeTag(final int fieldNumber, final int wireType) { in makeTag() argument
72 return (fieldNumber << TAG_TYPE_BITS) | wireType; in makeTag()
DCodedOutputByteBufferNano.java975 public void writeTag(final int fieldNumber, final int wireType) in writeTag() argument
977 writeRawVarint32(WireFormatNano.makeTag(fieldNumber, wireType)); in writeTag()
/frameworks/base/cmds/incidentd/tests/
DProtoFileReader_test.cpp84 uint8_t wireType = read_wire_type(fieldTag); in TEST() local
85 ASSERT_EQ(WIRE_TYPE_LENGTH_DELIMITED, wireType); in TEST()
/frameworks/base/core/java/android/util/proto/
DProtoStream.java142 public static String getWireTypeString(int wireType) { in getWireTypeString() argument
143 switch (wireType) { in getWireTypeString()
DProtoUtils.java83 final int wireType = proto.getWireType(); in currentFieldToString() local
89 switch (wireType) { in currentFieldToString()
DProtoInputStream.java923 private void assertWireType(int wireType) { in assertWireType() argument
924 if (wireType != mWireType) { in assertWireType()
927 + " does not match expected wire type " + getWireTypeString(wireType) in assertWireType()
DProtoOutputStream.java2206 public void writeTag(int id, int wireType) { in writeTag() argument
2207 mBuffer.writeRawVarint32((id << FIELD_ID_SHIFT) | wireType); in writeTag()
2305 final int wireType = tag & WIRE_TYPE_MASK; in editEncodedSize() local
2306 switch (wireType) { in editEncodedSize()
2351 + Integer.toHexString(tag) + " wireType=" + wireType in editEncodedSize()
2374 final int wireType = tag & WIRE_TYPE_MASK; in compactSizes() local
2375 switch (wireType) { in compactSizes()
2410 + Integer.toHexString(tag) + " wireType=" + wireType in compactSizes()
/frameworks/base/cmds/incidentd/src/
DPrivacyFilter.cpp43 uint8_t wireType = read_wire_type(fieldTag); in write_field_or_skip() local
47 switch (wireType) { in write_field_or_skip()
344 uint8_t wireType = read_wire_type(fieldTag); in filter_and_write_report() local
345 if (wireType == WIRE_TYPE_LENGTH_DELIMITED in filter_and_write_report()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBWireFormat.h52 uint32_t GPBWireFormatMakeTag(uint32_t fieldNumber, GPBWireFormat wireType)
DGPBWireFormat.m40 uint32_t GPBWireFormatMakeTag(uint32_t fieldNumber, GPBWireFormat wireType) {
41 return (fieldNumber << GPBWireFormatTagTypeBits) | wireType;
DGPBDescriptor_PackagePrivate.h232 @property(nonatomic, readonly) GPBWireFormat wireType;
DGPBMessage.m2014 GPBWireFormat wireType = GPBWireFormatGetTagWireType(tag);
2027 if (extension.wireType == wireType) {
2039 (extension.alternateWireType == wireType)) {
DGPBDescriptor.m902 - (GPBWireFormat)wireType { method
/frameworks/base/libs/protoutil/include/android/util/
DEncodedBuffer.h127 size_t writeHeader(uint32_t fieldId, uint8_t wireType);
/frameworks/base/libs/protoutil/src/
DEncodedBuffer.cpp206 EncodedBuffer::writeHeader(uint32_t fieldId, uint8_t wireType) in writeHeader() argument
208 return writeRawVarint32((fieldId << FIELD_ID_SHIFT) | wireType); in writeHeader()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/
Dwriter.js276 function(field, wireType) { argument
278 var x = field * 8 + wireType;