Home
last modified time | relevance | path

Searched refs:WIRETYPE_VARINT (Results 1 – 25 of 28) sorted by relevance

12

/external/protobuf/java/src/main/java/com/google/protobuf/
DWireFormat.java48 public static final int WIRETYPE_VARINT = 0; field in WireFormat
110 INT64 (JavaType.LONG , WIRETYPE_VARINT ),
111 UINT64 (JavaType.LONG , WIRETYPE_VARINT ),
112 INT32 (JavaType.INT , WIRETYPE_VARINT ),
115 BOOL (JavaType.BOOLEAN , WIRETYPE_VARINT ),
128 UINT32 (JavaType.INT , WIRETYPE_VARINT ),
129 ENUM (JavaType.ENUM , WIRETYPE_VARINT ),
132 SINT32 (JavaType.INT , WIRETYPE_VARINT ),
133 SINT64 (JavaType.LONG , WIRETYPE_VARINT );
160 makeTag(MESSAGE_SET_TYPE_ID, WIRETYPE_VARINT);
DCodedOutputStream.java184 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeUInt64()
191 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeInt64()
198 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeInt32()
219 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeBool()
303 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeUInt32()
313 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeEnum()
334 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeSInt32()
341 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeSInt64()
DCodedInputStream.java190 case WireFormat.WIRETYPE_VARINT: in skipField()
225 case WireFormat.WIRETYPE_VARINT: { in skipField()
DTextFormat.java249 case WireFormat.WIRETYPE_VARINT: in printUnknownFieldValue()
446 printUnknownField(number, WireFormat.WIRETYPE_VARINT, in printUnknownFields()
/external/protobuf/src/google/protobuf/
Dwire_format_lite.cc93 WireFormatLite::WIRETYPE_VARINT, // TYPE_INT64
94 WireFormatLite::WIRETYPE_VARINT, // TYPE_UINT64
95 WireFormatLite::WIRETYPE_VARINT, // TYPE_INT32
98 WireFormatLite::WIRETYPE_VARINT, // TYPE_BOOL
103 WireFormatLite::WIRETYPE_VARINT, // TYPE_UINT32
104 WireFormatLite::WIRETYPE_VARINT, // TYPE_ENUM
107 WireFormatLite::WIRETYPE_VARINT, // TYPE_SINT32
108 WireFormatLite::WIRETYPE_VARINT, // TYPE_SINT64
114 case WireFormatLite::WIRETYPE_VARINT: { in SkipField()
159 case WireFormatLite::WIRETYPE_VARINT: { in SkipField()
[all …]
Dwire_format_lite_inl.h659 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteInt32ToArray()
665 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteInt64ToArray()
671 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteUInt32ToArray()
677 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteUInt64ToArray()
683 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteSInt32ToArray()
689 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteSInt64ToArray()
731 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteBoolToArray()
737 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteEnumToArray()
Dlite_unittest.cc328 google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT, &coded_output); in main()
332 google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT, &coded_output); in main()
Dwire_format_lite.h87 WIRETYPE_VARINT = 0, enumerator
209 WireFormatLite::WIRETYPE_VARINT);
Dwire_format.cc87 case WireFormatLite::WIRETYPE_VARINT: { in SkipField()
169 WireFormatLite::WIRETYPE_VARINT)); in SerializeUnknownFields()
303 WireFormatLite::WIRETYPE_VARINT)); in ComputeUnknownFieldsSize()
/external/nanopb-c/generator/google/protobuf/internal/
Dtype_checkers.py267 _FieldDescriptor.TYPE_INT64: wire_format.WIRETYPE_VARINT,
268 _FieldDescriptor.TYPE_UINT64: wire_format.WIRETYPE_VARINT,
269 _FieldDescriptor.TYPE_INT32: wire_format.WIRETYPE_VARINT,
272 _FieldDescriptor.TYPE_BOOL: wire_format.WIRETYPE_VARINT,
280 _FieldDescriptor.TYPE_UINT32: wire_format.WIRETYPE_VARINT,
281 _FieldDescriptor.TYPE_ENUM: wire_format.WIRETYPE_VARINT,
284 _FieldDescriptor.TYPE_SINT32: wire_format.WIRETYPE_VARINT,
285 _FieldDescriptor.TYPE_SINT64: wire_format.WIRETYPE_VARINT,
Ddecoder.py349 wire_format.WIRETYPE_VARINT, _DecodeSignedVarint32)
352 wire_format.WIRETYPE_VARINT, _DecodeSignedVarint)
354 UInt32Decoder = _SimpleDecoder(wire_format.WIRETYPE_VARINT, _DecodeVarint32)
355 UInt64Decoder = _SimpleDecoder(wire_format.WIRETYPE_VARINT, _DecodeVarint)
358 wire_format.WIRETYPE_VARINT, _DecodeVarint32, wire_format.ZigZagDecode)
360 wire_format.WIRETYPE_VARINT, _DecodeVarint, wire_format.ZigZagDecode)
374 wire_format.WIRETYPE_VARINT, _DecodeVarint, bool)
570 type_id_tag_bytes = encoder.TagBytes(2, wire_format.WIRETYPE_VARINT)
Dencoder.py594 wire_format.WIRETYPE_VARINT, _EncodeSignedVarint, _SignedVarintSize)
597 wire_format.WIRETYPE_VARINT, _EncodeVarint, _VarintSize)
600 wire_format.WIRETYPE_VARINT, _EncodeVarint, _VarintSize,
633 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_VARINT)
643 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_VARINT)
757 TagBytes(2, wire_format.WIRETYPE_VARINT),
Dwire_format.py47 WIRETYPE_VARINT = 0 variable
/external/protobuf/python/google/protobuf/internal/
Dtype_checkers.py309 _FieldDescriptor.TYPE_INT64: wire_format.WIRETYPE_VARINT,
310 _FieldDescriptor.TYPE_UINT64: wire_format.WIRETYPE_VARINT,
311 _FieldDescriptor.TYPE_INT32: wire_format.WIRETYPE_VARINT,
314 _FieldDescriptor.TYPE_BOOL: wire_format.WIRETYPE_VARINT,
322 _FieldDescriptor.TYPE_UINT32: wire_format.WIRETYPE_VARINT,
323 _FieldDescriptor.TYPE_ENUM: wire_format.WIRETYPE_VARINT,
326 _FieldDescriptor.TYPE_SINT32: wire_format.WIRETYPE_VARINT,
327 _FieldDescriptor.TYPE_SINT64: wire_format.WIRETYPE_VARINT,
Ddecoder.py392 wire_format.WIRETYPE_VARINT)
404 tag_bytes = encoder.TagBytes(field_number, wire_format.WIRETYPE_VARINT)
440 wire_format.WIRETYPE_VARINT)
451 wire_format.WIRETYPE_VARINT, _DecodeSignedVarint32)
454 wire_format.WIRETYPE_VARINT, _DecodeSignedVarint)
456 UInt32Decoder = _SimpleDecoder(wire_format.WIRETYPE_VARINT, _DecodeVarint32)
457 UInt64Decoder = _SimpleDecoder(wire_format.WIRETYPE_VARINT, _DecodeVarint)
460 wire_format.WIRETYPE_VARINT, _DecodeVarint32, wire_format.ZigZagDecode)
462 wire_format.WIRETYPE_VARINT, _DecodeVarint, wire_format.ZigZagDecode)
476 wire_format.WIRETYPE_VARINT, _DecodeVarint, bool)
[all …]
Dencoder.py610 wire_format.WIRETYPE_VARINT, _EncodeSignedVarint, _SignedVarintSize)
613 wire_format.WIRETYPE_VARINT, _EncodeVarint, _VarintSize)
616 wire_format.WIRETYPE_VARINT, _EncodeVarint, _VarintSize,
651 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_VARINT)
661 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_VARINT)
776 TagBytes(2, wire_format.WIRETYPE_VARINT),
Dwire_format.py47 WIRETYPE_VARINT = 0 variable
Dreflection_test.py2327 self.assertEqual((1, wire_format.WIRETYPE_VARINT), ReadTag())
2329 self.assertEqual((2, wire_format.WIRETYPE_VARINT), ReadTag())
2331 self.assertEqual((3, wire_format.WIRETYPE_VARINT), ReadTag())
2333 self.assertEqual((4, wire_format.WIRETYPE_VARINT), ReadTag())
2335 self.assertEqual((5, wire_format.WIRETYPE_VARINT), ReadTag())
/external/protobuf/java/src/main/java/com/google/protobuf/micro/
DCodedOutputStreamMicro.java136 writeTag(fieldNumber, WireFormatMicro.WIRETYPE_VARINT); in writeUInt64()
143 writeTag(fieldNumber, WireFormatMicro.WIRETYPE_VARINT); in writeInt64()
150 writeTag(fieldNumber, WireFormatMicro.WIRETYPE_VARINT); in writeInt32()
171 writeTag(fieldNumber, WireFormatMicro.WIRETYPE_VARINT); in writeBool()
215 writeTag(fieldNumber, WireFormatMicro.WIRETYPE_VARINT); in writeUInt32()
225 writeTag(fieldNumber, WireFormatMicro.WIRETYPE_VARINT); in writeEnum()
246 writeTag(fieldNumber, WireFormatMicro.WIRETYPE_VARINT); in writeSInt32()
253 writeTag(fieldNumber, WireFormatMicro.WIRETYPE_VARINT); in writeSInt64()
DWireFormatMicro.java48 static final int WIRETYPE_VARINT = 0; field in WireFormatMicro
84 makeTag(MESSAGE_SET_TYPE_ID, WIRETYPE_VARINT);
DCodedInputStreamMicro.java115 case WireFormatMicro.WIRETYPE_VARINT: in skipField()
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DCodedOutputByteBufferNano.java107 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeUInt64()
114 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeInt64()
121 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeInt32()
142 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeBool()
178 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeUInt32()
188 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeEnum()
209 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeSInt32()
216 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeSInt64()
DWireFormatNano.java50 static final int WIRETYPE_VARINT = 0; field in WireFormatNano
DCodedInputByteBufferNano.java107 case WireFormatNano.WIRETYPE_VARINT: in skipField()
/external/protobuf/java/src/test/java/com/google/protobuf/
DCodedInputStreamTest.java117 assertTrue(input.skipField(WireFormat.WIRETYPE_VARINT)); in assertReadVarint()
139 assertTrue(input.skipField(WireFormat.WIRETYPE_VARINT)); in assertReadVarint()

12