Home
last modified time | relevance | path

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

/external/protobuf/java/src/main/java/com/google/protobuf/
DWireFormat.java48 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.java150 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeUInt64()
157 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeInt64()
164 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeInt32()
185 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeBool()
234 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeUInt32()
244 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeEnum()
265 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeSInt32()
272 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeSInt64()
DCodedInputStream.java118 case WireFormat.WIRETYPE_VARINT: in skipField()
DUnknownFieldSet.java477 case WireFormat.WIRETYPE_VARINT: in mergeFieldFrom()
/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()
211 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteInt32()
[all …]
Dwire_format_lite_inl.h557 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteInt32ToArray()
563 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteInt64ToArray()
569 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteUInt32ToArray()
575 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteUInt64ToArray()
581 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteSInt32ToArray()
587 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteSInt64ToArray()
629 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteBoolToArray()
635 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteEnumToArray()
Dwire_format_lite.h89 WIRETYPE_VARINT = 0, enumerator
200 WireFormatLite::WIRETYPE_VARINT);
Ddescriptor.pb.cc1479 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { in MergePartialFromCodedStream()
1494 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { in MergePartialFromCodedStream()
2374 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { in MergePartialFromCodedStream()
2390 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { in MergePartialFromCodedStream()
2411 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { in MergePartialFromCodedStream()
3213 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { in MergePartialFromCodedStream()
4290 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { in MergePartialFromCodedStream()
4311 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { in MergePartialFromCodedStream()
4327 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { in MergePartialFromCodedStream()
4343 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { in MergePartialFromCodedStream()
[all …]
Dwire_format.cc87 case WireFormatLite::WIRETYPE_VARINT: { in SkipField()
169 WireFormatLite::WIRETYPE_VARINT)); in SerializeUnknownFields()
308 WireFormatLite::WIRETYPE_VARINT)); in ComputeUnknownFieldsSize()
/external/protobuf/python/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.py276 wire_format.WIRETYPE_VARINT, _DecodeSignedVarint32)
279 wire_format.WIRETYPE_VARINT, _DecodeSignedVarint)
281 UInt32Decoder = _SimpleDecoder(wire_format.WIRETYPE_VARINT, _DecodeVarint32)
282 UInt64Decoder = _SimpleDecoder(wire_format.WIRETYPE_VARINT, _DecodeVarint)
285 wire_format.WIRETYPE_VARINT, _DecodeVarint32, wire_format.ZigZagDecode)
287 wire_format.WIRETYPE_VARINT, _DecodeVarint, wire_format.ZigZagDecode)
301 wire_format.WIRETYPE_VARINT, _DecodeVarint, bool)
497 type_id_tag_bytes = encoder.TagBytes(2, wire_format.WIRETYPE_VARINT)
Dencoder.py511 wire_format.WIRETYPE_VARINT, _EncodeSignedVarint, _SignedVarintSize)
514 wire_format.WIRETYPE_VARINT, _EncodeVarint, _VarintSize)
517 wire_format.WIRETYPE_VARINT, _EncodeVarint, _VarintSize,
550 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_VARINT)
560 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_VARINT)
674 TagBytes(2, wire_format.WIRETYPE_VARINT),
Dwire_format.py47 WIRETYPE_VARINT = 0 variable
Dreflection_test.py1795 self.assertEqual((1, wire_format.WIRETYPE_VARINT), ReadTag())
1797 self.assertEqual((2, wire_format.WIRETYPE_VARINT), ReadTag())
1799 self.assertEqual((3, wire_format.WIRETYPE_VARINT), ReadTag())
1801 self.assertEqual((4, wire_format.WIRETYPE_VARINT), ReadTag())
1803 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()