Searched refs:VARINT (Results 1 – 15 of 15) sorted by relevance
288 if (nextWireType != jspb.BinaryConstants.WireType.VARINT &&337 if (this.nextWireType_ != jspb.BinaryConstants.WireType.VARINT) {422 case jspb.BinaryConstants.WireType.VARINT:610 this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT);626 this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT);639 this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT);655 this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT);668 this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT);684 this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT);697 this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT);[all …]
368 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType.VARINT);381 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType.VARINT);394 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType.VARINT);407 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType.VARINT);420 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType.VARINT);433 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType.VARINT);447 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType.VARINT);460 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType.VARINT);516 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType.VARINT);572 this.writeFieldHeader_(field, jspb.BinaryConstants.WireType.VARINT);[all …]
221 VARINT: 0, property248 return wireTypes.VARINT;
813 var tag = field * 8 + jspb.BinaryConstants.WireType.VARINT;
26 skipField(bufferDecoder, WireType.VARINT, 1);35 expect(() => skipField(bufferDecoder, WireType.VARINT, 1)).toThrowError();126 expect(tagToWireType(0x00)).toBe(WireType.VARINT);134 expect(tagToWireType(0x08)).toBe(WireType.VARINT);142 expect(tagToWireType(0xF8)).toBe(WireType.VARINT);150 expect(tagToWireType(-8)).toBe(WireType.VARINT);170 expect(createTag(WireType.VARINT, 1)).toBe(0x08);177 expect(createTag(WireType.VARINT, 2)).toBe(0x10);184 expect(createTag(WireType.VARINT, 0x1FFFFFFF)).toBe(0xFFFFFFF8 >>> 0);216 expect(get32BitVarintLength(createTag(WireType.VARINT, 0x1fffffff)))
61 writer.writeTag(1, WireType.VARINT);64 writer.writeTag(0x0FFFFFFF, WireType.VARINT);68 writer.writeTag(0x10000000, WireType.VARINT);72 writer.writeTag(0x1FFFFFFF, WireType.VARINT);79 writer.writeTag(1, WireType.VARINT);87 expect(() => writer.writeTag(MAX_FIELD_NUMBER + 1, WireType.VARINT))94 writer.writeTag(MAX_FIELD_NUMBER + 1, WireType.VARINT);102 expect(() => writer.writeTag(-1, WireType.VARINT))109 writer.writeTag(-1, WireType.VARINT);151 BufferDecoder.fromArrayBuffer(expected), 1, WireType.VARINT, 1);
143 this.writeTag(fieldNumber, WireType.VARINT);244 this.writeTag(fieldNumber, WireType.VARINT);254 this.writeTag(fieldNumber, WireType.VARINT);334 this.writeTag(fieldNumber, WireType.VARINT);393 this.writeTag(fieldNumber, WireType.VARINT);418 this.writeTag(fieldNumber, WireType.VARINT);
88 Field.encodeIndexEntry(WireType.VARINT, /* startIndex= */ 1),89 Field.encodeIndexEntry(WireType.VARINT, /* startIndex= */ 3));97 Field.encodeIndexEntry(WireType.VARINT, /* startIndex= */ 2));114 Field.encodeIndexEntry(WireType.VARINT, /* startIndex= */ 1));
8 VARINT: 0, property
557 readOptional(indexArray, bytes, reader.readBool, WireType.VARINT));644 readOptional(indexArray, bytes, reader.readInt32, WireType.VARINT));659 readOptional(indexArray, bytes, reader.readInt64, WireType.VARINT));704 indexArray, bytes, reader.readSint32, WireType.VARINT));719 indexArray, bytes, reader.readSint64, WireType.VARINT));748 indexArray, bytes, reader.readUint32, WireType.VARINT));958 WireType.VARINT));1193 WireType.VARINT));1244 WireType.VARINT));1397 WireType.VARINT));[all …]
80 case WireType.VARINT:
126 TYPE_TRAITS(INT64, int64, VARINT, false, false)127 TYPE_TRAITS(UINT64, uint64, VARINT, false, false)128 TYPE_TRAITS(INT32, int32, VARINT, false, false)129 TYPE_TRAITS(UINT32, uint32, VARINT, false, false)130 TYPE_TRAITS(SINT64, int64, VARINT, false, false)131 TYPE_TRAITS(SINT32, int32, VARINT, false, false)132 TYPE_TRAITS(ENUM, int, VARINT, false, true)139 TYPE_TRAITS(BOOL, bool, VARINT, false, false)
37 const VARINT = 0; define in Google\\Protobuf\\Internal\\GPBWireType
313 case GPBWireType::VARINT:
316 if (wireType < WireType.VARINT || wireType > WireType.FIXED32) {