/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | WireFormat.java | 55 public static final int WIRETYPE_VARINT = 0; field in WireFormat 114 INT64(JavaType.LONG, WIRETYPE_VARINT), 115 UINT64(JavaType.LONG, WIRETYPE_VARINT), 116 INT32(JavaType.INT, WIRETYPE_VARINT), 119 BOOL(JavaType.BOOLEAN, WIRETYPE_VARINT), 144 UINT32(JavaType.INT, WIRETYPE_VARINT), 145 ENUM(JavaType.ENUM, WIRETYPE_VARINT), 148 SINT32(JavaType.INT, WIRETYPE_VARINT), 149 SINT64(JavaType.LONG, WIRETYPE_VARINT); 180 static final int MESSAGE_SET_TYPE_ID_TAG = makeTag(MESSAGE_SET_TYPE_ID, WIRETYPE_VARINT);
|
D | CodedInputStreamReader.java | 40 import static com.google.protobuf.WireFormat.WIRETYPE_VARINT; 122 requireWireType(WIRETYPE_VARINT); in readUInt64() 128 requireWireType(WIRETYPE_VARINT); in readInt64() 134 requireWireType(WIRETYPE_VARINT); in readInt32() 152 requireWireType(WIRETYPE_VARINT); in readBool() 251 requireWireType(WIRETYPE_VARINT); in readUInt32() 257 requireWireType(WIRETYPE_VARINT); in readEnum() 275 requireWireType(WIRETYPE_VARINT); in readSInt32() 281 requireWireType(WIRETYPE_VARINT); in readSInt64() 414 case WIRETYPE_VARINT: in readUInt64List() [all …]
|
D | BinaryReader.java | 40 import static com.google.protobuf.WireFormat.WIRETYPE_VARINT; 140 case WIRETYPE_VARINT: in skipField() 174 requireWireType(WIRETYPE_VARINT); in readUInt64() 180 requireWireType(WIRETYPE_VARINT); in readInt64() 186 requireWireType(WIRETYPE_VARINT); in readInt32() 204 requireWireType(WIRETYPE_VARINT); in readBool() 328 requireWireType(WIRETYPE_VARINT); in readUInt32() 334 requireWireType(WIRETYPE_VARINT); in readEnum() 352 requireWireType(WIRETYPE_VARINT); in readSInt32() 358 requireWireType(WIRETYPE_VARINT); in readSInt64() [all …]
|
D | UnknownFieldSetLite.java | 136 case WireFormat.WIRETYPE_VARINT: in writeTo() 209 case WireFormat.WIRETYPE_VARINT: in writeField() 277 case WireFormat.WIRETYPE_VARINT: in getSerializedSize() 421 case WireFormat.WIRETYPE_VARINT: in mergeFieldFrom() 458 storeField(WireFormat.makeTag(fieldNumber, WireFormat.WIRETYPE_VARINT), (long) value); in mergeVarintField()
|
D | CodedOutputStream.java | 1179 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeInt32() 1185 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeUInt32() 1197 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeUInt64() 1209 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeBool() 1572 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeInt32() 1578 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeUInt32() 1590 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeUInt64() 1602 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeBool() 1906 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeInt32() 1912 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeUInt32() [all …]
|
D | BinaryWriter.java | 46 import static com.google.protobuf.WireFormat.WIRETYPE_VARINT; 987 writeTag(fieldNumber, WIRETYPE_VARINT); in writeUInt32() 994 writeTag(fieldNumber, WIRETYPE_VARINT); in writeInt32() 1001 writeTag(fieldNumber, WIRETYPE_VARINT); in writeSInt32() 1015 writeTag(fieldNumber, WIRETYPE_VARINT); in writeUInt64() 1022 writeTag(fieldNumber, WIRETYPE_VARINT); in writeSInt64() 1036 writeTag(fieldNumber, WIRETYPE_VARINT); in writeBool() 1524 writeTag(fieldNumber, WIRETYPE_VARINT); in writeUInt32() 1531 writeTag(fieldNumber, WIRETYPE_VARINT); in writeInt32() 1538 writeTag(fieldNumber, WIRETYPE_VARINT); in writeSInt32() [all …]
|
D | UnknownFieldSchema.java | 85 case WireFormat.WIRETYPE_VARINT: in mergeOneFieldFrom()
|
D | UnknownFieldSetLiteSchema.java | 53 fields.storeField(WireFormat.makeTag(number, WireFormat.WIRETYPE_VARINT), value); in addVarint()
|
D | MessageSchema.java | 4526 } else if (wireType == WireFormat.WIRETYPE_VARINT) { in parseRepeatedField() 4536 } else if (wireType == WireFormat.WIRETYPE_VARINT) { in parseRepeatedField() 4564 } else if (wireType == WireFormat.WIRETYPE_VARINT) { in parseRepeatedField() 4599 } else if (wireType == WireFormat.WIRETYPE_VARINT) { in parseRepeatedField() 4627 } else if (wireType == WireFormat.WIRETYPE_VARINT) { in parseRepeatedField() 4635 } else if (wireType == WireFormat.WIRETYPE_VARINT) { in parseRepeatedField() 4718 if (wireType == WireFormat.WIRETYPE_VARINT) { in parseOneofField() 4726 if (wireType == WireFormat.WIRETYPE_VARINT) { in parseOneofField() 4749 if (wireType == WireFormat.WIRETYPE_VARINT) { in parseOneofField() 4799 if (wireType == WireFormat.WIRETYPE_VARINT) { in parseOneofField() [all …]
|
D | CodedInputStream.java | 647 case WireFormat.WIRETYPE_VARINT: in skipField() 674 case WireFormat.WIRETYPE_VARINT: in skipField() 1361 case WireFormat.WIRETYPE_VARINT: in skipField() 1388 case WireFormat.WIRETYPE_VARINT: in skipField() 2088 case WireFormat.WIRETYPE_VARINT: in skipField() 2115 case WireFormat.WIRETYPE_VARINT: in skipField() 3210 case WireFormat.WIRETYPE_VARINT: in skipField() 3237 case WireFormat.WIRETYPE_VARINT: in skipField()
|
D | MessageSetSchema.java | 180 if (wireType == WireFormat.WIRETYPE_VARINT) { in mergeFrom()
|
D | TextFormat.java | 249 case WireFormat.WIRETYPE_VARINT: in printUnknownFieldValue() 665 case WireFormat.WIRETYPE_VARINT: in printUnknownFieldValue() 754 printUnknownField(number, WireFormat.WIRETYPE_VARINT, field.getVarintList(), generator); in printUnknownFields()
|
/third_party/protobuf/src/google/protobuf/ |
D | wire_format_lite.cc | 105 WireFormatLite::WIRETYPE_VARINT, // TYPE_INT64 106 WireFormatLite::WIRETYPE_VARINT, // TYPE_UINT64 107 WireFormatLite::WIRETYPE_VARINT, // TYPE_INT32 110 WireFormatLite::WIRETYPE_VARINT, // TYPE_BOOL 115 WireFormatLite::WIRETYPE_VARINT, // TYPE_UINT32 116 WireFormatLite::WIRETYPE_VARINT, // TYPE_ENUM 119 WireFormatLite::WIRETYPE_VARINT, // TYPE_SINT32 120 WireFormatLite::WIRETYPE_VARINT, // TYPE_SINT64 127 case WireFormatLite::WIRETYPE_VARINT: { in SkipField() 174 case WireFormatLite::WIRETYPE_VARINT: { in SkipField() [all …]
|
D | wire_format_lite.h | 103 WIRETYPE_VARINT = 0, enumerator 221 kMessageSetTypeIdNumber, WireFormatLite::WIRETYPE_VARINT); 1514 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteInt32ToArray() 1519 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteInt64ToArray() 1524 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteUInt32ToArray() 1529 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteUInt64ToArray() 1534 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteSInt32ToArray() 1539 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteSInt64ToArray() 1574 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteBoolToArray() 1579 target = WriteTagToArray(field_number, WIRETYPE_VARINT, target); in WriteEnumToArray()
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | type_checkers.py | 412 _FieldDescriptor.TYPE_INT64: wire_format.WIRETYPE_VARINT, 413 _FieldDescriptor.TYPE_UINT64: wire_format.WIRETYPE_VARINT, 414 _FieldDescriptor.TYPE_INT32: wire_format.WIRETYPE_VARINT, 417 _FieldDescriptor.TYPE_BOOL: wire_format.WIRETYPE_VARINT, 425 _FieldDescriptor.TYPE_UINT32: wire_format.WIRETYPE_VARINT, 426 _FieldDescriptor.TYPE_ENUM: wire_format.WIRETYPE_VARINT, 429 _FieldDescriptor.TYPE_SINT32: wire_format.WIRETYPE_VARINT, 430 _FieldDescriptor.TYPE_SINT64: wire_format.WIRETYPE_VARINT,
|
D | decoder.py | 426 wire_format.WIRETYPE_VARINT) 433 field_number, wire_format.WIRETYPE_VARINT, element) 447 tag_bytes = encoder.TagBytes(field_number, wire_format.WIRETYPE_VARINT) 478 field_number, wire_format.WIRETYPE_VARINT, element) 517 wire_format.WIRETYPE_VARINT) 523 field_number, wire_format.WIRETYPE_VARINT, enum_value) 533 wire_format.WIRETYPE_VARINT, _DecodeSignedVarint32) 536 wire_format.WIRETYPE_VARINT, _DecodeSignedVarint) 538 UInt32Decoder = _SimpleDecoder(wire_format.WIRETYPE_VARINT, _DecodeVarint32) 539 UInt64Decoder = _SimpleDecoder(wire_format.WIRETYPE_VARINT, _DecodeVarint) [all …]
|
D | encoder.py | 627 wire_format.WIRETYPE_VARINT, _EncodeSignedVarint, _SignedVarintSize) 630 wire_format.WIRETYPE_VARINT, _EncodeVarint, _VarintSize) 633 wire_format.WIRETYPE_VARINT, _EncodeVarint, _VarintSize, 666 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_VARINT) 676 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_VARINT) 790 TagBytes(2, wire_format.WIRETYPE_VARINT),
|
D | wire_format.py | 47 WIRETYPE_VARINT = 0 variable
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | Proto2ExtensionLookupSchemaTest.java | 87 WireFormat.makeTag(Proto2Message.FIELD_ENUM_13_FIELD_NUMBER, WireFormat.WIRETYPE_VARINT), in testUnknownEnum() 91 Proto2Message.FIELD_ENUM_LIST_30_FIELD_NUMBER, WireFormat.WIRETYPE_VARINT), in testUnknownEnum() 95 Proto2Message.FIELD_ENUM_LIST_30_FIELD_NUMBER, WireFormat.WIRETYPE_VARINT), in testUnknownEnum() 99 Proto2Message.FIELD_ENUM_LIST_30_FIELD_NUMBER, WireFormat.WIRETYPE_VARINT), in testUnknownEnum()
|
D | AbstractProto2LiteSchemaTest.java | 147 Proto2MessageLite.FIELD_ENUM_13_FIELD_NUMBER, WireFormat.WIRETYPE_VARINT), in unknownEnum() 151 Proto2MessageLite.FIELD_ENUM_LIST_30_FIELD_NUMBER, WireFormat.WIRETYPE_VARINT), in unknownEnum() 155 Proto2MessageLite.FIELD_ENUM_LIST_30_FIELD_NUMBER, WireFormat.WIRETYPE_VARINT), in unknownEnum() 159 Proto2MessageLite.FIELD_ENUM_LIST_30_FIELD_NUMBER, WireFormat.WIRETYPE_VARINT), in unknownEnum()
|
D | AbstractProto2SchemaTest.java | 141 WireFormat.makeTag(Proto2Message.FIELD_ENUM_13_FIELD_NUMBER, WireFormat.WIRETYPE_VARINT), in unknownEnum() 145 Proto2Message.FIELD_ENUM_LIST_30_FIELD_NUMBER, WireFormat.WIRETYPE_VARINT), in unknownEnum() 149 Proto2Message.FIELD_ENUM_LIST_30_FIELD_NUMBER, WireFormat.WIRETYPE_VARINT), in unknownEnum() 153 Proto2Message.FIELD_ENUM_LIST_30_FIELD_NUMBER, WireFormat.WIRETYPE_VARINT), in unknownEnum()
|
D | CodedInputStreamTest.java | 207 assertTrue(inputType.name(), input.skipField(WireFormat.WIRETYPE_VARINT)); in assertReadVarint() 1169 input.skipField(WireFormat.makeTag(1, WireFormat.WIRETYPE_VARINT)); in testSkipInvalidVarint_FastPath() 1183 input.skipField(WireFormat.makeTag(1, WireFormat.WIRETYPE_VARINT)); in testSkipInvalidVarint_SlowPath()
|
/third_party/protobuf/conformance/ |
D | binary_json_conformance_suite.cc | 212 return delim(cat(tag(1, WireFormatLite::WIRETYPE_VARINT), varint(1234))); in GetNonDefaultValue() 722 cat( tag(WireFormatLite::TYPE_INT32, WireFormatLite::WIRETYPE_VARINT), in TestPrematureEOFForType() 723 incompletes[WireFormatLite::WIRETYPE_VARINT] ); in TestPrematureEOFForType() 912 delim(cat(tag(1, WireFormatLite::WIRETYPE_VARINT), varint(1234), in TestValidDataForRepeatedScalarMessage() 913 tag(2, WireFormatLite::WIRETYPE_VARINT), varint(1234), in TestValidDataForRepeatedScalarMessage() 914 tag(31, WireFormatLite::WIRETYPE_VARINT), varint(1234))))), in TestValidDataForRepeatedScalarMessage() 917 delim(cat(tag(1, WireFormatLite::WIRETYPE_VARINT), varint(4321), in TestValidDataForRepeatedScalarMessage() 918 tag(3, WireFormatLite::WIRETYPE_VARINT), varint(4321), in TestValidDataForRepeatedScalarMessage() 919 tag(31, WireFormatLite::WIRETYPE_VARINT), varint(4321))))), in TestValidDataForRepeatedScalarMessage() 1072 string field1_data = cat(tag(1, WireFormatLite::WIRETYPE_VARINT), varint(1)); in TestOverwriteMessageValueMap() [all …]
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | unknown_fields.cc | 251 WireFormatLite::WireType wire_type = WireFormatLite::WIRETYPE_VARINT; in GetWireType() 254 wire_type = WireFormatLite::WIRETYPE_VARINT; in GetWireType()
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
D | GPBWire.php | 40 const WIRETYPE_VARINT = 0; define in Google\\Protobuf\\Internal\\GPBWire 81 return self::WIRETYPE_VARINT;
|