/third_party/protobuf/js/experimental/runtime/kernel/ |
D | tag.js | 33 function createTag(wireType, fieldNumber) { argument 34 return (fieldNumber << 3 | wireType) >>> 0; 48 function getTagLength(bufferDecoder, start, wireType, fieldNumber) { argument 50 skipField(bufferDecoder, wireType, fieldNumber); 78 function skipField(bufferDecoder, wireType, fieldNumber) { argument 79 switch (wireType) { 102 throw new Error(`Unexpected wire type: ${wireType}`); 122 const wireType = tagToWireType(tag); 125 if (wireType === WireType.END_GROUP) { 131 skipField(bufferDecoder, wireType, fieldNumber);
|
D | indexer.js | 21 function addIndexEntry(storage, fieldNumber, wireType, startIndex) { argument 24 field.addIndexEntry(wireType, startIndex); 26 storage.set(fieldNumber, Field.fromFirstIndexEntry(wireType, startIndex)); 43 const wireType = tagToWireType(tag); 46 addIndexEntry(storage, fieldNumber, wireType, bufferDecoder.cursor()); 47 skipField(bufferDecoder, wireType, fieldNumber);
|
D | field.js | 44 static fromFirstIndexEntry(wireType, startIndex) { argument 45 return new Field([Field.encodeIndexEntry(wireType, startIndex)]); 64 static encodeIndexEntry(wireType, startIndex) { argument 65 return startIndex << WIRE_TYPE_LENGTH_BITS | wireType; 109 addIndexEntry(wireType, startIndex) { argument 111 .push(Field.encodeIndexEntry(wireType, startIndex));
|
D | writer.js | 93 writeTag(fieldNumber, wireType) { argument 95 checkWireType(wireType); 96 const tag = createTag(wireType, fieldNumber); 453 writeBufferDecoder(bufferDecoder, start, wireType, fieldNumber) { argument 456 getTagLength(bufferDecoder, start, wireType, fieldNumber);
|
D | kernel.js | 38 const wireType = Field.getWireType(indexEntry); 40 wireType === expected, 41 `Expected wire type: ${expected} but found: ${wireType}`); 78 function readOptional(indexArray, bufferDecoder, readFunc, wireType) { argument 82 validateWireType(indexEntry, wireType); 111 const wireType = Field.getWireType(indexEntry); 113 if (wireType === WireType.DELIMITED) {
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | WireFormat.java | 76 static int makeTag(final int fieldNumber, final int wireType) { in makeTag() argument 77 return (fieldNumber << TAG_TYPE_BITS) | wireType; in makeTag() 151 FieldType(final JavaType javaType, final int wireType) { in FieldType() argument 153 this.wireType = wireType; in FieldType() 157 private final int wireType; field in WireFormat.FieldType 164 return wireType; in getWireType()
|
D | MessageSchema.java | 4444 final int wireType = tag & 0x7; in decodeMapEntry() local 4447 if (wireType == metadata.keyType.getWireType()) { in decodeMapEntry() 4455 if (wireType == metadata.valueType.getWireType()) { in decodeMapEntry() 4488 int wireType, in parseRepeatedField() argument 4506 if (wireType == WireFormat.WIRETYPE_LENGTH_DELIMITED) { in parseRepeatedField() 4508 } else if (wireType == WireFormat.WIRETYPE_FIXED64) { in parseRepeatedField() 4514 if (wireType == WireFormat.WIRETYPE_LENGTH_DELIMITED) { in parseRepeatedField() 4516 } else if (wireType == WireFormat.WIRETYPE_FIXED32) { in parseRepeatedField() 4524 if (wireType == WireFormat.WIRETYPE_LENGTH_DELIMITED) { in parseRepeatedField() 4526 } else if (wireType == WireFormat.WIRETYPE_VARINT) { in parseRepeatedField() [all …]
|
D | CodedOutputStream.java | 230 public abstract void writeTag(int fieldNumber, int wireType) throws IOException; in writeTag() argument 1173 public final void writeTag(final int fieldNumber, final int wireType) throws IOException { in writeTag() argument 1174 writeUInt32NoTag(WireFormat.makeTag(fieldNumber, wireType)); in writeTag() 1566 public void writeTag(final int fieldNumber, final int wireType) throws IOException { in writeTag() argument 1567 writeUInt32NoTag(WireFormat.makeTag(fieldNumber, wireType)); in writeTag() 1900 public void writeTag(int fieldNumber, int wireType) throws IOException { in writeTag() argument 1901 writeUInt32NoTag(WireFormat.makeTag(fieldNumber, wireType)); in writeTag() 2277 final void bufferTag(final int fieldNumber, final int wireType) { in bufferTag() argument 2278 bufferUInt32NoTag(WireFormat.makeTag(fieldNumber, wireType)); in bufferTag() 2406 public void writeTag(final int fieldNumber, final int wireType) throws IOException { in writeTag() argument [all …]
|
D | MessageSetSchema.java | 177 final int wireType = WireFormat.getTagWireType(tag); in mergeFrom() local 180 if (wireType == WireFormat.WIRETYPE_VARINT) { in mergeFrom() 198 if (wireType == WireFormat.WIRETYPE_LENGTH_DELIMITED) { in mergeFrom()
|
D | GeneratedMessageLite.java | 549 int wireType = WireFormat.getTagWireType(tag); in parseExtension() local 554 } else if (wireType in parseExtension() 560 && wireType in parseExtension() 669 int wireType = WireFormat.getTagWireType(tag); in parseUnknownFieldAsMessageSet() local 670 if (wireType == WireFormat.WIRETYPE_LENGTH_DELIMITED) { in parseUnknownFieldAsMessageSet()
|
D | MessageReflection.java | 738 final int wireType = WireFormat.getTagWireType(tag); in mergeFieldFrom() local 777 } else if (wireType in mergeFieldFrom() 781 && wireType in mergeFieldFrom()
|
D | BinaryWriter.java | 864 abstract void writeTag(int fieldNumber, int wireType); in writeTag() argument 1132 void writeTag(int fieldNumber, int wireType) { in writeTag() argument 1133 writeVarint32(WireFormat.makeTag(fieldNumber, wireType)); in writeTag() 1669 void writeTag(int fieldNumber, int wireType) { in writeTag() argument 1670 writeVarint32(WireFormat.makeTag(fieldNumber, wireType)); in writeTag() 2200 void writeTag(int fieldNumber, int wireType) { in writeTag() argument 2201 writeVarint32(WireFormat.makeTag(fieldNumber, wireType)); in writeTag() 2757 void writeTag(int fieldNumber, int wireType) { in writeTag() argument 2758 writeVarint32(WireFormat.makeTag(fieldNumber, wireType)); in writeTag()
|
D | TextFormat.java | 776 final int number, final int wireType, final List<?> values, final TextGenerator generator) in printUnknownField() argument 781 printUnknownFieldValue(wireType, value, generator); in printUnknownField()
|
/third_party/protobuf/js/experimental/runtime/internal/ |
D | checks.js | 300 function checkWireType(wireType) { argument 304 checkCriticalWireType(wireType); 312 function checkCriticalWireType(wireType) { argument 316 if (wireType < WireType.VARINT || wireType > WireType.FIXED32) { 317 throw new Error(`Invalid wire type: ${wireType}`);
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | WireFormat.cs | 99 public static uint MakeTag(int fieldNumber, WireType wireType) in MakeTag() argument 101 return (uint) (fieldNumber << TagTypeBits) | (uint) wireType; in MakeTag()
|
/third_party/protobuf/objectivec/ |
D | GPBWireFormat.m | 40 uint32_t GPBWireFormatMakeTag(uint32_t fieldNumber, GPBWireFormat wireType) { 41 return (fieldNumber << GPBWireFormatTagTypeBits) | wireType;
|
D | GPBWireFormat.h | 52 uint32_t GPBWireFormatMakeTag(uint32_t fieldNumber, GPBWireFormat wireType)
|
D | GPBDescriptor_PackagePrivate.h | 286 @property(nonatomic, readonly) GPBWireFormat wireType;
|
D | GPBMessage.m | 2097 GPBWireFormat wireType = GPBWireFormatGetTagWireType(tag); 2110 if (extension.wireType == wireType) { 2122 (extension.alternateWireType == wireType)) {
|
D | GPBDescriptor.m | 1064 - (GPBWireFormat)wireType { method
|
/third_party/protobuf/js/binary/ |
D | writer.js | 277 function(field, wireType) { argument 279 var x = field * 8 + wireType;
|