Home
last modified time | relevance | path

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

12

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DWireFormat.java50 public static final int WIRETYPE_VARINT = 0; field in WireFormat
112 INT64 (JavaType.LONG , WIRETYPE_VARINT ),
113 UINT64 (JavaType.LONG , WIRETYPE_VARINT ),
114 INT32 (JavaType.INT , WIRETYPE_VARINT ),
117 BOOL (JavaType.BOOLEAN , WIRETYPE_VARINT ),
138 UINT32 (JavaType.INT , WIRETYPE_VARINT ),
139 ENUM (JavaType.ENUM , WIRETYPE_VARINT ),
142 SINT32 (JavaType.INT , WIRETYPE_VARINT ),
143 SINT64 (JavaType.LONG , WIRETYPE_VARINT );
170 makeTag(MESSAGE_SET_TYPE_ID, WIRETYPE_VARINT);
DUnknownFieldSetLite.java155 case WireFormat.WIRETYPE_VARINT: in writeTo()
194 case WireFormat.WIRETYPE_VARINT: in getSerializedSize()
304 case WireFormat.WIRETYPE_VARINT: in mergeFieldFrom()
343 storeField(WireFormat.makeTag(fieldNumber, WireFormat.WIRETYPE_VARINT), (long) value); in mergeVarintField()
DCodedOutputStream.java1126 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeInt32()
1132 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeUInt32()
1144 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeUInt64()
1156 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeBool()
1496 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeInt32()
1502 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeUInt32()
1514 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeUInt64()
1526 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeBool()
1971 bufferTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeInt32()
1978 bufferTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeUInt32()
[all …]
DCodedInputStream.java180 case WireFormat.WIRETYPE_VARINT: in skipField()
215 case WireFormat.WIRETYPE_VARINT: { in skipField()
/external/protobuf/src/google/protobuf/
Dwire_format_lite.cc103 WireFormatLite::WIRETYPE_VARINT, // TYPE_INT64
104 WireFormatLite::WIRETYPE_VARINT, // TYPE_UINT64
105 WireFormatLite::WIRETYPE_VARINT, // TYPE_INT32
108 WireFormatLite::WIRETYPE_VARINT, // TYPE_BOOL
113 WireFormatLite::WIRETYPE_VARINT, // TYPE_UINT32
114 WireFormatLite::WIRETYPE_VARINT, // TYPE_ENUM
117 WireFormatLite::WIRETYPE_VARINT, // TYPE_SINT32
118 WireFormatLite::WIRETYPE_VARINT, // TYPE_SINT64
124 case WireFormatLite::WIRETYPE_VARINT: { in SkipField()
169 case WireFormatLite::WIRETYPE_VARINT: { in SkipField()
[all …]
Dwire_format_lite_inl.h675 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteInt32ToArray()
681 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteInt64ToArray()
687 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteUInt32ToArray()
693 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteUInt64ToArray()
699 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteSInt32ToArray()
705 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteSInt64ToArray()
747 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteBoolToArray()
753 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteEnumToArray()
Dwire_format_lite.h87 WIRETYPE_VARINT = 0, enumerator
209 WireFormatLite::WIRETYPE_VARINT);
Dwire_format.cc79 case WireFormatLite::WIRETYPE_VARINT: { in SkipField()
186 WireFormatLite::WIRETYPE_VARINT)); in SerializeUnknownFields()
320 WireFormatLite::WIRETYPE_VARINT)); in ComputeUnknownFieldsSize()
Dlite_unittest.cc339 google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT, &coded_output); in main()
343 google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT, &coded_output); in main()
/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.py333 _FieldDescriptor.TYPE_INT64: wire_format.WIRETYPE_VARINT,
334 _FieldDescriptor.TYPE_UINT64: wire_format.WIRETYPE_VARINT,
335 _FieldDescriptor.TYPE_INT32: wire_format.WIRETYPE_VARINT,
338 _FieldDescriptor.TYPE_BOOL: wire_format.WIRETYPE_VARINT,
346 _FieldDescriptor.TYPE_UINT32: wire_format.WIRETYPE_VARINT,
347 _FieldDescriptor.TYPE_ENUM: wire_format.WIRETYPE_VARINT,
350 _FieldDescriptor.TYPE_SINT32: wire_format.WIRETYPE_VARINT,
351 _FieldDescriptor.TYPE_SINT64: wire_format.WIRETYPE_VARINT,
Ddecoder.py374 wire_format.WIRETYPE_VARINT)
386 tag_bytes = encoder.TagBytes(field_number, wire_format.WIRETYPE_VARINT)
422 wire_format.WIRETYPE_VARINT)
433 wire_format.WIRETYPE_VARINT, _DecodeSignedVarint32)
436 wire_format.WIRETYPE_VARINT, _DecodeSignedVarint)
438 UInt32Decoder = _SimpleDecoder(wire_format.WIRETYPE_VARINT, _DecodeVarint32)
439 UInt64Decoder = _SimpleDecoder(wire_format.WIRETYPE_VARINT, _DecodeVarint)
442 wire_format.WIRETYPE_VARINT, _DecodeVarint32, wire_format.ZigZagDecode)
444 wire_format.WIRETYPE_VARINT, _DecodeVarint, wire_format.ZigZagDecode)
458 wire_format.WIRETYPE_VARINT, _DecodeVarint, bool)
[all …]
Dencoder.py621 wire_format.WIRETYPE_VARINT, _EncodeSignedVarint, _SignedVarintSize)
624 wire_format.WIRETYPE_VARINT, _EncodeVarint, _VarintSize)
627 wire_format.WIRETYPE_VARINT, _EncodeVarint, _VarintSize,
660 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_VARINT)
670 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_VARINT)
784 TagBytes(2, wire_format.WIRETYPE_VARINT),
Dwire_format.py47 WIRETYPE_VARINT = 0 variable
/external/protobuf/javamicro/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);
/external/tensorflow/tensorflow/core/distributed_runtime/
Dtensor_coding.cc114 WIRETYPE_VARINT = 0, enumerator
166 if ((wt != WIRETYPE_VARINT) || !input->ReadVarint32(&v)) return false; in ParseTensorSubmessage()
181 if ((wt != WIRETYPE_VARINT) || !input->ReadVarint32(&v)) return false; in ParseTensorSubmessage()
247 if ((wt != WIRETYPE_VARINT) || !input.ReadVarint32(&v)) return false; in ParseFast()
253 if ((wt != WIRETYPE_VARINT) || !input.ReadVarint64(&v)) return false; in ParseFast()
/external/tensorflow/tensorflow/core/lib/io/
Dproto_encode_helper.h44 Encode32(combine(tag, WIRETYPE_VARINT)); in WriteUint64()
48 Encode32(combine(tag, WIRETYPE_VARINT)); in WriteBool()
66 WIRETYPE_VARINT = 0, enumerator
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DCodedOutputByteBufferNano.java109 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeUInt64()
116 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeInt64()
123 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeInt32()
144 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeBool()
188 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeUInt32()
198 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeEnum()
219 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeSInt32()
226 writeTag(fieldNumber, WireFormatNano.WIRETYPE_VARINT); in writeSInt64()
DWireFormatNano.java50 static final int WIRETYPE_VARINT = 0; field in WireFormatNano
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DUnknownFieldSetLiteTest.java93 assertEquals(WireFormat.WIRETYPE_VARINT, WireFormat.getTagWireType(tag)); in testMergeVarintField()
107 assertEquals(WireFormat.WIRETYPE_VARINT, WireFormat.getTagWireType(tag)); in testMergeVarintField_negative()
136 assertEquals(WireFormat.WIRETYPE_VARINT, WireFormat.getTagWireType(tag)); in testMutableCopyOf()
141 assertEquals(WireFormat.WIRETYPE_VARINT, WireFormat.getTagWireType(tag)); in testMutableCopyOf()
DCodedInputStreamTest.java119 assertTrue(input.skipField(WireFormat.WIRETYPE_VARINT)); in assertReadVarint()
141 assertTrue(input.skipField(WireFormat.WIRETYPE_VARINT)); in assertReadVarint()

12